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.73.0 published on Wednesday, Nov 20, 2024 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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
Get an alert processing rule by name. Azure REST API version: 2021-08-08.
Other available API versions: 2023-05-01-preview, 2024-03-01-preview.
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:alertsmanagement:getAlertProcessingRuleByName
arguments:
# arguments dictionary
The following arguments are supported:
- Alert
Processing stringRule Name - The name of the alert processing rule that needs to be fetched.
- Resource
Group stringName - Resource group name where the resource is created.
- Alert
Processing stringRule Name - The name of the alert processing rule that needs to be fetched.
- Resource
Group stringName - Resource group name where the resource is created.
- alert
Processing StringRule Name - The name of the alert processing rule that needs to be fetched.
- resource
Group StringName - Resource group name where the resource is created.
- alert
Processing stringRule Name - The name of the alert processing rule that needs to be fetched.
- resource
Group 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.
- alert
Processing StringRule Name - The name of the alert processing rule that needs to be fetched.
- resource
Group 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.
- System
Data 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
Alert
Processing Rule Properties Response - Alert processing rule properties.
- System
Data 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
Alert
Processing Rule Properties Response - Alert processing rule properties.
- system
Data 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
Alert
Processing Rule Properties Response - Alert processing rule properties.
- system
Data 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
Alert
Processing 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.
- system
Data Property Map - Alert processing rule system data.
- type String
- Azure resource type
- Map<String>
- Resource tags
Supporting Types
AddActionGroupsResponse
- Action
Group List<string>Ids - List of action group Ids to add to alert processing rule.
- Action
Group []stringIds - List of action group Ids to add to alert processing rule.
- action
Group List<String>Ids - List of action group Ids to add to alert processing rule.
- action
Group 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.
- action
Group 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
[]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
Schedule
Response - Scheduling for alert processing rule.
- actions
List<Either<Add
Action Groups Response,Remove All Action Groups Response>> - Actions to be applied.
- scopes List<String>
- Scopes on which alert processing rule will apply.
- conditions
List<Condition
Response> - 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
Schedule
Response - Scheduling for alert processing rule.
- actions
(Add
Action Groups Response | Remove All Action Groups Response)[] - Actions to be applied.
- scopes string[]
- Scopes on which alert processing rule will apply.
- conditions
Condition
Response[] - 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
Schedule
Response - Scheduling for alert processing rule.
- actions
Sequence[Union[Add
Action Groups Response, Remove All Action Groups Response]] - Actions to be applied.
- scopes Sequence[str]
- Scopes on which alert processing rule will apply.
- conditions
Sequence[Condition
Response] - 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
Schedule
Response - 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
- Days
Of List<int>Month - Specifies the values for monthly recurrence pattern.
- End
Time string - End time for recurrence.
- Start
Time string - Start time for recurrence.
- Days
Of []intMonth - Specifies the values for monthly recurrence pattern.
- End
Time string - End time for recurrence.
- Start
Time string - Start time for recurrence.
- days
Of List<Integer>Month - Specifies the values for monthly recurrence pattern.
- end
Time String - End time for recurrence.
- start
Time String - Start time for recurrence.
- days
Of number[]Month - Specifies the values for monthly recurrence pattern.
- end
Time string - End time for recurrence.
- start
Time 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.
- days
Of List<Number>Month - Specifies the values for monthly recurrence pattern.
- end
Time String - End time for recurrence.
- start
Time String - Start time for recurrence.
RemoveAllActionGroupsResponse
ScheduleResponse
- Effective
From string - Scheduling effective from time. Date-Time in ISO-8601 format without timezone suffix.
- Effective
Until string - Scheduling effective until time. Date-Time in ISO-8601 format without timezone suffix.
- Recurrences List<object>
- List of recurrences.
- Time
Zone string - Scheduling time zone.
- Effective
From string - Scheduling effective from time. Date-Time in ISO-8601 format without timezone suffix.
- Effective
Until string - Scheduling effective until time. Date-Time in ISO-8601 format without timezone suffix.
- Recurrences []interface{}
- List of recurrences.
- Time
Zone string - Scheduling time zone.
- effective
From String - Scheduling effective from time. Date-Time in ISO-8601 format without timezone suffix.
- effective
Until String - Scheduling effective until time. Date-Time in ISO-8601 format without timezone suffix.
- recurrences List<Object>
- List of recurrences.
- time
Zone String - Scheduling time zone.
- effective
From string - Scheduling effective from time. Date-Time in ISO-8601 format without timezone suffix.
- effective
Until string - Scheduling effective until time. Date-Time in ISO-8601 format without timezone suffix.
- recurrences
(Daily
Recurrence Response | Monthly Recurrence Response | Weekly Recurrence Response)[] - List of recurrences.
- time
Zone 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[Daily
Recurrence Response, Monthly Recurrence Response, Weekly Recurrence Response]] - List of recurrences.
- time_
zone str - Scheduling time zone.
- effective
From String - Scheduling effective from time. Date-Time in ISO-8601 format without timezone suffix.
- effective
Until 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.
- time
Zone String - Scheduling time zone.
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
WeeklyRecurrenceResponse
- Days
Of List<string>Week - Specifies the values for weekly recurrence pattern.
- End
Time string - End time for recurrence.
- Start
Time string - Start time for recurrence.
- Days
Of []stringWeek - Specifies the values for weekly recurrence pattern.
- End
Time string - End time for recurrence.
- Start
Time string - Start time for recurrence.
- days
Of List<String>Week - Specifies the values for weekly recurrence pattern.
- end
Time String - End time for recurrence.
- start
Time String - Start time for recurrence.
- days
Of string[]Week - Specifies the values for weekly recurrence pattern.
- end
Time string - End time for recurrence.
- start
Time 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.
- days
Of List<String>Week - Specifies the values for weekly recurrence pattern.
- end
Time String - End time for recurrence.
- start
Time 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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi