Show / Hide Table of Contents

Class AlertPolicyArgs

Inheritance
System.Object
InputArgs
ResourceArgs
AlertPolicyArgs
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.Gcp.Monitoring
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class AlertPolicyArgs : ResourceArgs

Constructors

View Source

AlertPolicyArgs()

Declaration
public AlertPolicyArgs()

Properties

View Source

Combiner

How to combine the results of multiple conditions to determine if an incident should be opened.

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

Conditions

A list of conditions for the policy. The conditions are combined by AND or OR according to the combiner field. If the combined conditions evaluate to true, then an incident is created. A policy can have from one to six conditions. Structure is documented below.

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

DisplayName

A short name or phrase used to identify the condition in dashboards, notifications, and incidents. To avoid confusion, don't use the same display name for multiple conditions in the same policy.

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

Documentation

A short name or phrase used to identify the policy in dashboards, notifications, and incidents. To avoid confusion, don't use the same display name for multiple policies in the same project. The name is limited to 512 Unicode characters. Structure is documented below.

Declaration
public Input<AlertPolicyDocumentationArgs> Documentation { get; set; }
Property Value
Type Description
Input<AlertPolicyDocumentationArgs>
View Source

Enabled

Whether or not the policy is enabled. The default is true.

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

NotificationChannels

Identifies the notification channels to which notifications should be sent when incidents are opened or closed or when new violations occur on an already opened incident. Each element of this array corresponds to the name field in each of the NotificationChannel objects that are returned from the notificationChannels.list method. The syntax of the entries in this field is projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]

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

Project

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

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

UserLabels

This field is intended to be used for organizing and identifying the AlertPolicy objects.The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.

Declaration
public InputMap<string> UserLabels { get; set; }
Property Value
Type Description
InputMap<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.