Show / Hide Table of Contents

Class MetricAlertState

Inheritance
System.Object
InputArgs
ResourceArgs
MetricAlertState
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.Monitoring
Assembly: Pulumi.Azure.dll
Syntax
public sealed class MetricAlertState : ResourceArgs

Constructors

View Source

MetricAlertState()

Declaration
public MetricAlertState()

Properties

View Source

Actions

One or more action blocks as defined below.

Declaration
public InputList<MetricAlertActionGetArgs> Actions { get; set; }
Property Value
Type Description
InputList<MetricAlertActionGetArgs>
View Source

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>
View Source

Criterias

One or more criteria blocks as defined below.

Declaration
public InputList<MetricAlertCriteriaGetArgs> Criterias { get; set; }
Property Value
Type Description
InputList<MetricAlertCriteriaGetArgs>
View Source

Description

The description of this Metric Alert.

Declaration
public Input<string> Description { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Enabled

Should this Metric Alert be enabled? Defaults to true.

Declaration
public Input<bool> Enabled { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

Tags

A mapping of tags to assign to the resource.

Declaration
public InputMap<string> Tags { get; set; }
Property Value
Type Description
InputMap<System.String>
View Source

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.