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, opts=None, annotations=None, cluster_id=None, description=None, group_interval_seconds=None, group_wait_seconds=None, labels=None, name=None, recipients=None, repeat_interval_seconds=None, __props__=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:
- Cluster
Id string The cluster id where create cluster alert group (string)
- Annotations Dictionary<string, object>
The cluster alert group annotations (map)
- Description string
The cluster alert group description (string)
- Group
Interval intSeconds The cluster alert group interval seconds. Default:
180(int)- Group
Wait intSeconds The cluster alert group wait seconds. Default:
180(int)- Labels Dictionary<string, object>
The cluster alert group labels (map)
- Name string
The cluster alert group name (string)
- Recipients
List<Cluster
Alter Group Recipient Args> The cluster alert group recipients (list)
- Repeat
Interval intSeconds The cluster alert group wait seconds. Default:
3600(int)
- Cluster
Id string The cluster id where create cluster alert group (string)
- Annotations map[string]interface{}
The cluster alert group annotations (map)
- Description string
The cluster alert group description (string)
- Group
Interval intSeconds The cluster alert group interval seconds. Default:
180(int)- Group
Wait intSeconds The cluster alert group wait seconds. Default:
180(int)- Labels map[string]interface{}
The cluster alert group labels (map)
- Name string
The cluster alert group name (string)
- Recipients
[]Cluster
Alter Group Recipient The cluster alert group recipients (list)
- Repeat
Interval intSeconds The cluster alert group wait seconds. Default:
3600(int)
- cluster
Id string The cluster id where create cluster alert group (string)
- annotations {[key: string]: any}
The cluster alert group annotations (map)
- description string
The cluster alert group description (string)
- group
Interval numberSeconds The cluster alert group interval seconds. Default:
180(int)- group
Wait numberSeconds The cluster alert group wait seconds. Default:
180(int)- labels {[key: string]: any}
The cluster alert group labels (map)
- name string
The cluster alert group name (string)
- recipients
Cluster
Alter Group Recipient[] The cluster alert group recipients (list)
- repeat
Interval numberSeconds The cluster alert group wait seconds. Default:
3600(int)
- cluster_
id str The cluster id where create cluster alert group (string)
- annotations Dict[str, Any]
The cluster alert group annotations (map)
- description str
The cluster alert group description (string)
- group_
interval_ floatseconds The cluster alert group interval seconds. Default:
180(int)- group_
wait_ floatseconds The cluster alert group wait seconds. Default:
180(int)- labels Dict[str, Any]
The cluster alert group labels (map)
- name str
The cluster alert group name (string)
- recipients
List[Cluster
Alter Group Recipient] The cluster alert group recipients (list)
- repeat_
interval_ floatseconds The cluster alert group wait seconds. Default:
3600(int)
Outputs
All input properties are implicitly available as output properties. Additionally, the ClusterAlterGroup resource produces the following output properties:
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): ClusterAlterGroupstatic get(resource_name, id, opts=None, annotations=None, cluster_id=None, description=None, group_interval_seconds=None, group_wait_seconds=None, labels=None, name=None, recipients=None, repeat_interval_seconds=None, __props__=None);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>
The cluster alert group annotations (map)
- Cluster
Id string The cluster id where create cluster alert group (string)
- Description string
The cluster alert group description (string)
- Group
Interval intSeconds The cluster alert group interval seconds. Default:
180(int)- Group
Wait intSeconds The cluster alert group wait seconds. Default:
180(int)- Labels Dictionary<string, object>
The cluster alert group labels (map)
- Name string
The cluster alert group name (string)
- Recipients
List<Cluster
Alter Group Recipient Args> The cluster alert group recipients (list)
- Repeat
Interval intSeconds The cluster alert group wait seconds. Default:
3600(int)
- Annotations map[string]interface{}
The cluster alert group annotations (map)
- Cluster
Id string The cluster id where create cluster alert group (string)
- Description string
The cluster alert group description (string)
- Group
Interval intSeconds The cluster alert group interval seconds. Default:
180(int)- Group
Wait intSeconds The cluster alert group wait seconds. Default:
180(int)- Labels map[string]interface{}
The cluster alert group labels (map)
- Name string
The cluster alert group name (string)
- Recipients
[]Cluster
Alter Group Recipient The cluster alert group recipients (list)
- Repeat
Interval intSeconds The cluster alert group wait seconds. Default:
3600(int)
- annotations {[key: string]: any}
The cluster alert group annotations (map)
- cluster
Id string The cluster id where create cluster alert group (string)
- description string
The cluster alert group description (string)
- group
Interval numberSeconds The cluster alert group interval seconds. Default:
180(int)- group
Wait numberSeconds The cluster alert group wait seconds. Default:
180(int)- labels {[key: string]: any}
The cluster alert group labels (map)
- name string
The cluster alert group name (string)
- recipients
Cluster
Alter Group Recipient[] The cluster alert group recipients (list)
- repeat
Interval numberSeconds The cluster alert group wait seconds. Default:
3600(int)
- annotations Dict[str, Any]
The cluster alert group annotations (map)
- cluster_
id str The cluster id where create cluster alert group (string)
- description str
The cluster alert group description (string)
- group_
interval_ floatseconds The cluster alert group interval seconds. Default:
180(int)- group_
wait_ floatseconds The cluster alert group wait seconds. Default:
180(int)- labels Dict[str, Any]
The cluster alert group labels (map)
- name str
The cluster alert group name (string)
- recipients
List[Cluster
Alter Group Recipient] The cluster alert group recipients (list)
- repeat_
interval_ floatseconds The cluster alert group wait seconds. Default:
3600(int)
Supporting Types
ClusterAlterGroupRecipient
- Notifier
Id string Recipient notifier ID (string)
- Default
Recipient bool Use notifier default recipient, overriding
recipientargument if set. Default:false(bool)- Notifier
Type string Recipient notifier ID. Supported values :
"pagerduty" | "slack" | "email" | "webhook" | "wechat"(string)- Recipient string
Recipient (string)
- Notifier
Id string Recipient notifier ID (string)
- Default
Recipient bool Use notifier default recipient, overriding
recipientargument if set. Default:false(bool)- Notifier
Type string Recipient notifier ID. Supported values :
"pagerduty" | "slack" | "email" | "webhook" | "wechat"(string)- Recipient string
Recipient (string)
- notifier
Id string Recipient notifier ID (string)
- default
Recipient boolean Use notifier default recipient, overriding
recipientargument if set. Default:false(bool)- notifier
Type string Recipient notifier ID. Supported values :
"pagerduty" | "slack" | "email" | "webhook" | "wechat"(string)- recipient string
Recipient (string)
- notifier
Id str Recipient notifier ID (string)
- default
Recipient bool Use notifier default recipient, overriding
recipientargument if set. Default:false(bool)- notifier
Type str Recipient notifier ID. Supported values :
"pagerduty" | "slack" | "email" | "webhook" | "wechat"(string)- recipient str
Recipient (string)
Package Details
- Repository
- https://github.com/pulumi/pulumi-rancher2
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rancher2Terraform Provider.