Class MetricAlertState
Inherited Members
Namespace: Pulumi.Azure.Monitoring
Assembly: Pulumi.Azure.dll
Syntax
public sealed class MetricAlertState : ResourceArgs
Constructors
View SourceMetricAlertState()
Declaration
public MetricAlertState()
Properties
View SourceActions
One or more action blocks as defined below.
Declaration
public InputList<MetricAlertActionGetArgs> Actions { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<MetricAlertActionGetArgs> |
AutoMitigate
Should the alerts in this Metric Alert be auto resolved? Defaults to true.
Declaration
public Input<bool> AutoMitigate { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Criterias
One or more criteria blocks as defined below.
Declaration
public InputList<MetricAlertCriteriaGetArgs> Criterias { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<MetricAlertCriteriaGetArgs> |
Description
The description of this Metric Alert.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Enabled
Should this Metric Alert be enabled? Defaults to true.
Declaration
public Input<bool> Enabled { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Frequency
The evaluation frequency of this Metric Alert, represented in ISO 8601 duration format. Possible values are PT1M, PT5M, PT15M, PT30M and PT1H. Defaults to PT1M.
Declaration
public Input<string> Frequency { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
The name of the Metric Alert. Changing this forces a new resource to be created.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ResourceGroupName
The name of the resource group in which to create the Metric Alert instance.
Declaration
public Input<string> ResourceGroupName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Scopes
A set of strings of resource IDs at which the metric criteria should be applied.
Declaration
public Input<string> Scopes { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Severity
The severity of this Metric Alert. Possible values are 0, 1, 2, 3 and 4. Defaults to 3.
Declaration
public Input<int> Severity { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Tags
A mapping of tags to assign to the resource.
Declaration
public InputMap<string> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.String> |
WindowSize
The period of time that is used to monitor alert activity, represented in ISO 8601 duration format. This value must be greater than frequency. Possible values are PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H and P1D. Defaults to PT5M.
Declaration
public Input<string> WindowSize { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |