Class ClusterAlterRuleState
Inherited Members
Namespace: Pulumi.Rancher2
Assembly: Pulumi.Rancher2.dll
Syntax
public sealed class ClusterAlterRuleState : ResourceArgs
Constructors
View SourceClusterAlterRuleState()
Declaration
public ClusterAlterRuleState()
Properties
View SourceAnnotations
The cluster alert rule annotations (map)
Declaration
public InputMap<object> Annotations { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
ClusterId
The cluster id where create cluster alert rule (string)
Declaration
public Input<string> ClusterId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
EventRule
The cluster alert rule event rule. ConflictsWith: `"metric_rule", "node_rule", "system_service_rule"`` (list Maxitems:1)
Declaration
public Input<ClusterAlterRuleEventRuleGetArgs> EventRule { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ClusterAlterRuleEventRuleGetArgs> |
GroupId
The cluster alert rule alert group ID (string)
Declaration
public Input<string> GroupId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
GroupIntervalSeconds
The cluster alert rule group interval seconds. Default: 180 (int)
Declaration
public Input<int> GroupIntervalSeconds { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
GroupWaitSeconds
The cluster alert rule group wait seconds. Default: 180 (int)
Declaration
public Input<int> GroupWaitSeconds { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Inherited
The cluster alert rule inherited. Default: true (bool)
Declaration
public Input<bool> Inherited { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Labels
The cluster alert rule labels (map)
Declaration
public InputMap<object> Labels { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
MetricRule
The cluster alert rule metric rule. ConflictsWith: `"event_rule", "node_rule", "system_service_rule"`` (list Maxitems:1)
Declaration
public Input<ClusterAlterRuleMetricRuleGetArgs> MetricRule { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ClusterAlterRuleMetricRuleGetArgs> |
Name
The cluster alert rule name (string)
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
NodeRule
The cluster alert rule node rule. ConflictsWith: `"event_rule", "metric_rule", "system_service_rule"`` (list Maxitems:1)
Declaration
public Input<ClusterAlterRuleNodeRuleGetArgs> NodeRule { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ClusterAlterRuleNodeRuleGetArgs> |
RepeatIntervalSeconds
The cluster alert rule wait seconds. Default: 3600 (int)
Declaration
public Input<int> RepeatIntervalSeconds { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Severity
The cluster alert rule severity. Supported values : "critical" | "info" | "warning". Default: critical (string)
Declaration
public Input<string> Severity { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SystemServiceRule
The cluster alert rule system service rule. ConflictsWith: `"event_rule", "metric_rule", "node_rule"`` (list Maxitems:1)
Declaration
public Input<ClusterAlterRuleSystemServiceRuleGetArgs> SystemServiceRule { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ClusterAlterRuleSystemServiceRuleGetArgs> |