1. Packages
  2. Azure Native
  3. API Docs
  4. monitor
  5. getMetricAlert
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.monitor.getMetricAlert

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

Retrieve an alert rule definition.

Uses Azure REST API version 2018-03-01.

Using getMetricAlert

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 getMetricAlert(args: GetMetricAlertArgs, opts?: InvokeOptions): Promise<GetMetricAlertResult>
function getMetricAlertOutput(args: GetMetricAlertOutputArgs, opts?: InvokeOptions): Output<GetMetricAlertResult>
Copy
def get_metric_alert(resource_group_name: Optional[str] = None,
                     rule_name: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetMetricAlertResult
def get_metric_alert_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                     rule_name: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetMetricAlertResult]
Copy
func LookupMetricAlert(ctx *Context, args *LookupMetricAlertArgs, opts ...InvokeOption) (*LookupMetricAlertResult, error)
func LookupMetricAlertOutput(ctx *Context, args *LookupMetricAlertOutputArgs, opts ...InvokeOption) LookupMetricAlertResultOutput
Copy

> Note: This function is named LookupMetricAlert in the Go SDK.

public static class GetMetricAlert 
{
    public static Task<GetMetricAlertResult> InvokeAsync(GetMetricAlertArgs args, InvokeOptions? opts = null)
    public static Output<GetMetricAlertResult> Invoke(GetMetricAlertInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetMetricAlertResult> getMetricAlert(GetMetricAlertArgs args, InvokeOptions options)
public static Output<GetMetricAlertResult> getMetricAlert(GetMetricAlertArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:monitor:getMetricAlert
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
RuleName
This property is required.
Changes to this property will trigger replacement.
string
The name of the rule.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
RuleName
This property is required.
Changes to this property will trigger replacement.
string
The name of the rule.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
ruleName
This property is required.
Changes to this property will trigger replacement.
String
The name of the rule.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ruleName
This property is required.
Changes to this property will trigger replacement.
string
The name of the rule.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
rule_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the rule.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
ruleName
This property is required.
Changes to this property will trigger replacement.
String
The name of the rule.

getMetricAlert Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
Criteria Pulumi.AzureNative.Monitor.Outputs.MetricAlertMultipleResourceMultipleMetricCriteriaResponse | Pulumi.AzureNative.Monitor.Outputs.MetricAlertSingleResourceMultipleMetricCriteriaResponse | Pulumi.AzureNative.Monitor.Outputs.WebtestLocationAvailabilityCriteriaResponse
defines the specific alert criteria information.
Enabled bool
the flag that indicates whether the metric alert is enabled.
EvaluationFrequency string
how often the metric alert is evaluated represented in ISO 8601 duration format.
Id string
Azure resource Id
IsMigrated bool
the value indicating whether this alert rule is migrated.
LastUpdatedTime string
Last time the rule was updated in ISO8601 format.
Location string
Resource location
Name string
Azure resource name
Scopes List<string>
the list of resource id's that this metric alert is scoped to. You cannot change the scope of a metric rule based on logs.
Severity int
Alert severity {0, 1, 2, 3, 4}
Type string
Azure resource type
WindowSize string
the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold.
Actions List<Pulumi.AzureNative.Monitor.Outputs.MetricAlertActionResponse>
the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.
AutoMitigate bool
the flag that indicates whether the alert should be auto resolved or not. The default is true.
Description string
the description of the metric alert that will be included in the alert email.
Tags Dictionary<string, string>
Resource tags
TargetResourceRegion string
the region of the target resource(s) on which the alert is created/updated. Mandatory if the scope contains a subscription, resource group, or more than one resource.
TargetResourceType string
the resource type of the target resource(s) on which the alert is created/updated. Mandatory if the scope contains a subscription, resource group, or more than one resource.
AzureApiVersion string
The Azure API version of the resource.
Criteria MetricAlertMultipleResourceMultipleMetricCriteriaResponse | MetricAlertSingleResourceMultipleMetricCriteriaResponse | WebtestLocationAvailabilityCriteriaResponse
defines the specific alert criteria information.
Enabled bool
the flag that indicates whether the metric alert is enabled.
EvaluationFrequency string
how often the metric alert is evaluated represented in ISO 8601 duration format.
Id string
Azure resource Id
IsMigrated bool
the value indicating whether this alert rule is migrated.
LastUpdatedTime string
Last time the rule was updated in ISO8601 format.
Location string
Resource location
Name string
Azure resource name
Scopes []string
the list of resource id's that this metric alert is scoped to. You cannot change the scope of a metric rule based on logs.
Severity int
Alert severity {0, 1, 2, 3, 4}
Type string
Azure resource type
WindowSize string
the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold.
Actions []MetricAlertActionResponse
the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.
AutoMitigate bool
the flag that indicates whether the alert should be auto resolved or not. The default is true.
Description string
the description of the metric alert that will be included in the alert email.
Tags map[string]string
Resource tags
TargetResourceRegion string
the region of the target resource(s) on which the alert is created/updated. Mandatory if the scope contains a subscription, resource group, or more than one resource.
TargetResourceType string
the resource type of the target resource(s) on which the alert is created/updated. Mandatory if the scope contains a subscription, resource group, or more than one resource.
azureApiVersion String
The Azure API version of the resource.
criteria MetricAlertMultipleResourceMultipleMetricCriteriaResponse | MetricAlertSingleResourceMultipleMetricCriteriaResponse | WebtestLocationAvailabilityCriteriaResponse
defines the specific alert criteria information.
enabled Boolean
the flag that indicates whether the metric alert is enabled.
evaluationFrequency String
how often the metric alert is evaluated represented in ISO 8601 duration format.
id String
Azure resource Id
isMigrated Boolean
the value indicating whether this alert rule is migrated.
lastUpdatedTime String
Last time the rule was updated in ISO8601 format.
location String
Resource location
name String
Azure resource name
scopes List<String>
the list of resource id's that this metric alert is scoped to. You cannot change the scope of a metric rule based on logs.
severity Integer
Alert severity {0, 1, 2, 3, 4}
type String
Azure resource type
windowSize String
the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold.
actions List<MetricAlertActionResponse>
the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.
autoMitigate Boolean
the flag that indicates whether the alert should be auto resolved or not. The default is true.
description String
the description of the metric alert that will be included in the alert email.
tags Map<String,String>
Resource tags
targetResourceRegion String
the region of the target resource(s) on which the alert is created/updated. Mandatory if the scope contains a subscription, resource group, or more than one resource.
targetResourceType String
the resource type of the target resource(s) on which the alert is created/updated. Mandatory if the scope contains a subscription, resource group, or more than one resource.
azureApiVersion string
The Azure API version of the resource.
criteria MetricAlertMultipleResourceMultipleMetricCriteriaResponse | MetricAlertSingleResourceMultipleMetricCriteriaResponse | WebtestLocationAvailabilityCriteriaResponse
defines the specific alert criteria information.
enabled boolean
the flag that indicates whether the metric alert is enabled.
evaluationFrequency string
how often the metric alert is evaluated represented in ISO 8601 duration format.
id string
Azure resource Id
isMigrated boolean
the value indicating whether this alert rule is migrated.
lastUpdatedTime string
Last time the rule was updated in ISO8601 format.
location string
Resource location
name string
Azure resource name
scopes string[]
the list of resource id's that this metric alert is scoped to. You cannot change the scope of a metric rule based on logs.
severity number
Alert severity {0, 1, 2, 3, 4}
type string
Azure resource type
windowSize string
the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold.
actions MetricAlertActionResponse[]
the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.
autoMitigate boolean
the flag that indicates whether the alert should be auto resolved or not. The default is true.
description string
the description of the metric alert that will be included in the alert email.
tags {[key: string]: string}
Resource tags
targetResourceRegion string
the region of the target resource(s) on which the alert is created/updated. Mandatory if the scope contains a subscription, resource group, or more than one resource.
targetResourceType string
the resource type of the target resource(s) on which the alert is created/updated. Mandatory if the scope contains a subscription, resource group, or more than one resource.
azure_api_version str
The Azure API version of the resource.
criteria MetricAlertMultipleResourceMultipleMetricCriteriaResponse | MetricAlertSingleResourceMultipleMetricCriteriaResponse | WebtestLocationAvailabilityCriteriaResponse
defines the specific alert criteria information.
enabled bool
the flag that indicates whether the metric alert is enabled.
evaluation_frequency str
how often the metric alert is evaluated represented in ISO 8601 duration format.
id str
Azure resource Id
is_migrated bool
the value indicating whether this alert rule is migrated.
last_updated_time str
Last time the rule was updated in ISO8601 format.
location str
Resource location
name str
Azure resource name
scopes Sequence[str]
the list of resource id's that this metric alert is scoped to. You cannot change the scope of a metric rule based on logs.
severity int
Alert severity {0, 1, 2, 3, 4}
type str
Azure resource type
window_size str
the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold.
actions Sequence[MetricAlertActionResponse]
the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.
auto_mitigate bool
the flag that indicates whether the alert should be auto resolved or not. The default is true.
description str
the description of the metric alert that will be included in the alert email.
tags Mapping[str, str]
Resource tags
target_resource_region str
the region of the target resource(s) on which the alert is created/updated. Mandatory if the scope contains a subscription, resource group, or more than one resource.
target_resource_type str
the resource type of the target resource(s) on which the alert is created/updated. Mandatory if the scope contains a subscription, resource group, or more than one resource.
azureApiVersion String
The Azure API version of the resource.
criteria Property Map | Property Map | Property Map
defines the specific alert criteria information.
enabled Boolean
the flag that indicates whether the metric alert is enabled.
evaluationFrequency String
how often the metric alert is evaluated represented in ISO 8601 duration format.
id String
Azure resource Id
isMigrated Boolean
the value indicating whether this alert rule is migrated.
lastUpdatedTime String
Last time the rule was updated in ISO8601 format.
location String
Resource location
name String
Azure resource name
scopes List<String>
the list of resource id's that this metric alert is scoped to. You cannot change the scope of a metric rule based on logs.
severity Number
Alert severity {0, 1, 2, 3, 4}
type String
Azure resource type
windowSize String
the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold.
actions List<Property Map>
the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.
autoMitigate Boolean
the flag that indicates whether the alert should be auto resolved or not. The default is true.
description String
the description of the metric alert that will be included in the alert email.
tags Map<String>
Resource tags
targetResourceRegion String
the region of the target resource(s) on which the alert is created/updated. Mandatory if the scope contains a subscription, resource group, or more than one resource.
targetResourceType String
the resource type of the target resource(s) on which the alert is created/updated. Mandatory if the scope contains a subscription, resource group, or more than one resource.

Supporting Types

DynamicMetricCriteriaResponse

AlertSensitivity This property is required. string
The extent of deviation required to trigger an alert. This will affect how tight the threshold is to the metric series pattern.
FailingPeriods This property is required. Pulumi.AzureNative.Monitor.Inputs.DynamicThresholdFailingPeriodsResponse
The minimum number of violations required within the selected lookback time window required to raise an alert.
MetricName This property is required. string
Name of the metric.
Name This property is required. string
Name of the criteria.
Operator This property is required. string
The operator used to compare the metric value against the threshold.
TimeAggregation This property is required. string
the criteria time aggregation types.
Dimensions List<Pulumi.AzureNative.Monitor.Inputs.MetricDimensionResponse>
List of dimension conditions.
IgnoreDataBefore string
Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format)
MetricNamespace string
Namespace of the metric.
SkipMetricValidation bool
Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric validation to be skipped.
AlertSensitivity This property is required. string
The extent of deviation required to trigger an alert. This will affect how tight the threshold is to the metric series pattern.
FailingPeriods This property is required. DynamicThresholdFailingPeriodsResponse
The minimum number of violations required within the selected lookback time window required to raise an alert.
MetricName This property is required. string
Name of the metric.
Name This property is required. string
Name of the criteria.
Operator This property is required. string
The operator used to compare the metric value against the threshold.
TimeAggregation This property is required. string
the criteria time aggregation types.
Dimensions []MetricDimensionResponse
List of dimension conditions.
IgnoreDataBefore string
Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format)
MetricNamespace string
Namespace of the metric.
SkipMetricValidation bool
Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric validation to be skipped.
alertSensitivity This property is required. String
The extent of deviation required to trigger an alert. This will affect how tight the threshold is to the metric series pattern.
failingPeriods This property is required. DynamicThresholdFailingPeriodsResponse
The minimum number of violations required within the selected lookback time window required to raise an alert.
metricName This property is required. String
Name of the metric.
name This property is required. String
Name of the criteria.
operator This property is required. String
The operator used to compare the metric value against the threshold.
timeAggregation This property is required. String
the criteria time aggregation types.
dimensions List<MetricDimensionResponse>
List of dimension conditions.
ignoreDataBefore String
Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format)
metricNamespace String
Namespace of the metric.
skipMetricValidation Boolean
Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric validation to be skipped.
alertSensitivity This property is required. string
The extent of deviation required to trigger an alert. This will affect how tight the threshold is to the metric series pattern.
failingPeriods This property is required. DynamicThresholdFailingPeriodsResponse
The minimum number of violations required within the selected lookback time window required to raise an alert.
metricName This property is required. string
Name of the metric.
name This property is required. string
Name of the criteria.
operator This property is required. string
The operator used to compare the metric value against the threshold.
timeAggregation This property is required. string
the criteria time aggregation types.
dimensions MetricDimensionResponse[]
List of dimension conditions.
ignoreDataBefore string
Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format)
metricNamespace string
Namespace of the metric.
skipMetricValidation boolean
Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric validation to be skipped.
alert_sensitivity This property is required. str
The extent of deviation required to trigger an alert. This will affect how tight the threshold is to the metric series pattern.
failing_periods This property is required. DynamicThresholdFailingPeriodsResponse
The minimum number of violations required within the selected lookback time window required to raise an alert.
metric_name This property is required. str
Name of the metric.
name This property is required. str
Name of the criteria.
operator This property is required. str
The operator used to compare the metric value against the threshold.
time_aggregation This property is required. str
the criteria time aggregation types.
dimensions Sequence[MetricDimensionResponse]
List of dimension conditions.
ignore_data_before str
Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format)
metric_namespace str
Namespace of the metric.
skip_metric_validation bool
Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric validation to be skipped.
alertSensitivity This property is required. String
The extent of deviation required to trigger an alert. This will affect how tight the threshold is to the metric series pattern.
failingPeriods This property is required. Property Map
The minimum number of violations required within the selected lookback time window required to raise an alert.
metricName This property is required. String
Name of the metric.
name This property is required. String
Name of the criteria.
operator This property is required. String
The operator used to compare the metric value against the threshold.
timeAggregation This property is required. String
the criteria time aggregation types.
dimensions List<Property Map>
List of dimension conditions.
ignoreDataBefore String
Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format)
metricNamespace String
Namespace of the metric.
skipMetricValidation Boolean
Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric validation to be skipped.

DynamicThresholdFailingPeriodsResponse

MinFailingPeriodsToAlert This property is required. double
The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods.
NumberOfEvaluationPeriods This property is required. double
The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points.
MinFailingPeriodsToAlert This property is required. float64
The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods.
NumberOfEvaluationPeriods This property is required. float64
The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points.
minFailingPeriodsToAlert This property is required. Double
The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods.
numberOfEvaluationPeriods This property is required. Double
The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points.
minFailingPeriodsToAlert This property is required. number
The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods.
numberOfEvaluationPeriods This property is required. number
The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points.
min_failing_periods_to_alert This property is required. float
The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods.
number_of_evaluation_periods This property is required. float
The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points.
minFailingPeriodsToAlert This property is required. Number
The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods.
numberOfEvaluationPeriods This property is required. Number
The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points.

MetricAlertActionResponse

ActionGroupId string
the id of the action group to use.
WebHookProperties Dictionary<string, string>
This field allows specifying custom properties, which would be appended to the alert payload sent as input to the webhook.
ActionGroupId string
the id of the action group to use.
WebHookProperties map[string]string
This field allows specifying custom properties, which would be appended to the alert payload sent as input to the webhook.
actionGroupId String
the id of the action group to use.
webHookProperties Map<String,String>
This field allows specifying custom properties, which would be appended to the alert payload sent as input to the webhook.
actionGroupId string
the id of the action group to use.
webHookProperties {[key: string]: string}
This field allows specifying custom properties, which would be appended to the alert payload sent as input to the webhook.
action_group_id str
the id of the action group to use.
web_hook_properties Mapping[str, str]
This field allows specifying custom properties, which would be appended to the alert payload sent as input to the webhook.
actionGroupId String
the id of the action group to use.
webHookProperties Map<String>
This field allows specifying custom properties, which would be appended to the alert payload sent as input to the webhook.

MetricAlertMultipleResourceMultipleMetricCriteriaResponse

AllOf List<Union<Pulumi.AzureNative.Monitor.Inputs.DynamicMetricCriteriaResponse, Pulumi.AzureNative.Monitor.Inputs.MetricCriteriaResponse>>
the list of multiple metric criteria for this 'all of' operation.
AllOf []interface{}
the list of multiple metric criteria for this 'all of' operation.
allOf List<Either<DynamicMetricCriteriaResponse,MetricCriteriaResponse>>
the list of multiple metric criteria for this 'all of' operation.
allOf (DynamicMetricCriteriaResponse | MetricCriteriaResponse)[]
the list of multiple metric criteria for this 'all of' operation.
all_of Sequence[Union[DynamicMetricCriteriaResponse, MetricCriteriaResponse]]
the list of multiple metric criteria for this 'all of' operation.
allOf List<Property Map | Property Map>
the list of multiple metric criteria for this 'all of' operation.

MetricAlertSingleResourceMultipleMetricCriteriaResponse

AllOf List<Pulumi.AzureNative.Monitor.Inputs.MetricCriteriaResponse>
The list of metric criteria for this 'all of' operation.
AllOf []MetricCriteriaResponse
The list of metric criteria for this 'all of' operation.
allOf List<MetricCriteriaResponse>
The list of metric criteria for this 'all of' operation.
allOf MetricCriteriaResponse[]
The list of metric criteria for this 'all of' operation.
all_of Sequence[MetricCriteriaResponse]
The list of metric criteria for this 'all of' operation.
allOf List<Property Map>
The list of metric criteria for this 'all of' operation.

