These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.alertsmanagement.getActionRuleByName
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Get a specific action rule API Version: 2019-05-05-preview.
Using getActionRuleByName
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getActionRuleByName(args: GetActionRuleByNameArgs, opts?: InvokeOptions): Promise<GetActionRuleByNameResult>
function getActionRuleByNameOutput(args: GetActionRuleByNameOutputArgs, opts?: InvokeOptions): Output<GetActionRuleByNameResult>def get_action_rule_by_name(action_rule_name: Optional[str] = None,
                            resource_group_name: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetActionRuleByNameResult
def get_action_rule_by_name_output(action_rule_name: Optional[pulumi.Input[str]] = None,
                            resource_group_name: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetActionRuleByNameResult]func LookupActionRuleByName(ctx *Context, args *LookupActionRuleByNameArgs, opts ...InvokeOption) (*LookupActionRuleByNameResult, error)
func LookupActionRuleByNameOutput(ctx *Context, args *LookupActionRuleByNameOutputArgs, opts ...InvokeOption) LookupActionRuleByNameResultOutput> Note: This function is named LookupActionRuleByName in the Go SDK.
public static class GetActionRuleByName 
{
    public static Task<GetActionRuleByNameResult> InvokeAsync(GetActionRuleByNameArgs args, InvokeOptions? opts = null)
    public static Output<GetActionRuleByNameResult> Invoke(GetActionRuleByNameInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetActionRuleByNameResult> getActionRuleByName(GetActionRuleByNameArgs args, InvokeOptions options)
public static Output<GetActionRuleByNameResult> getActionRuleByName(GetActionRuleByNameArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:alertsmanagement:getActionRuleByName
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ActionRule stringName 
- The name of action rule that needs to be fetched
- ResourceGroup stringName 
- Resource group name where the resource is created.
- ActionRule stringName 
- The name of action rule that needs to be fetched
- ResourceGroup stringName 
- Resource group name where the resource is created.
- actionRule StringName 
- The name of action rule that needs to be fetched
- resourceGroup StringName 
- Resource group name where the resource is created.
- actionRule stringName 
- The name of action rule that needs to be fetched
- resourceGroup stringName 
- Resource group name where the resource is created.
- action_rule_ strname 
- The name of action rule that needs to be fetched
- resource_group_ strname 
- Resource group name where the resource is created.
- actionRule StringName 
- The name of action rule that needs to be fetched
- resourceGroup StringName 
- Resource group name where the resource is created.
getActionRuleByName Result
The following output properties are available:
- Id string
- Azure resource Id
- Location string
- Resource location
- Name string
- Azure resource name
- Properties
Pulumi.Azure | Pulumi.Native. Alerts Management. Outputs. Action Group Response Azure | Pulumi.Native. Alerts Management. Outputs. Diagnostics Response Azure Native. Alerts Management. Outputs. Suppression Response 
- action rule properties
- Type string
- Azure resource type
- Dictionary<string, string>
- Resource tags
- Id string
- Azure resource Id
- Location string
- Resource location
- Name string
- Azure resource name
- Properties
ActionGroup | DiagnosticsResponse Response | SuppressionResponse 
- action rule properties
- Type string
- Azure resource type
- map[string]string
- Resource tags
- id String
- Azure resource Id
- location String
- Resource location
- name String
- Azure resource name
- properties
ActionGroup | DiagnosticsResponse Response | SuppressionResponse 
- action rule properties
- type String
- Azure resource type
- Map<String,String>
- Resource tags
- id string
- Azure resource Id
- location string
- Resource location
- name string
- Azure resource name
- properties
ActionGroup | DiagnosticsResponse Response | SuppressionResponse 
- action rule properties
- type string
- Azure resource type
- {[key: string]: string}
- Resource tags
- id str
- Azure resource Id
- location str
- Resource location
- name str
- Azure resource name
- properties
ActionGroup | DiagnosticsResponse Response | SuppressionResponse 
- action rule properties
- type str
- Azure resource type
- Mapping[str, str]
- Resource tags
- id String
- Azure resource Id
- location String
- Resource location
- name String
- Azure resource name
- properties Property Map | Property Map | Property Map
- action rule properties
- type String
- Azure resource type
- Map<String>
- Resource tags
Supporting Types
ActionGroupResponse  
- ActionGroup stringId 
- Action group to trigger if action rule matches
- CreatedAt string
- Creation time of action rule. Date-Time in ISO-8601 format.
- CreatedBy string
- Created by user name.
- LastModified stringAt 
- Last updated time of action rule. Date-Time in ISO-8601 format.
- LastModified stringBy 
- Last modified by user name.
- Conditions
Pulumi.Azure Native. Alerts Management. Inputs. Conditions Response 
- conditions on which alerts will be filtered
- Description string
- Description of action rule
- Scope
Pulumi.Azure Native. Alerts Management. Inputs. Scope Response 
- scope on which action rule will apply
- Status string
- Indicates if the given action rule is enabled or disabled
- ActionGroup stringId 
- Action group to trigger if action rule matches
- CreatedAt string
- Creation time of action rule. Date-Time in ISO-8601 format.
- CreatedBy string
- Created by user name.
- LastModified stringAt 
- Last updated time of action rule. Date-Time in ISO-8601 format.
- LastModified stringBy 
- Last modified by user name.
- Conditions
ConditionsResponse 
- conditions on which alerts will be filtered
- Description string
- Description of action rule
- Scope
ScopeResponse 
- scope on which action rule will apply
- Status string
- Indicates if the given action rule is enabled or disabled
- actionGroup StringId 
- Action group to trigger if action rule matches
- createdAt String
- Creation time of action rule. Date-Time in ISO-8601 format.
- createdBy String
- Created by user name.
- lastModified StringAt 
- Last updated time of action rule. Date-Time in ISO-8601 format.
- lastModified StringBy 
- Last modified by user name.
- conditions
ConditionsResponse 
- conditions on which alerts will be filtered
- description String
- Description of action rule
- scope
ScopeResponse 
- scope on which action rule will apply
- status String
- Indicates if the given action rule is enabled or disabled
- actionGroup stringId 
- Action group to trigger if action rule matches
- createdAt string
- Creation time of action rule. Date-Time in ISO-8601 format.
- createdBy string
- Created by user name.
- lastModified stringAt 
- Last updated time of action rule. Date-Time in ISO-8601 format.
- lastModified stringBy 
- Last modified by user name.
- conditions
ConditionsResponse 
- conditions on which alerts will be filtered
- description string
- Description of action rule
- scope
ScopeResponse 
- scope on which action rule will apply
- status string
- Indicates if the given action rule is enabled or disabled
- action_group_ strid 
- Action group to trigger if action rule matches
- created_at str
- Creation time of action rule. Date-Time in ISO-8601 format.
- created_by str
- Created by user name.
- last_modified_ strat 
- Last updated time of action rule. Date-Time in ISO-8601 format.
- last_modified_ strby 
- Last modified by user name.
- conditions
ConditionsResponse 
- conditions on which alerts will be filtered
- description str
- Description of action rule
- scope
ScopeResponse 
- scope on which action rule will apply
- status str
- Indicates if the given action rule is enabled or disabled
- actionGroup StringId 
- Action group to trigger if action rule matches
- createdAt String
- Creation time of action rule. Date-Time in ISO-8601 format.
- createdBy String
- Created by user name.
- lastModified StringAt 
- Last updated time of action rule. Date-Time in ISO-8601 format.
- lastModified StringBy 
- Last modified by user name.
- conditions Property Map
- conditions on which alerts will be filtered
- description String
- Description of action rule
- scope Property Map
- scope on which action rule will apply
- status String
- Indicates if the given action rule is enabled or disabled
ConditionResponse 
ConditionsResponse 
- AlertContext Pulumi.Azure Native. Alerts Management. Inputs. Condition Response 
- filter alerts by alert context (payload)
- AlertRule Pulumi.Id Azure Native. Alerts Management. Inputs. Condition Response 
- filter alerts by alert rule id
- AlertRule Pulumi.Name Azure Native. Alerts Management. Inputs. Condition Response 
- filter alerts by alert rule name
- Description
Pulumi.Azure Native. Alerts Management. Inputs. Condition Response 
- filter alerts by alert rule description
- MonitorCondition Pulumi.Azure Native. Alerts Management. Inputs. Condition Response 
- filter alerts by monitor condition
- MonitorService Pulumi.Azure Native. Alerts Management. Inputs. Condition Response 
- filter alerts by monitor service
- Severity
Pulumi.Azure Native. Alerts Management. Inputs. Condition Response 
- filter alerts by severity
- TargetResource Pulumi.Type Azure Native. Alerts Management. Inputs. Condition Response 
- filter alerts by target resource type
- AlertContext ConditionResponse 
- filter alerts by alert context (payload)
- AlertRule ConditionId Response 
- filter alerts by alert rule id
- AlertRule ConditionName Response 
- filter alerts by alert rule name
- Description
ConditionResponse 
- filter alerts by alert rule description
- MonitorCondition ConditionResponse 
- filter alerts by monitor condition
- MonitorService ConditionResponse 
- filter alerts by monitor service
- Severity
ConditionResponse 
- filter alerts by severity
- TargetResource ConditionType Response 
- filter alerts by target resource type
- alertContext ConditionResponse 
- filter alerts by alert context (payload)
- alertRule ConditionId Response 
- filter alerts by alert rule id
- alertRule ConditionName Response 
- filter alerts by alert rule name
- description
ConditionResponse 
- filter alerts by alert rule description
- monitorCondition ConditionResponse 
- filter alerts by monitor condition
- monitorService ConditionResponse 
- filter alerts by monitor service
- severity
ConditionResponse 
- filter alerts by severity
- targetResource ConditionType Response 
- filter alerts by target resource type
- alertContext ConditionResponse 
- filter alerts by alert context (payload)
- alertRule ConditionId Response 
- filter alerts by alert rule id
- alertRule ConditionName Response 
- filter alerts by alert rule name
- description
ConditionResponse 
- filter alerts by alert rule description
- monitorCondition ConditionResponse 
- filter alerts by monitor condition
- monitorService ConditionResponse 
- filter alerts by monitor service
- severity
ConditionResponse 
- filter alerts by severity
- targetResource ConditionType Response 
- filter alerts by target resource type
- alert_context ConditionResponse 
- filter alerts by alert context (payload)
- alert_rule_ Conditionid Response 
- filter alerts by alert rule id
- alert_rule_ Conditionname Response 
- filter alerts by alert rule name
- description
ConditionResponse 
- filter alerts by alert rule description
- monitor_condition ConditionResponse 
- filter alerts by monitor condition
- monitor_service ConditionResponse 
- filter alerts by monitor service
- severity
ConditionResponse 
- filter alerts by severity
- target_resource_ Conditiontype Response 
- filter alerts by target resource type
- alertContext Property Map
- filter alerts by alert context (payload)
- alertRule Property MapId 
- filter alerts by alert rule id
- alertRule Property MapName 
- filter alerts by alert rule name
- description Property Map
- filter alerts by alert rule description
- monitorCondition Property Map
- filter alerts by monitor condition
- monitorService Property Map
- filter alerts by monitor service
- severity Property Map
- filter alerts by severity
- targetResource Property MapType 
- filter alerts by target resource type
DiagnosticsResponse 
- CreatedAt string
- Creation time of action rule. Date-Time in ISO-8601 format.
- CreatedBy string
- Created by user name.
- LastModified stringAt 
- Last updated time of action rule. Date-Time in ISO-8601 format.
- LastModified stringBy 
- Last modified by user name.
- Conditions
Pulumi.Azure Native. Alerts Management. Inputs. Conditions Response 
- conditions on which alerts will be filtered
- Description string
- Description of action rule
- Scope
Pulumi.Azure Native. Alerts Management. Inputs. Scope Response 
- scope on which action rule will apply
- Status string
- Indicates if the given action rule is enabled or disabled
- CreatedAt string
- Creation time of action rule. Date-Time in ISO-8601 format.
- CreatedBy string
- Created by user name.
- LastModified stringAt 
- Last updated time of action rule. Date-Time in ISO-8601 format.
- LastModified stringBy 
- Last modified by user name.
- Conditions
ConditionsResponse 
- conditions on which alerts will be filtered
- Description string
- Description of action rule
- Scope
ScopeResponse 
- scope on which action rule will apply
- Status string
- Indicates if the given action rule is enabled or disabled
- createdAt String
- Creation time of action rule. Date-Time in ISO-8601 format.
- createdBy String
- Created by user name.
- lastModified StringAt 
- Last updated time of action rule. Date-Time in ISO-8601 format.
- lastModified StringBy 
- Last modified by user name.
- conditions
ConditionsResponse 
- conditions on which alerts will be filtered
- description String
- Description of action rule
- scope
ScopeResponse 
- scope on which action rule will apply
- status String
- Indicates if the given action rule is enabled or disabled
- createdAt string
- Creation time of action rule. Date-Time in ISO-8601 format.
- createdBy string
- Created by user name.
- lastModified stringAt 
- Last updated time of action rule. Date-Time in ISO-8601 format.
- lastModified stringBy 
- Last modified by user name.
- conditions
ConditionsResponse 
- conditions on which alerts will be filtered
- description string
- Description of action rule
- scope
ScopeResponse 
- scope on which action rule will apply
- status string
- Indicates if the given action rule is enabled or disabled
- created_at str
- Creation time of action rule. Date-Time in ISO-8601 format.
- created_by str
- Created by user name.
- last_modified_ strat 
- Last updated time of action rule. Date-Time in ISO-8601 format.
- last_modified_ strby 
- Last modified by user name.
- conditions
ConditionsResponse 
- conditions on which alerts will be filtered
- description str
- Description of action rule
- scope
ScopeResponse 
- scope on which action rule will apply
- status str
- Indicates if the given action rule is enabled or disabled
- createdAt String
- Creation time of action rule. Date-Time in ISO-8601 format.
- createdBy String
- Created by user name.
- lastModified StringAt 
- Last updated time of action rule. Date-Time in ISO-8601 format.
- lastModified StringBy 
- Last modified by user name.
- conditions Property Map
- conditions on which alerts will be filtered
- description String
- Description of action rule
- scope Property Map
- scope on which action rule will apply
- status String
- Indicates if the given action rule is enabled or disabled
ScopeResponse 
- scope_type str
- type of target scope
- values Sequence[str]
- list of ARM IDs of the given scope type which will be the target of the given action rule.
SuppressionConfigResponse  
- RecurrenceType string
- Specifies when the suppression should be applied
- Schedule
Pulumi.Azure Native. Alerts Management. Inputs. Suppression Schedule Response 
- suppression schedule configuration
- RecurrenceType string
- Specifies when the suppression should be applied
- Schedule
SuppressionSchedule Response 
- suppression schedule configuration
- recurrenceType String
- Specifies when the suppression should be applied
- schedule
SuppressionSchedule Response 
- suppression schedule configuration
- recurrenceType string
- Specifies when the suppression should be applied
- schedule
SuppressionSchedule Response 
- suppression schedule configuration
- recurrence_type str
- Specifies when the suppression should be applied
- schedule
SuppressionSchedule Response 
- suppression schedule configuration
- recurrenceType String
- Specifies when the suppression should be applied
- schedule Property Map
- suppression schedule configuration
SuppressionResponse 
- CreatedAt string
- Creation time of action rule. Date-Time in ISO-8601 format.
- CreatedBy string
- Created by user name.
- LastModified stringAt 
- Last updated time of action rule. Date-Time in ISO-8601 format.
- LastModified stringBy 
- Last modified by user name.
- SuppressionConfig Pulumi.Azure Native. Alerts Management. Inputs. Suppression Config Response 
- suppression configuration for the action rule
- Conditions
Pulumi.Azure Native. Alerts Management. Inputs. Conditions Response 
- conditions on which alerts will be filtered
- Description string
- Description of action rule
- Scope
Pulumi.Azure Native. Alerts Management. Inputs. Scope Response 
- scope on which action rule will apply
- Status string
- Indicates if the given action rule is enabled or disabled
- CreatedAt string
- Creation time of action rule. Date-Time in ISO-8601 format.
- CreatedBy string
- Created by user name.
- LastModified stringAt 
- Last updated time of action rule. Date-Time in ISO-8601 format.
- LastModified stringBy 
- Last modified by user name.
- SuppressionConfig SuppressionConfig Response 
- suppression configuration for the action rule
- Conditions
ConditionsResponse 
- conditions on which alerts will be filtered
- Description string
- Description of action rule
- Scope
ScopeResponse 
- scope on which action rule will apply
- Status string
- Indicates if the given action rule is enabled or disabled
- createdAt String
- Creation time of action rule. Date-Time in ISO-8601 format.
- createdBy String
- Created by user name.
- lastModified StringAt 
- Last updated time of action rule. Date-Time in ISO-8601 format.
- lastModified StringBy 
- Last modified by user name.
- suppressionConfig SuppressionConfig Response 
- suppression configuration for the action rule
- conditions
ConditionsResponse 
- conditions on which alerts will be filtered
- description String
- Description of action rule
- scope
ScopeResponse 
- scope on which action rule will apply
- status String
- Indicates if the given action rule is enabled or disabled
- createdAt string
- Creation time of action rule. Date-Time in ISO-8601 format.
- createdBy string
- Created by user name.
- lastModified stringAt 
- Last updated time of action rule. Date-Time in ISO-8601 format.
- lastModified stringBy 
- Last modified by user name.
- suppressionConfig SuppressionConfig Response 
- suppression configuration for the action rule
- conditions
ConditionsResponse 
- conditions on which alerts will be filtered
- description string
- Description of action rule
- scope
ScopeResponse 
- scope on which action rule will apply
- status string
- Indicates if the given action rule is enabled or disabled
- created_at str
- Creation time of action rule. Date-Time in ISO-8601 format.
- created_by str
- Created by user name.
- last_modified_ strat 
- Last updated time of action rule. Date-Time in ISO-8601 format.
- last_modified_ strby 
- Last modified by user name.
- suppression_config SuppressionConfig Response 
- suppression configuration for the action rule
- conditions
ConditionsResponse 
- conditions on which alerts will be filtered
- description str
- Description of action rule
- scope
ScopeResponse 
- scope on which action rule will apply
- status str
- Indicates if the given action rule is enabled or disabled
- createdAt String
- Creation time of action rule. Date-Time in ISO-8601 format.
- createdBy String
- Created by user name.
- lastModified StringAt 
- Last updated time of action rule. Date-Time in ISO-8601 format.
- lastModified StringBy 
- Last modified by user name.
- suppressionConfig Property Map
- suppression configuration for the action rule
- conditions Property Map
- conditions on which alerts will be filtered
- description String
- Description of action rule
- scope Property Map
- scope on which action rule will apply
- status String
- Indicates if the given action rule is enabled or disabled
SuppressionScheduleResponse  
- EndDate string
- End date for suppression
- EndTime string
- End date for suppression
- RecurrenceValues List<int>
- Specifies the values for recurrence pattern
- StartDate string
- Start date for suppression
- StartTime string
- Start time for suppression
- EndDate string
- End date for suppression
- EndTime string
- End date for suppression
- RecurrenceValues []int
- Specifies the values for recurrence pattern
- StartDate string
- Start date for suppression
- StartTime string
- Start time for suppression
- endDate String
- End date for suppression
- endTime String
- End date for suppression
- recurrenceValues List<Integer>
- Specifies the values for recurrence pattern
- startDate String
- Start date for suppression
- startTime String
- Start time for suppression
- endDate string
- End date for suppression
- endTime string
- End date for suppression
- recurrenceValues number[]
- Specifies the values for recurrence pattern
- startDate string
- Start date for suppression
- startTime string
- Start time for suppression
- end_date str
- End date for suppression
- end_time str
- End date for suppression
- recurrence_values Sequence[int]
- Specifies the values for recurrence pattern
- start_date str
- Start date for suppression
- start_time str
- Start time for suppression
- endDate String
- End date for suppression
- endTime String
- End date for suppression
- recurrenceValues List<Number>
- Specifies the values for recurrence pattern
- startDate String
- Start date for suppression
- startTime String
- Start time for suppression
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi