Class ClusterAlterRuleArgs
Inherited Members
Namespace: Pulumi.Rancher2
Assembly: Pulumi.Rancher2.dll
Syntax
public sealed class ClusterAlterRuleArgs : ResourceArgs
Constructors
View SourceClusterAlterRuleArgs()
Declaration
public ClusterAlterRuleArgs()
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<ClusterAlterRuleEventRuleArgs> EventRule { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ClusterAlterRuleEventRuleArgs> |
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<ClusterAlterRuleMetricRuleArgs> MetricRule { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ClusterAlterRuleMetricRuleArgs> |
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<ClusterAlterRuleNodeRuleArgs> NodeRule { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ClusterAlterRuleNodeRuleArgs> |
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<ClusterAlterRuleSystemServiceRuleArgs> SystemServiceRule { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ClusterAlterRuleSystemServiceRuleArgs> |