Ready to level-up your engineering skills? Join a Pulumi Workshop. Register Now

ClusterAlterGroup

Deprecated: rancher2.ClusterAlterGroup has been deprecated in favor of rancher2.ClusterAlertGroup

Create a ClusterAlterGroup Resource

new ClusterAlterGroup(name: string, args: ClusterAlterGroupArgs, opts?: CustomResourceOptions);
def ClusterAlterGroup(resource_name: str, opts: Optional[ResourceOptions] = None, annotations: Optional[Mapping[str, Any]] = None, cluster_id: Optional[str] = None, description: Optional[str] = None, group_interval_seconds: Optional[int] = None, group_wait_seconds: Optional[int] = None, labels: Optional[Mapping[str, Any]] = None, name: Optional[str] = None, recipients: Optional[Sequence[ClusterAlterGroupRecipientArgs]] = None, repeat_interval_seconds: Optional[int] = None)
func NewClusterAlterGroup(ctx *Context, name string, args ClusterAlterGroupArgs, opts ...ResourceOption) (*ClusterAlterGroup, error)
public ClusterAlterGroup(string name, ClusterAlterGroupArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ClusterAlterGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ClusterAlterGroupArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ClusterAlterGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ClusterAlterGroup Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The ClusterAlterGroup resource accepts the following input properties:

ClusterId string

Alert group Cluster ID

Annotations Dictionary<string, object>

Annotations of the resource

Description string

Alert group description

GroupIntervalSeconds int

Alert group interval seconds

GroupWaitSeconds int

Alert group wait seconds

Labels Dictionary<string, object>

Labels of the resource

Name string

Alert group name

Recipients List<ClusterAlterGroupRecipientArgs>

Alert group recipients

RepeatIntervalSeconds int

Alert group repeat interval seconds

ClusterId string

Alert group Cluster ID

Annotations map[string]interface{}

Annotations of the resource

Description string

Alert group description

GroupIntervalSeconds int

Alert group interval seconds

GroupWaitSeconds int

Alert group wait seconds

Labels map[string]interface{}

Labels of the resource

Name string

Alert group name

Recipients []ClusterAlterGroupRecipient

Alert group recipients

RepeatIntervalSeconds int

Alert group repeat interval seconds

clusterId string

Alert group Cluster ID

annotations {[key: string]: any}

Annotations of the resource

description string

Alert group description

groupIntervalSeconds number

Alert group interval seconds

groupWaitSeconds number

Alert group wait seconds

labels {[key: string]: any}

Labels of the resource

name string

Alert group name

recipients ClusterAlterGroupRecipient[]

Alert group recipients

repeatIntervalSeconds number

Alert group repeat interval seconds

cluster_id str

Alert group Cluster ID

annotations Mapping[str, Any]

Annotations of the resource

description str

Alert group description

group_interval_seconds int

Alert group interval seconds

group_wait_seconds int

Alert group wait seconds

labels Mapping[str, Any]

Labels of the resource

name str

Alert group name

recipients Sequence[ClusterAlterGroupRecipientArgs]

Alert group recipients

repeat_interval_seconds int

Alert group repeat interval seconds

Outputs

All input properties are implicitly available as output properties. Additionally, the ClusterAlterGroup resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing ClusterAlterGroup Resource

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

public static get(name: string, id: Input<ID>, state?: ClusterAlterGroupState, opts?: CustomResourceOptions): ClusterAlterGroup
@staticmethod
def get(resource_name: str, id: str, opts: Optional[ResourceOptions] = None, annotations: Optional[Mapping[str, Any]] = None, cluster_id: Optional[str] = None, description: Optional[str] = None, group_interval_seconds: Optional[int] = None, group_wait_seconds: Optional[int] = None, labels: Optional[Mapping[str, Any]] = None, name: Optional[str] = None, recipients: Optional[Sequence[ClusterAlterGroupRecipientArgs]] = None, repeat_interval_seconds: Optional[int] = None) -> ClusterAlterGroup
func GetClusterAlterGroup(ctx *Context, name string, id IDInput, state *ClusterAlterGroupState, opts ...ResourceOption) (*ClusterAlterGroup, error)
public static ClusterAlterGroup Get(string name, Input<string> id, ClusterAlterGroupState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Annotations Dictionary<string, object>

Annotations of the resource

ClusterId string

Alert group Cluster ID

Description string

Alert group description

GroupIntervalSeconds int

Alert group interval seconds

GroupWaitSeconds int

Alert group wait seconds

Labels Dictionary<string, object>

Labels of the resource

Name string

Alert group name

Recipients List<ClusterAlterGroupRecipientArgs>

Alert group recipients

RepeatIntervalSeconds int

Alert group repeat interval seconds

Annotations map[string]interface{}

Annotations of the resource

ClusterId string

Alert group Cluster ID

Description string

Alert group description

GroupIntervalSeconds int

Alert group interval seconds

GroupWaitSeconds int

Alert group wait seconds

Labels map[string]interface{}

Labels of the resource

Name string

Alert group name

Recipients []ClusterAlterGroupRecipient

Alert group recipients

RepeatIntervalSeconds int

Alert group repeat interval seconds

annotations {[key: string]: any}

Annotations of the resource

clusterId string

Alert group Cluster ID

description string

Alert group description

groupIntervalSeconds number

Alert group interval seconds

groupWaitSeconds number

Alert group wait seconds

labels {[key: string]: any}

Labels of the resource

name string

Alert group name

recipients ClusterAlterGroupRecipient[]

Alert group recipients

repeatIntervalSeconds number

Alert group repeat interval seconds

annotations Mapping[str, Any]

Annotations of the resource

cluster_id str

Alert group Cluster ID

description str

Alert group description

group_interval_seconds int

Alert group interval seconds

group_wait_seconds int

Alert group wait seconds

labels Mapping[str, Any]

Labels of the resource

name str

Alert group name

recipients Sequence[ClusterAlterGroupRecipientArgs]

Alert group recipients

repeat_interval_seconds int

Alert group repeat interval seconds

Supporting Types

ClusterAlterGroupRecipient

Package Details

Repository
https://github.com/pulumi/pulumi-rancher2
License
Apache-2.0
Notes
This Pulumi package is based on the rancher2 Terraform Provider.