MetricCriteriaResponse

MetricName This property is required. string
Name of the metric.
Name This property is required. string
Name of the criteria.
Operator This property is required. string
the criteria operator.
Threshold This property is required. double
the criteria threshold value that activates the alert.
TimeAggregation This property is required. string
the criteria time aggregation types.
Dimensions List<Pulumi.AzureNative.Monitor.Inputs.MetricDimensionResponse>
List of dimension conditions.
MetricNamespace string
Namespace of the metric.
SkipMetricValidation bool
Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric validation to be skipped.
MetricName This property is required. string
Name of the metric.
Name This property is required. string
Name of the criteria.
Operator This property is required. string
the criteria operator.
Threshold This property is required. float64
the criteria threshold value that activates the alert.
TimeAggregation This property is required. string
the criteria time aggregation types.
Dimensions []MetricDimensionResponse
List of dimension conditions.
MetricNamespace string
Namespace of the metric.
SkipMetricValidation bool
Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric validation to be skipped.
metricName This property is required. String
Name of the metric.
name This property is required. String
Name of the criteria.
operator This property is required. String
the criteria operator.
threshold This property is required. Double
the criteria threshold value that activates the alert.
timeAggregation This property is required. String
the criteria time aggregation types.
dimensions List<MetricDimensionResponse>
List of dimension conditions.
metricNamespace String
Namespace of the metric.
skipMetricValidation Boolean
Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric validation to be skipped.
metricName This property is required. string
Name of the metric.
name This property is required. string
Name of the criteria.
operator This property is required. string
the criteria operator.
threshold This property is required. number
the criteria threshold value that activates the alert.
timeAggregation This property is required. string
the criteria time aggregation types.
dimensions MetricDimensionResponse[]
List of dimension conditions.
metricNamespace string
Namespace of the metric.
skipMetricValidation boolean
Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric validation to be skipped.
metric_name This property is required. str
Name of the metric.
name This property is required. str
Name of the criteria.
operator This property is required. str
the criteria operator.
threshold This property is required. float
the criteria threshold value that activates the alert.
time_aggregation This property is required. str
the criteria time aggregation types.
dimensions Sequence[MetricDimensionResponse]
List of dimension conditions.
metric_namespace str
Namespace of the metric.
skip_metric_validation bool
Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric validation to be skipped.
metricName This property is required. String
Name of the metric.
name This property is required. String
Name of the criteria.
operator This property is required. String
the criteria operator.
threshold This property is required. Number
the criteria threshold value that activates the alert.
timeAggregation This property is required. String
the criteria time aggregation types.
dimensions List<Property Map>
List of dimension conditions.
metricNamespace String
Namespace of the metric.
skipMetricValidation Boolean
Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric validation to be skipped.

