Show / Hide Table of Contents

Class ClusterAlterRule

Inheritance
System.Object
Resource
CustomResource
ClusterAlterRule
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
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 class ClusterAlterRule : CustomResource

Constructors

View Source

ClusterAlterRule(String, ClusterAlterRuleArgs, CustomResourceOptions)

Create a ClusterAlterRule resource with the given unique name, arguments, and options.

Declaration
public ClusterAlterRule(string name, ClusterAlterRuleArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

ClusterAlterRuleArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Annotations

The cluster alert rule annotations (map)

Declaration
public Output<ImmutableDictionary<string, object>> Annotations { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>
View Source

ClusterId

The cluster id where create cluster alert rule (string)

Declaration
public Output<string> ClusterId { get; }
Property Value
Type Description
Output<System.String>
View Source

EventRule

The cluster alert rule event rule. ConflictsWith: `"metric_rule", "node_rule", "system_service_rule"`` (list Maxitems:1)

Declaration
public Output<ClusterAlterRuleEventRule> EventRule { get; }
Property Value
Type Description
Output<ClusterAlterRuleEventRule>
View Source

GroupId

The cluster alert rule alert group ID (string)

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

GroupIntervalSeconds

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

Declaration
public Output<int?> GroupIntervalSeconds { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

GroupWaitSeconds

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

Declaration
public Output<int?> GroupWaitSeconds { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

Inherited

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

Declaration
public Output<bool?> Inherited { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

Labels

The cluster alert rule labels (map)

Declaration
public Output<ImmutableDictionary<string, object>> Labels { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>
View Source

MetricRule

The cluster alert rule metric rule. ConflictsWith: `"event_rule", "node_rule", "system_service_rule"`` (list Maxitems:1)

Declaration
public Output<ClusterAlterRuleMetricRule> MetricRule { get; }
Property Value
Type Description
Output<ClusterAlterRuleMetricRule>
View Source

Name

The cluster alert rule name (string)

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

NodeRule

The cluster alert rule node rule. ConflictsWith: `"event_rule", "metric_rule", "system_service_rule"`` (list Maxitems:1)

Declaration
public Output<ClusterAlterRuleNodeRule> NodeRule { get; }
Property Value
Type Description
Output<ClusterAlterRuleNodeRule>
View Source

RepeatIntervalSeconds

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

Declaration
public Output<int?> RepeatIntervalSeconds { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

Severity

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

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

SystemServiceRule

The cluster alert rule system service rule. ConflictsWith: `"event_rule", "metric_rule", "node_rule"`` (list Maxitems:1)

Declaration
public Output<ClusterAlterRuleSystemServiceRule> SystemServiceRule { get; }
Property Value
Type Description
Output<ClusterAlterRuleSystemServiceRule>

Methods

View Source

Get(String, Input<String>, ClusterAlterRuleState, CustomResourceOptions)

Get an existing ClusterAlterRule resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static ClusterAlterRule Get(string name, Input<string> id, ClusterAlterRuleState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

ClusterAlterRuleState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
ClusterAlterRule
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.