Show / Hide Table of Contents

Class ProjectAlertRuleArgs

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

Constructors

View Source

ProjectAlertRuleArgs()

Declaration
public ProjectAlertRuleArgs()

Properties

View Source

Annotations

The project alert rule annotations (map)

Declaration
public InputMap<object> Annotations { get; set; }
Property Value
Type Description
InputMap<System.Object>
View Source

GroupId

The project alert rule alert group ID (string)

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

GroupIntervalSeconds

The project alert rule group interval seconds. Default: 180 (int)

Declaration
public Input<int> GroupIntervalSeconds { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

GroupWaitSeconds

The project alert rule group wait seconds. Default: 180 (int)

Declaration
public Input<int> GroupWaitSeconds { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

Inherited

The project alert rule inherited. Default: true (bool)

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

Labels

The project alert rule labels (map)

Declaration
public InputMap<object> Labels { get; set; }
Property Value
Type Description
InputMap<System.Object>
View Source

MetricRule

The project alert rule metric rule. ConflictsWith: `"pod_rule", "workload_rule"`` (list Maxitems:1)

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

Name

The project alert rule name (string)

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

PodRule

The project alert rule pod rule. ConflictsWith: `"metric_rule", "workload_rule"`` (list Maxitems:1)

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

ProjectId

The project id where create project alert rule (string)

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

RepeatIntervalSeconds

The project alert rule wait seconds. Default: 3600 (int)

Declaration
public Input<int> RepeatIntervalSeconds { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

Severity

The project alert rule severity. Supported values : &quot;critical&quot; | &quot;info&quot; | &quot;warning&quot;. Default: critical (string)

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

WorkloadRule

The project alert rule workload rule. ConflictsWith: `"metric_rule", "pod_rule"`` (list Maxitems:1)

Declaration
public Input<ProjectAlertRuleWorkloadRuleArgs> WorkloadRule { get; set; }
Property Value
Type Description
Input<ProjectAlertRuleWorkloadRuleArgs>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.