Class ProjectAlertRuleArgs
Inherited Members
Namespace: Pulumi.Rancher2
Assembly: Pulumi.Rancher2.dll
Syntax
public sealed class ProjectAlertRuleArgs : ResourceArgs
Constructors
View SourceProjectAlertRuleArgs()
Declaration
public ProjectAlertRuleArgs()
Properties
View SourceAnnotations
The project alert rule annotations (map)
Declaration
public InputMap<object> Annotations { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
GroupId
The project alert rule alert group ID (string)
Declaration
public Input<string> GroupId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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> |
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> |
Inherited
The project alert rule inherited. Default: true (bool)
Declaration
public Input<bool> Inherited { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Labels
The project alert rule labels (map)
Declaration
public InputMap<object> Labels { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
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> |
Name
The project alert rule name (string)
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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> |
ProjectId
The project id where create project alert rule (string)
Declaration
public Input<string> ProjectId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RepeatIntervalSeconds
The project alert rule wait seconds. Default: 3600 (int)
Declaration
public Input<int> RepeatIntervalSeconds { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Severity
The project 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> |
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> |