This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.alertsmanagement.getAlertProcessingRuleByName
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Get an alert processing rule by name. Azure REST API version: 2021-08-08.
Using getAlertProcessingRuleByName
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 getAlertProcessingRuleByName(args: GetAlertProcessingRuleByNameArgs, opts?: InvokeOptions): Promise<GetAlertProcessingRuleByNameResult>
function getAlertProcessingRuleByNameOutput(args: GetAlertProcessingRuleByNameOutputArgs, opts?: InvokeOptions): Output<GetAlertProcessingRuleByNameResult>def get_alert_processing_rule_by_name(alert_processing_rule_name: Optional[str] = None,
                                      resource_group_name: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetAlertProcessingRuleByNameResult
def get_alert_processing_rule_by_name_output(alert_processing_rule_name: Optional[pulumi.Input[str]] = None,
                                      resource_group_name: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetAlertProcessingRuleByNameResult]func LookupAlertProcessingRuleByName(ctx *Context, args *LookupAlertProcessingRuleByNameArgs, opts ...InvokeOption) (*LookupAlertProcessingRuleByNameResult, error)
func LookupAlertProcessingRuleByNameOutput(ctx *Context, args *LookupAlertProcessingRuleByNameOutputArgs, opts ...InvokeOption) LookupAlertProcessingRuleByNameResultOutput> Note: This function is named LookupAlertProcessingRuleByName in the Go SDK.
public static class GetAlertProcessingRuleByName 
{
    public static Task<GetAlertProcessingRuleByNameResult> InvokeAsync(GetAlertProcessingRuleByNameArgs args, InvokeOptions? opts = null)
    public static Output<GetAlertProcessingRuleByNameResult> Invoke(GetAlertProcessingRuleByNameInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAlertProcessingRuleByNameResult> getAlertProcessingRuleByName(GetAlertProcessingRuleByNameArgs args, InvokeOptions options)
public static Output<GetAlertProcessingRuleByNameResult> getAlertProcessingRuleByName(GetAlertProcessingRuleByNameArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:alertsmanagement:getAlertProcessingRuleByName
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AlertProcessing stringRule Name 
- The name of the alert processing rule that needs to be fetched.
- ResourceGroup stringName 
- Resource group name where the resource is created.
- AlertProcessing stringRule Name 
- The name of the alert processing rule that needs to be fetched.
- ResourceGroup stringName 
- Resource group name where the resource is created.
- alertProcessing StringRule Name 
- The name of the alert processing rule that needs to be fetched.
- resourceGroup StringName 
- Resource group name where the resource is created.
- alertProcessing stringRule Name 
- The name of the alert processing rule that needs to be fetched.
- resourceGroup stringName 
- Resource group name where the resource is created.
- alert_processing_ strrule_ name 
- The name of the alert processing rule that needs to be fetched.
- resource_group_ strname 
- Resource group name where the resource is created.
- alertProcessing StringRule Name 
- The name of the alert processing rule that needs to be fetched.
- resourceGroup StringName 
- Resource group name where the resource is created.
getAlertProcessingRuleByName Result
The following output properties are available:
- Id string
- Azure resource Id
- Location string
- Resource location
- Name string
- Azure resource name
- Properties
Pulumi.Azure Native. Alerts Management. Outputs. Alert Processing Rule Properties Response 
- Alert processing rule properties.
- SystemData Pulumi.Azure Native. Alerts Management. Outputs. System Data Response 
- Alert processing rule system data.
- 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
AlertProcessing Rule Properties Response 
- Alert processing rule properties.
- SystemData SystemData Response 
- Alert processing rule system data.
- 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
AlertProcessing Rule Properties Response 
- Alert processing rule properties.
- systemData SystemData Response 
- Alert processing rule system data.
- 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
AlertProcessing Rule Properties Response 
- Alert processing rule properties.
- systemData SystemData Response 
- Alert processing rule system data.
- 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
AlertProcessing Rule Properties Response 
- Alert processing rule properties.
- system_data SystemData Response 
- Alert processing rule system data.
- 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
- Alert processing rule properties.
- systemData Property Map
- Alert processing rule system data.
- type String
- Azure resource type
- Map<String>
- Resource tags
Supporting Types
AddActionGroupsResponse   
- ActionGroup List<string>Ids 
- List of action group Ids to add to alert processing rule.
- ActionGroup []stringIds 
- List of action group Ids to add to alert processing rule.
- actionGroup List<String>Ids 
- List of action group Ids to add to alert processing rule.
- actionGroup string[]Ids 
- List of action group Ids to add to alert processing rule.
- action_group_ Sequence[str]ids 
- List of action group Ids to add to alert processing rule.
- actionGroup List<String>Ids 
- List of action group Ids to add to alert processing rule.
AlertProcessingRulePropertiesResponse    
- Actions
List<Union<Pulumi.Azure Native. Alerts Management. Inputs. Add Action Groups Response, Pulumi. Azure Native. Alerts Management. Inputs. Remove All Action Groups Response>> 
- Actions to be applied.
- Scopes List<string>
- Scopes on which alert processing rule will apply.
- Conditions
List<Pulumi.Azure Native. Alerts Management. Inputs. Condition Response> 
- Conditions on which alerts will be filtered.
- Description string
- Description of alert processing rule.
- Enabled bool
- Indicates if the given alert processing rule is enabled or disabled.
- Schedule
Pulumi.Azure Native. Alerts Management. Inputs. Schedule Response 
- Scheduling for alert processing rule.
- Actions []interface{}
- Actions to be applied.
- Scopes []string
- Scopes on which alert processing rule will apply.
- Conditions
[]ConditionResponse 
- Conditions on which alerts will be filtered.
- Description string
- Description of alert processing rule.
- Enabled bool
- Indicates if the given alert processing rule is enabled or disabled.
- Schedule
ScheduleResponse 
- Scheduling for alert processing rule.
- actions
List<Either<AddAction Groups Response,Remove All Action Groups Response>> 
- Actions to be applied.
- scopes List<String>
- Scopes on which alert processing rule will apply.
- conditions
List<ConditionResponse> 
- Conditions on which alerts will be filtered.
- description String
- Description of alert processing rule.
- enabled Boolean
- Indicates if the given alert processing rule is enabled or disabled.
- schedule
ScheduleResponse 
- Scheduling for alert processing rule.
- actions
(AddAction Groups Response | Remove All Action Groups Response)[] 
- Actions to be applied.
- scopes string[]
- Scopes on which alert processing rule will apply.
- conditions
ConditionResponse[] 
- Conditions on which alerts will be filtered.
- description string
- Description of alert processing rule.
- enabled boolean
- Indicates if the given alert processing rule is enabled or disabled.
- schedule
ScheduleResponse 
- Scheduling for alert processing rule.
- actions
Sequence[Union[AddAction Groups Response, Remove All Action Groups Response]] 
- Actions to be applied.
- scopes Sequence[str]
- Scopes on which alert processing rule will apply.
- conditions
Sequence[ConditionResponse] 
- Conditions on which alerts will be filtered.
- description str
- Description of alert processing rule.
- enabled bool
- Indicates if the given alert processing rule is enabled or disabled.
- schedule
ScheduleResponse 
- Scheduling for alert processing rule.
- actions List<Property Map | Property Map>
- Actions to be applied.
- scopes List<String>
- Scopes on which alert processing rule will apply.
- conditions List<Property Map>
- Conditions on which alerts will be filtered.
- description String
- Description of alert processing rule.
- enabled Boolean
- Indicates if the given alert processing rule is enabled or disabled.
- schedule Property Map
- Scheduling for alert processing rule.
ConditionResponse 
DailyRecurrenceResponse  
- end_time str
- End time for recurrence.
- start_time str
- Start time for recurrence.
MonthlyRecurrenceResponse  
- DaysOf List<int>Month 
- Specifies the values for monthly recurrence pattern.
- EndTime string
- End time for recurrence.
- StartTime string
- Start time for recurrence.
- DaysOf []intMonth 
- Specifies the values for monthly recurrence pattern.
- EndTime string
- End time for recurrence.
- StartTime string
- Start time for recurrence.
- daysOf List<Integer>Month 
- Specifies the values for monthly recurrence pattern.
- endTime String
- End time for recurrence.
- startTime String
- Start time for recurrence.
- daysOf number[]Month 
- Specifies the values for monthly recurrence pattern.
- endTime string
- End time for recurrence.
- startTime string
- Start time for recurrence.
- days_of_ Sequence[int]month 
- Specifies the values for monthly recurrence pattern.
- end_time str
- End time for recurrence.
- start_time str
- Start time for recurrence.
- daysOf List<Number>Month 
- Specifies the values for monthly recurrence pattern.
- endTime String
- End time for recurrence.
- startTime String
- Start time for recurrence.
RemoveAllActionGroupsResponse    
ScheduleResponse 
- EffectiveFrom string
- Scheduling effective from time. Date-Time in ISO-8601 format without timezone suffix.
- EffectiveUntil string
- Scheduling effective until time. Date-Time in ISO-8601 format without timezone suffix.
- Recurrences List<object>
- List of recurrences.
- TimeZone string
- Scheduling time zone.
- EffectiveFrom string
- Scheduling effective from time. Date-Time in ISO-8601 format without timezone suffix.
- EffectiveUntil string
- Scheduling effective until time. Date-Time in ISO-8601 format without timezone suffix.
- Recurrences []interface{}
- List of recurrences.
- TimeZone string
- Scheduling time zone.
- effectiveFrom String
- Scheduling effective from time. Date-Time in ISO-8601 format without timezone suffix.
- effectiveUntil String
- Scheduling effective until time. Date-Time in ISO-8601 format without timezone suffix.
- recurrences List<Object>
- List of recurrences.
- timeZone String
- Scheduling time zone.
- effectiveFrom string
- Scheduling effective from time. Date-Time in ISO-8601 format without timezone suffix.
- effectiveUntil string
- Scheduling effective until time. Date-Time in ISO-8601 format without timezone suffix.
- recurrences
(DailyRecurrence Response | Monthly Recurrence Response | Weekly Recurrence Response)[] 
- List of recurrences.
- timeZone string
- Scheduling time zone.
- effective_from str
- Scheduling effective from time. Date-Time in ISO-8601 format without timezone suffix.
- effective_until str
- Scheduling effective until time. Date-Time in ISO-8601 format without timezone suffix.
- recurrences
Sequence[Union[DailyRecurrence Response, Monthly Recurrence Response, Weekly Recurrence Response]] 
- List of recurrences.
- time_zone str
- Scheduling time zone.
- effectiveFrom String
- Scheduling effective from time. Date-Time in ISO-8601 format without timezone suffix.
- effectiveUntil String
- Scheduling effective until time. Date-Time in ISO-8601 format without timezone suffix.
- recurrences List<Property Map | Property Map | Property Map>
- List of recurrences.
- timeZone String
- Scheduling time zone.
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
WeeklyRecurrenceResponse  
- DaysOf List<string>Week 
- Specifies the values for weekly recurrence pattern.
- EndTime string
- End time for recurrence.
- StartTime string
- Start time for recurrence.
- DaysOf []stringWeek 
- Specifies the values for weekly recurrence pattern.
- EndTime string
- End time for recurrence.
- StartTime string
- Start time for recurrence.
- daysOf List<String>Week 
- Specifies the values for weekly recurrence pattern.
- endTime String
- End time for recurrence.
- startTime String
- Start time for recurrence.
- daysOf string[]Week 
- Specifies the values for weekly recurrence pattern.
- endTime string
- End time for recurrence.
- startTime string
- Start time for recurrence.
- days_of_ Sequence[str]week 
- Specifies the values for weekly recurrence pattern.
- end_time str
- End time for recurrence.
- start_time str
- Start time for recurrence.
- daysOf List<String>Week 
- Specifies the values for weekly recurrence pattern.
- endTime String
- End time for recurrence.
- startTime String
- Start time for recurrence.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi