azure-native.alertsmanagement.getActionRuleByName
Explore with Pulumi AI
Get a specific action rule Azure REST API version: 2019-05-05-preview.
Other available API versions: 2018-11-02-privatepreview.
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:alertsmanagement:getActionRuleByName
arguments:
# arguments dictionary
The following arguments are supported:
- Action
Rule stringName The name of action rule that needs to be fetched
- Resource
Group stringName Resource group name where the resource is created.
- Action
Rule stringName The name of action rule that needs to be fetched
- Resource
Group stringName Resource group name where the resource is created.
- action
Rule StringName The name of action rule that needs to be fetched
- resource
Group StringName Resource group name where the resource is created.
- action
Rule stringName The name of action rule that needs to be fetched
- resource
Group 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.
- action
Rule StringName The name of action rule that needs to be fetched
- resource
Group 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
Action
Group | 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
Action
Group | 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
Action
Group | 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
Action
Group | 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
- Action
Group stringId Action group to trigger if action rule matches
- Created
At string Creation time of action rule. Date-Time in ISO-8601 format.
- Created
By string Created by user name.
- Last
Modified stringAt Last updated time of action rule. Date-Time in ISO-8601 format.
- Last
Modified 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
- Action
Group stringId Action group to trigger if action rule matches
- Created
At string Creation time of action rule. Date-Time in ISO-8601 format.
- Created
By string Created by user name.
- Last
Modified stringAt Last updated time of action rule. Date-Time in ISO-8601 format.
- Last
Modified stringBy Last modified by user name.
- Conditions
Conditions
Response conditions on which alerts will be filtered
- Description string
Description of action rule
- Scope
Scope
Response scope on which action rule will apply
- Status string
Indicates if the given action rule is enabled or disabled
- action
Group StringId Action group to trigger if action rule matches
- created
At String Creation time of action rule. Date-Time in ISO-8601 format.
- created
By String Created by user name.
- last
Modified StringAt Last updated time of action rule. Date-Time in ISO-8601 format.
- last
Modified StringBy Last modified by user name.
- conditions
Conditions
Response conditions on which alerts will be filtered
- description String
Description of action rule
- scope
Scope
Response scope on which action rule will apply
- status String
Indicates if the given action rule is enabled or disabled
- action
Group stringId Action group to trigger if action rule matches
- created
At string Creation time of action rule. Date-Time in ISO-8601 format.
- created
By string Created by user name.
- last
Modified stringAt Last updated time of action rule. Date-Time in ISO-8601 format.
- last
Modified stringBy Last modified by user name.
- conditions
Conditions
Response conditions on which alerts will be filtered
- description string
Description of action rule
- scope
Scope
Response 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
Conditions
Response conditions on which alerts will be filtered
- description str
Description of action rule
- scope
Scope
Response scope on which action rule will apply
- status str
Indicates if the given action rule is enabled or disabled
- action
Group StringId Action group to trigger if action rule matches
- created
At String Creation time of action rule. Date-Time in ISO-8601 format.
- created
By String Created by user name.
- last
Modified StringAt Last updated time of action rule. Date-Time in ISO-8601 format.
- last
Modified 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
- Alert
Context Pulumi.Azure Native. Alerts Management. Inputs. Condition Response filter alerts by alert context (payload)
- Alert
Rule Pulumi.Id Azure Native. Alerts Management. Inputs. Condition Response filter alerts by alert rule id
- Alert
Rule 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
- Monitor
Condition Pulumi.Azure Native. Alerts Management. Inputs. Condition Response filter alerts by monitor condition
- Monitor
Service 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
- Target
Resource Pulumi.Type Azure Native. Alerts Management. Inputs. Condition 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
Condition
Response filter alerts by alert rule description
- Monitor
Condition ConditionResponse filter alerts by monitor condition
- Monitor
Service ConditionResponse filter alerts by monitor service
- Severity
Condition
Response filter alerts by severity
- Target
Resource 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
Condition
Response filter alerts by alert rule description
- monitor
Condition ConditionResponse filter alerts by monitor condition
- monitor
Service ConditionResponse filter alerts by monitor service
- severity
Condition
Response filter alerts by severity
- target
Resource 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
Condition
Response filter alerts by alert rule description
- monitor
Condition ConditionResponse filter alerts by monitor condition
- monitor
Service ConditionResponse filter alerts by monitor service
- severity
Condition
Response filter alerts by severity
- target
Resource 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
Condition
Response filter alerts by alert rule description
- monitor_
condition ConditionResponse filter alerts by monitor condition
- monitor_
service ConditionResponse filter alerts by monitor service
- severity
Condition
Response filter alerts by severity
- target_
resource_ Conditiontype Response filter alerts by target resource type
- alert
Context Property Map filter alerts by alert context (payload)
- alert
Rule Property MapId filter alerts by alert rule id
- alert
Rule Property MapName filter alerts by alert rule name
- description Property Map
filter alerts by alert rule description
- monitor
Condition Property Map filter alerts by monitor condition
- monitor
Service Property Map filter alerts by monitor service
- severity Property Map
filter alerts by severity
- target
Resource Property MapType filter alerts by target resource type
DiagnosticsResponse
- Created
At string Creation time of action rule. Date-Time in ISO-8601 format.
- Created
By string Created by user name.
- Last
Modified stringAt Last updated time of action rule. Date-Time in ISO-8601 format.
- Last
Modified 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
- Created
At string Creation time of action rule. Date-Time in ISO-8601 format.
- Created
By string Created by user name.
- Last
Modified stringAt Last updated time of action rule. Date-Time in ISO-8601 format.
- Last
Modified stringBy Last modified by user name.
- Conditions
Conditions
Response conditions on which alerts will be filtered
- Description string
Description of action rule
- Scope
Scope
Response scope on which action rule will apply
- Status string
Indicates if the given action rule is enabled or disabled
- created
At String Creation time of action rule. Date-Time in ISO-8601 format.
- created
By String Created by user name.
- last
Modified StringAt Last updated time of action rule. Date-Time in ISO-8601 format.
- last
Modified StringBy Last modified by user name.
- conditions
Conditions
Response conditions on which alerts will be filtered
- description String
Description of action rule
- scope
Scope
Response scope on which action rule will apply
- status String
Indicates if the given action rule is enabled or disabled
- created
At string Creation time of action rule. Date-Time in ISO-8601 format.
- created
By string Created by user name.
- last
Modified stringAt Last updated time of action rule. Date-Time in ISO-8601 format.
- last
Modified stringBy Last modified by user name.
- conditions
Conditions
Response conditions on which alerts will be filtered
- description string
Description of action rule
- scope
Scope
Response 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
Conditions
Response conditions on which alerts will be filtered
- description str
Description of action rule
- scope
Scope
Response scope on which action rule will apply
- status str
Indicates if the given action rule is enabled or disabled
- created
At String Creation time of action rule. Date-Time in ISO-8601 format.
- created
By String Created by user name.
- last
Modified StringAt Last updated time of action rule. Date-Time in ISO-8601 format.
- last
Modified 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
- Recurrence
Type string Specifies when the suppression should be applied
- Schedule
Pulumi.
Azure Native. Alerts Management. Inputs. Suppression Schedule Response suppression schedule configuration
- Recurrence
Type string Specifies when the suppression should be applied
- Schedule
Suppression
Schedule Response suppression schedule configuration
- recurrence
Type String Specifies when the suppression should be applied
- schedule
Suppression
Schedule Response suppression schedule configuration
- recurrence
Type string Specifies when the suppression should be applied
- schedule
Suppression
Schedule Response suppression schedule configuration
- recurrence_
type str Specifies when the suppression should be applied
- schedule
Suppression
Schedule Response suppression schedule configuration
- recurrence
Type String Specifies when the suppression should be applied
- schedule Property Map
suppression schedule configuration
SuppressionResponse
- Created
At string Creation time of action rule. Date-Time in ISO-8601 format.
- Created
By string Created by user name.
- Last
Modified stringAt Last updated time of action rule. Date-Time in ISO-8601 format.
- Last
Modified stringBy Last modified by user name.
- Suppression
Config 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
- Created
At string Creation time of action rule. Date-Time in ISO-8601 format.
- Created
By string Created by user name.
- Last
Modified stringAt Last updated time of action rule. Date-Time in ISO-8601 format.
- Last
Modified stringBy Last modified by user name.
- Suppression
Config SuppressionConfig Response suppression configuration for the action rule
- Conditions
Conditions
Response conditions on which alerts will be filtered
- Description string
Description of action rule
- Scope
Scope
Response scope on which action rule will apply
- Status string
Indicates if the given action rule is enabled or disabled
- created
At String Creation time of action rule. Date-Time in ISO-8601 format.
- created
By String Created by user name.
- last
Modified StringAt Last updated time of action rule. Date-Time in ISO-8601 format.
- last
Modified StringBy Last modified by user name.
- suppression
Config SuppressionConfig Response suppression configuration for the action rule
- conditions
Conditions
Response conditions on which alerts will be filtered
- description String
Description of action rule
- scope
Scope
Response scope on which action rule will apply
- status String
Indicates if the given action rule is enabled or disabled
- created
At string Creation time of action rule. Date-Time in ISO-8601 format.
- created
By string Created by user name.
- last
Modified stringAt Last updated time of action rule. Date-Time in ISO-8601 format.
- last
Modified stringBy Last modified by user name.
- suppression
Config SuppressionConfig Response suppression configuration for the action rule
- conditions
Conditions
Response conditions on which alerts will be filtered
- description string
Description of action rule
- scope
Scope
Response 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
Conditions
Response conditions on which alerts will be filtered
- description str
Description of action rule
- scope
Scope
Response scope on which action rule will apply
- status str
Indicates if the given action rule is enabled or disabled
- created
At String Creation time of action rule. Date-Time in ISO-8601 format.
- created
By String Created by user name.
- last
Modified StringAt Last updated time of action rule. Date-Time in ISO-8601 format.
- last
Modified StringBy Last modified by user name.
- suppression
Config 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
- End
Date string End date for suppression
- End
Time string End date for suppression
- Recurrence
Values List<int> Specifies the values for recurrence pattern
- Start
Date string Start date for suppression
- Start
Time string Start time for suppression
- End
Date string End date for suppression
- End
Time string End date for suppression
- Recurrence
Values []int Specifies the values for recurrence pattern
- Start
Date string Start date for suppression
- Start
Time string Start time for suppression
- end
Date String End date for suppression
- end
Time String End date for suppression
- recurrence
Values List<Integer> Specifies the values for recurrence pattern
- start
Date String Start date for suppression
- start
Time String Start time for suppression
- end
Date string End date for suppression
- end
Time string End date for suppression
- recurrence
Values number[] Specifies the values for recurrence pattern
- start
Date string Start date for suppression
- start
Time 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
- end
Date String End date for suppression
- end
Time String End date for suppression
- recurrence
Values List<Number> Specifies the values for recurrence pattern
- start
Date String Start date for suppression
- start
Time String Start time for suppression
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0