Class AlertPolicyCheck
AlertPolicyCheck configures a set of Cloud Monitoring alerting policies that will be periodically polled for alerts. If any of the listed policies have an active alert, the analysis check will fail.
Implements
Inherited Members
Namespace: Google.Apis.CloudDeploy.v1.Data
Assembly: Google.Apis.CloudDeploy.v1.dll
Syntax
public class AlertPolicyCheck : IDirectResponseSchema
Properties
AlertPolicies
Required. The Cloud Monitoring Alert Policies to check for active alerts. Format is
projects/{project}/alertPolicies/{alert_policy}.
Declaration
[JsonProperty("alertPolicies")]
public virtual IList<string> AlertPolicies { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Id
Required. The ID of the analysis check.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Labels
Optional. A set of labels to filter active alerts. If set, only alerts having all of the specified labels will be considered. Otherwise, all active alerts will be considered.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, string> |