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.47.1 published on Monday, Jun 24, 2024 by Pulumi
azure-native.insights.getAlertRule
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.47.1 published on Monday, Jun 24, 2024 by Pulumi
Gets a classic metric alert rule Azure REST API version: 2016-03-01.
Using getAlertRule
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 getAlertRule(args: GetAlertRuleArgs, opts?: InvokeOptions): Promise<GetAlertRuleResult>
function getAlertRuleOutput(args: GetAlertRuleOutputArgs, opts?: InvokeOptions): Output<GetAlertRuleResult>
def get_alert_rule(resource_group_name: Optional[str] = None,
rule_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAlertRuleResult
def get_alert_rule_output(resource_group_name: Optional[pulumi.Input[str]] = None,
rule_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAlertRuleResult]
func LookupAlertRule(ctx *Context, args *LookupAlertRuleArgs, opts ...InvokeOption) (*LookupAlertRuleResult, error)
func LookupAlertRuleOutput(ctx *Context, args *LookupAlertRuleOutputArgs, opts ...InvokeOption) LookupAlertRuleResultOutput
> Note: This function is named LookupAlertRule
in the Go SDK.
public static class GetAlertRule
{
public static Task<GetAlertRuleResult> InvokeAsync(GetAlertRuleArgs args, InvokeOptions? opts = null)
public static Output<GetAlertRuleResult> Invoke(GetAlertRuleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAlertRuleResult> getAlertRule(GetAlertRuleArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:insights:getAlertRule
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Rule
Name string - The name of the rule.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Rule
Name string - The name of the rule.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- rule
Name String - The name of the rule.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- rule
Name string - The name of the rule.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- rule_
name str - The name of the rule.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- rule
Name String - The name of the rule.
getAlertRule Result
The following output properties are available:
- Condition
Pulumi.
Azure | Pulumi.Native. Insights. Outputs. Location Threshold Rule Condition Response Azure | Pulumi.Native. Insights. Outputs. Management Event Rule Condition Response Azure Native. Insights. Outputs. Threshold Rule Condition Response - the condition that results in the alert rule being activated.
- Id string
- Azure resource Id
- Is
Enabled bool - the flag that indicates whether the alert rule is enabled.
- Last
Updated stringTime - Last time the rule was updated in ISO8601 format.
- Location string
- Resource location
- Name string
- Azure resource name
- Type string
- Azure resource type
- Action
Pulumi.
Azure | Pulumi.Native. Insights. Outputs. Rule Email Action Response Azure Native. Insights. Outputs. Rule Webhook Action Response - action that is performed when the alert rule becomes active, and when an alert condition is resolved.
- Actions
List<Union<Pulumi.
Azure Native. Insights. Outputs. Rule Email Action Response, Pulumi. Azure Native. Insights. Outputs. Rule Webhook Action Response>> - the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.
- Description string
- the description of the alert rule that will be included in the alert email.
- Provisioning
State string - the provisioning state.
- Dictionary<string, string>
- Resource tags
- Condition
Location
Threshold | ManagementRule Condition Response Event | ThresholdRule Condition Response Rule Condition Response - the condition that results in the alert rule being activated.
- Id string
- Azure resource Id
- Is
Enabled bool - the flag that indicates whether the alert rule is enabled.
- Last
Updated stringTime - Last time the rule was updated in ISO8601 format.
- Location string
- Resource location
- Name string
- Azure resource name
- Type string
- Azure resource type
- Action
Rule
Email | RuleAction Response Webhook Action Response - action that is performed when the alert rule becomes active, and when an alert condition is resolved.
- Actions []interface{}
- the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.
- Description string
- the description of the alert rule that will be included in the alert email.
- Provisioning
State string - the provisioning state.
- map[string]string
- Resource tags
- condition
Location
Threshold | ManagementRule Condition Response Event | ThresholdRule Condition Response Rule Condition Response - the condition that results in the alert rule being activated.
- id String
- Azure resource Id
- is
Enabled Boolean - the flag that indicates whether the alert rule is enabled.
- last
Updated StringTime - Last time the rule was updated in ISO8601 format.
- location String
- Resource location
- name String
- Azure resource name
- type String
- Azure resource type
- action
Rule
Email | RuleAction Response Webhook Action Response - action that is performed when the alert rule becomes active, and when an alert condition is resolved.
- actions
List<Either<Rule
Email Action Response,Rule Webhook Action Response>> - the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.
- description String
- the description of the alert rule that will be included in the alert email.
- provisioning
State String - the provisioning state.
- Map<String,String>
- Resource tags
- condition
Location
Threshold | ManagementRule Condition Response Event | ThresholdRule Condition Response Rule Condition Response - the condition that results in the alert rule being activated.
- id string
- Azure resource Id
- is
Enabled boolean - the flag that indicates whether the alert rule is enabled.
- last
Updated stringTime - Last time the rule was updated in ISO8601 format.
- location string
- Resource location
- name string
- Azure resource name
- type string
- Azure resource type
- action
Rule
Email | RuleAction Response Webhook Action Response - action that is performed when the alert rule becomes active, and when an alert condition is resolved.
- actions
(Rule
Email Action Response | Rule Webhook Action Response)[] - the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.
- description string
- the description of the alert rule that will be included in the alert email.
- provisioning
State string - the provisioning state.
- {[key: string]: string}
- Resource tags
- condition
Location
Threshold | ManagementRule Condition Response Event | ThresholdRule Condition Response Rule Condition Response - the condition that results in the alert rule being activated.
- id str
- Azure resource Id
- is_
enabled bool - the flag that indicates whether the alert rule is enabled.
- last_
updated_ strtime - Last time the rule was updated in ISO8601 format.
- location str
- Resource location
- name str
- Azure resource name
- type str
- Azure resource type
- action
Rule
Email | RuleAction Response Webhook Action Response - action that is performed when the alert rule becomes active, and when an alert condition is resolved.
- actions Sequence[Any]
- the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.
- description str
- the description of the alert rule that will be included in the alert email.
- provisioning_
state str - the provisioning state.
- Mapping[str, str]
- Resource tags
- condition Property Map | Property Map | Property Map
- the condition that results in the alert rule being activated.
- id String
- Azure resource Id
- is
Enabled Boolean - the flag that indicates whether the alert rule is enabled.
- last
Updated StringTime - Last time the rule was updated in ISO8601 format.
- location String
- Resource location
- name String
- Azure resource name
- type String
- Azure resource type
- action Property Map | Property Map
- action that is performed when the alert rule becomes active, and when an alert condition is resolved.
- actions List<Property Map | Property Map>
- the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.
- description String
- the description of the alert rule that will be included in the alert email.
- provisioning
State String - the provisioning state.
- Map<String>
- Resource tags
Supporting Types
LocationThresholdRuleConditionResponse
- Failed
Location intCount - the number of locations that must fail to activate the alert.
- Data
Source Pulumi.Azure | Pulumi.Native. Insights. Inputs. Rule Management Event Data Source Response Azure Native. Insights. Inputs. Rule Metric Data Source Response - the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.
- Window
Size string - the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day.
- Failed
Location intCount - the number of locations that must fail to activate the alert.
- Data
Source RuleManagement | RuleEvent Data Source Response Metric Data Source Response - the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.
- Window
Size string - the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day.
- failed
Location IntegerCount - the number of locations that must fail to activate the alert.
- data
Source RuleManagement | RuleEvent Data Source Response Metric Data Source Response - the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.
- window
Size String - the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day.
- failed
Location numberCount - the number of locations that must fail to activate the alert.
- data
Source RuleManagement | RuleEvent Data Source Response Metric Data Source Response - the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.
- window
Size string - the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day.
- failed_
location_ intcount - the number of locations that must fail to activate the alert.
- data_
source RuleManagement | RuleEvent Data Source Response Metric Data Source Response - the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.
- window_
size str - the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day.
- failed
Location NumberCount - the number of locations that must fail to activate the alert.
- data
Source Property Map | Property Map - the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.
- window
Size String - the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day.
ManagementEventAggregationConditionResponse
- Operator string
- the condition operator.
- Threshold double
- The threshold value that activates the alert.
- Window
Size string - the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day.
- Operator string
- the condition operator.
- Threshold float64
- The threshold value that activates the alert.
- Window
Size string - the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day.
- operator String
- the condition operator.
- threshold Double
- The threshold value that activates the alert.
- window
Size String - the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day.
- operator string
- the condition operator.
- threshold number
- The threshold value that activates the alert.
- window
Size string - the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day.
- operator str
- the condition operator.
- threshold float
- The threshold value that activates the alert.
- window_
size str - the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day.
- operator String
- the condition operator.
- threshold Number
- The threshold value that activates the alert.
- window
Size String - the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day.
ManagementEventRuleConditionResponse
- Aggregation
Pulumi.
Azure Native. Insights. Inputs. Management Event Aggregation Condition Response - How the data that is collected should be combined over time and when the alert is activated. Note that for management event alerts aggregation is optional – if it is not provided then any event will cause the alert to activate.
- Data
Source Pulumi.Azure | Pulumi.Native. Insights. Inputs. Rule Management Event Data Source Response Azure Native. Insights. Inputs. Rule Metric Data Source Response - the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.
- Aggregation
Management
Event Aggregation Condition Response - How the data that is collected should be combined over time and when the alert is activated. Note that for management event alerts aggregation is optional – if it is not provided then any event will cause the alert to activate.
- Data
Source RuleManagement | RuleEvent Data Source Response Metric Data Source Response - the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.
- aggregation
Management
Event Aggregation Condition Response - How the data that is collected should be combined over time and when the alert is activated. Note that for management event alerts aggregation is optional – if it is not provided then any event will cause the alert to activate.
- data
Source RuleManagement | RuleEvent Data Source Response Metric Data Source Response - the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.
- aggregation
Management
Event Aggregation Condition Response - How the data that is collected should be combined over time and when the alert is activated. Note that for management event alerts aggregation is optional – if it is not provided then any event will cause the alert to activate.
- data
Source RuleManagement | RuleEvent Data Source Response Metric Data Source Response - the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.
- aggregation
Management
Event Aggregation Condition Response - How the data that is collected should be combined over time and when the alert is activated. Note that for management event alerts aggregation is optional – if it is not provided then any event will cause the alert to activate.
- data_
source RuleManagement | RuleEvent Data Source Response Metric Data Source Response - the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.
- aggregation Property Map
- How the data that is collected should be combined over time and when the alert is activated. Note that for management event alerts aggregation is optional – if it is not provided then any event will cause the alert to activate.
- data
Source Property Map | Property Map - the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.
RuleEmailActionResponse
- Custom
Emails List<string> - the list of administrator's custom email addresses to notify of the activation of the alert.
- Send
To boolService Owners - Whether the administrators (service and co-administrators) of the service should be notified when the alert is activated.
- Custom
Emails []string - the list of administrator's custom email addresses to notify of the activation of the alert.
- Send
To boolService Owners - Whether the administrators (service and co-administrators) of the service should be notified when the alert is activated.
- custom
Emails List<String> - the list of administrator's custom email addresses to notify of the activation of the alert.
- send
To BooleanService Owners - Whether the administrators (service and co-administrators) of the service should be notified when the alert is activated.
- custom
Emails string[] - the list of administrator's custom email addresses to notify of the activation of the alert.
- send
To booleanService Owners - Whether the administrators (service and co-administrators) of the service should be notified when the alert is activated.
- custom_
emails Sequence[str] - the list of administrator's custom email addresses to notify of the activation of the alert.
- send_
to_ boolservice_ owners - Whether the administrators (service and co-administrators) of the service should be notified when the alert is activated.
- custom
Emails List<String> - the list of administrator's custom email addresses to notify of the activation of the alert.
- send
To BooleanService Owners - Whether the administrators (service and co-administrators) of the service should be notified when the alert is activated.
RuleManagementEventClaimsDataSourceResponse
- Email
Address string - the email address.
- Email
Address string - the email address.
- email
Address String - the email address.
- email
Address string - the email address.
- email_
address str - the email address.
- email
Address String - the email address.
RuleManagementEventDataSourceResponse
- Claims
Pulumi.
Azure Native. Insights. Inputs. Rule Management Event Claims Data Source Response - the claims.
- Event
Name string - the event name.
- Event
Source string - the event source.
- Legacy
Resource stringId - the legacy resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.
- Level string
- the level.
- Metric
Namespace string - the namespace of the metric.
- Operation
Name string - The name of the operation that should be checked for. If no name is provided, any operation will match.
- Resource
Group stringName - the resource group name.
- Resource
Location string - the location of the resource.
- Resource
Provider stringName - the resource provider name.
- Resource
Uri string - the resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.
- Status string
- The status of the operation that should be checked for. If no status is provided, any status will match.
- Sub
Status string - the substatus.
- Claims
Rule
Management Event Claims Data Source Response - the claims.
- Event
Name string - the event name.
- Event
Source string - the event source.
- Legacy
Resource stringId - the legacy resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.
- Level string
- the level.
- Metric
Namespace string - the namespace of the metric.
- Operation
Name string - The name of the operation that should be checked for. If no name is provided, any operation will match.
- Resource
Group stringName - the resource group name.
- Resource
Location string - the location of the resource.
- Resource
Provider stringName - the resource provider name.
- Resource
Uri string - the resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.
- Status string
- The status of the operation that should be checked for. If no status is provided, any status will match.
- Sub
Status string - the substatus.
- claims
Rule
Management Event Claims Data Source Response - the claims.
- event
Name String - the event name.
- event
Source String - the event source.
- legacy
Resource StringId - the legacy resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.
- level String
- the level.
- metric
Namespace String - the namespace of the metric.
- operation
Name String - The name of the operation that should be checked for. If no name is provided, any operation will match.
- resource
Group StringName - the resource group name.
- resource
Location String - the location of the resource.
- resource
Provider StringName - the resource provider name.
- resource
Uri String - the resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.
- status String
- The status of the operation that should be checked for. If no status is provided, any status will match.
- sub
Status String - the substatus.
- claims
Rule
Management Event Claims Data Source Response - the claims.
- event
Name string - the event name.
- event
Source string - the event source.
- legacy
Resource stringId - the legacy resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.
- level string
- the level.
- metric
Namespace string - the namespace of the metric.
- operation
Name string - The name of the operation that should be checked for. If no name is provided, any operation will match.
- resource
Group stringName - the resource group name.
- resource
Location string - the location of the resource.
- resource
Provider stringName - the resource provider name.
- resource
Uri string - the resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.
- status string
- The status of the operation that should be checked for. If no status is provided, any status will match.
- sub
Status string - the substatus.
- claims
Rule
Management Event Claims Data Source Response - the claims.
- event_
name str - the event name.
- event_
source str - the event source.
- legacy_
resource_ strid - the legacy resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.
- level str
- the level.
- metric_
namespace str - the namespace of the metric.
- operation_
name str - The name of the operation that should be checked for. If no name is provided, any operation will match.
- resource_
group_ strname - the resource group name.
- resource_
location str - the location of the resource.
- resource_
provider_ strname - the resource provider name.
- resource_
uri str - the resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.
- status str
- The status of the operation that should be checked for. If no status is provided, any status will match.
- sub_
status str - the substatus.
- claims Property Map
- the claims.
- event
Name String - the event name.
- event
Source String - the event source.
- legacy
Resource StringId - the legacy resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.
- level String
- the level.
- metric
Namespace String - the namespace of the metric.
- operation
Name String - The name of the operation that should be checked for. If no name is provided, any operation will match.
- resource
Group StringName - the resource group name.
- resource
Location String - the location of the resource.
- resource
Provider StringName - the resource provider name.
- resource
Uri String - the resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.
- status String
- The status of the operation that should be checked for. If no status is provided, any status will match.
- sub
Status String - the substatus.
RuleMetricDataSourceResponse
- Legacy
Resource stringId - the legacy resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.
- Metric
Name string - the name of the metric that defines what the rule monitors.
- Metric
Namespace string - the namespace of the metric.
- Resource
Location string - the location of the resource.
- Resource
Uri string - the resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.
- Legacy
Resource stringId - the legacy resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.
- Metric
Name string - the name of the metric that defines what the rule monitors.
- Metric
Namespace string - the namespace of the metric.
- Resource
Location string - the location of the resource.
- Resource
Uri string - the resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.
- legacy
Resource StringId - the legacy resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.
- metric
Name String - the name of the metric that defines what the rule monitors.
- metric
Namespace String - the namespace of the metric.
- resource
Location String - the location of the resource.
- resource
Uri String - the resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.
- legacy
Resource stringId - the legacy resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.
- metric
Name string - the name of the metric that defines what the rule monitors.
- metric
Namespace string - the namespace of the metric.
- resource
Location string - the location of the resource.
- resource
Uri string - the resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.
- legacy_
resource_ strid - the legacy resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.
- metric_
name str - the name of the metric that defines what the rule monitors.
- metric_
namespace str - the namespace of the metric.
- resource_
location str - the location of the resource.
- resource_
uri str - the resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.
- legacy
Resource StringId - the legacy resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.
- metric
Name String - the name of the metric that defines what the rule monitors.
- metric
Namespace String - the namespace of the metric.
- resource
Location String - the location of the resource.
- resource
Uri String - the resource identifier of the resource the rule monitors. NOTE: this property cannot be updated for an existing rule.
RuleWebhookActionResponse
- Properties Dictionary<string, string>
- the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload.
- Service
Uri string - the service uri to Post the notification when the alert activates or resolves.
- Properties map[string]string
- the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload.
- Service
Uri string - the service uri to Post the notification when the alert activates or resolves.
- properties Map<String,String>
- the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload.
- service
Uri String - the service uri to Post the notification when the alert activates or resolves.
- properties {[key: string]: string}
- the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload.
- service
Uri string - the service uri to Post the notification when the alert activates or resolves.
- properties Mapping[str, str]
- the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload.
- service_
uri str - the service uri to Post the notification when the alert activates or resolves.
- properties Map<String>
- the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload.
- service
Uri String - the service uri to Post the notification when the alert activates or resolves.
ThresholdRuleConditionResponse
- Operator string
- the operator used to compare the data and the threshold.
- Threshold double
- the threshold value that activates the alert.
- Data
Source Pulumi.Azure | Pulumi.Native. Insights. Inputs. Rule Management Event Data Source Response Azure Native. Insights. Inputs. Rule Metric Data Source Response - the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.
- Time
Aggregation string - the time aggregation operator. How the data that are collected should be combined over time. The default value is the PrimaryAggregationType of the Metric.
- Window
Size string - the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day.
- Operator string
- the operator used to compare the data and the threshold.
- Threshold float64
- the threshold value that activates the alert.
- Data
Source RuleManagement | RuleEvent Data Source Response Metric Data Source Response - the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.
- Time
Aggregation string - the time aggregation operator. How the data that are collected should be combined over time. The default value is the PrimaryAggregationType of the Metric.
- Window
Size string - the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day.
- operator String
- the operator used to compare the data and the threshold.
- threshold Double
- the threshold value that activates the alert.
- data
Source RuleManagement | RuleEvent Data Source Response Metric Data Source Response - the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.
- time
Aggregation String - the time aggregation operator. How the data that are collected should be combined over time. The default value is the PrimaryAggregationType of the Metric.
- window
Size String - the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day.
- operator string
- the operator used to compare the data and the threshold.
- threshold number
- the threshold value that activates the alert.
- data
Source RuleManagement | RuleEvent Data Source Response Metric Data Source Response - the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.
- time
Aggregation string - the time aggregation operator. How the data that are collected should be combined over time. The default value is the PrimaryAggregationType of the Metric.
- window
Size string - the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day.
- operator str
- the operator used to compare the data and the threshold.
- threshold float
- the threshold value that activates the alert.
- data_
source RuleManagement | RuleEvent Data Source Response Metric Data Source Response - the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.
- time_
aggregation str - the time aggregation operator. How the data that are collected should be combined over time. The default value is the PrimaryAggregationType of the Metric.
- window_
size str - the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day.
- operator String
- the operator used to compare the data and the threshold.
- threshold Number
- the threshold value that activates the alert.
- data
Source Property Map | Property Map - the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource.
- time
Aggregation String - the time aggregation operator. How the data that are collected should be combined over time. The default value is the PrimaryAggregationType of the Metric.
- window
Size String - the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day.
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.47.1 published on Monday, Jun 24, 2024 by Pulumi