MetricDimensionResponse

Name This property is required. string
Name of the dimension.
Operator This property is required. string
the dimension operator. Only 'Include' and 'Exclude' are supported
Values This property is required. List<string>
list of dimension values.
Name This property is required. string
Name of the dimension.
Operator This property is required. string
the dimension operator. Only 'Include' and 'Exclude' are supported
Values This property is required. []string
list of dimension values.
name This property is required. String
Name of the dimension.
operator This property is required. String
the dimension operator. Only 'Include' and 'Exclude' are supported
values This property is required. List<String>
list of dimension values.
name This property is required. string
Name of the dimension.
operator This property is required. string
the dimension operator. Only 'Include' and 'Exclude' are supported
values This property is required. string[]
list of dimension values.
name This property is required. str
Name of the dimension.
operator This property is required. str
the dimension operator. Only 'Include' and 'Exclude' are supported
values This property is required. Sequence[str]
list of dimension values.
name This property is required. String
Name of the dimension.
operator This property is required. String
the dimension operator. Only 'Include' and 'Exclude' are supported
values This property is required. List<String>
list of dimension values.

WebtestLocationAvailabilityCriteriaResponse

ComponentId This property is required. string
The Application Insights resource Id.
FailedLocationCount This property is required. double
The number of failed locations.
WebTestId This property is required. string
The Application Insights web test Id.
ComponentId This property is required. string
The Application Insights resource Id.
FailedLocationCount This property is required. float64
The number of failed locations.
WebTestId This property is required. string
The Application Insights web test Id.
componentId This property is required. String
The Application Insights resource Id.
failedLocationCount This property is required. Double
The number of failed locations.
webTestId This property is required. String
The Application Insights web test Id.
componentId This property is required. string
The Application Insights resource Id.
failedLocationCount This property is required. number
The number of failed locations.
webTestId This property is required. string
The Application Insights web test Id.
component_id This property is required. str
The Application Insights resource Id.
failed_location_count This property is required. float
The number of failed locations.
web_test_id This property is required. str
The Application Insights web test Id.
componentId This property is required. String
The Application Insights resource Id.
failedLocationCount This property is required. Number
The number of failed locations.
webTestId This property is required. String
The Application Insights web test Id.

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 v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi