ProjectAlertGroup

Create a ProjectAlertGroup Resource

def ProjectAlertGroup(resource_name, opts=None, annotations=None, description=None, group_interval_seconds=None, group_wait_seconds=None, labels=None, name=None, project_id=None, recipients=None, repeat_interval_seconds=None, __props__=None);
name string
The unique name of the resource.
args ProjectAlertGroupArgs
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 ProjectAlertGroupArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ProjectAlertGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ProjectAlertGroup Resource Properties

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

Inputs

The ProjectAlertGroup resource accepts the following input properties:

ProjectId string

The project id where create project alert group (string)

Annotations Dictionary<string, object>

The project alert group annotations (map)

Description string

The project alert group description (string)

GroupIntervalSeconds int

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

GroupWaitSeconds int

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

Labels Dictionary<string, object>

The project alert group labels (map)

Name string

The project alert group name (string)

Recipients List<ProjectAlertGroupRecipientArgs>

The project alert group recipients (list)

RepeatIntervalSeconds int

The project alert group wait seconds. Default: 3600 (int)

ProjectId string

The project id where create project alert group (string)

Annotations map[string]interface{}

The project alert group annotations (map)

Description string

The project alert group description (string)

GroupIntervalSeconds int

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

GroupWaitSeconds int

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

Labels map[string]interface{}

The project alert group labels (map)

Name string

The project alert group name (string)

Recipients []ProjectAlertGroupRecipient

The project alert group recipients (list)

RepeatIntervalSeconds int

The project alert group wait seconds. Default: 3600 (int)

projectId string

The project id where create project alert group (string)

annotations {[key: string]: any}

The project alert group annotations (map)

description string

The project alert group description (string)

groupIntervalSeconds number

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

groupWaitSeconds number

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

labels {[key: string]: any}

The project alert group labels (map)

name string

The project alert group name (string)

recipients ProjectAlertGroupRecipient[]

The project alert group recipients (list)

repeatIntervalSeconds number

The project alert group wait seconds. Default: 3600 (int)

project_id str

The project id where create project alert group (string)

annotations Dict[str, Any]

The project alert group annotations (map)

description str

The project alert group description (string)

group_interval_seconds float

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

group_wait_seconds float

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

labels Dict[str, Any]

The project alert group labels (map)

name str

The project alert group name (string)

recipients List[ProjectAlertGroupRecipient]

The project alert group recipients (list)

repeat_interval_seconds float

The project alert group wait seconds. Default: 3600 (int)

Outputs

All input properties are implicitly available as output properties. Additionally, the ProjectAlertGroup 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 ProjectAlertGroup Resource

Get an existing ProjectAlertGroup 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?: ProjectAlertGroupState, opts?: CustomResourceOptions): ProjectAlertGroup
static get(resource_name, id, opts=None, annotations=None, description=None, group_interval_seconds=None, group_wait_seconds=None, labels=None, name=None, project_id=None, recipients=None, repeat_interval_seconds=None, __props__=None);
func GetProjectAlertGroup(ctx *Context, name string, id IDInput, state *ProjectAlertGroupState, opts ...ResourceOption) (*ProjectAlertGroup, error)
public static ProjectAlertGroup Get(string name, Input<string> id, ProjectAlertGroupState? 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 project alert group annotations (map)

Description string

The project alert group description (string)

GroupIntervalSeconds int

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

GroupWaitSeconds int

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

Labels Dictionary<string, object>

The project alert group labels (map)

Name string

The project alert group name (string)

ProjectId string

The project id where create project alert group (string)

Recipients List<ProjectAlertGroupRecipientArgs>

The project alert group recipients (list)

RepeatIntervalSeconds int

The project alert group wait seconds. Default: 3600 (int)

Annotations map[string]interface{}

The project alert group annotations (map)

Description string

The project alert group description (string)

GroupIntervalSeconds int

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

GroupWaitSeconds int

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

Labels map[string]interface{}

The project alert group labels (map)

Name string

The project alert group name (string)

ProjectId string

The project id where create project alert group (string)

Recipients []ProjectAlertGroupRecipient

The project alert group recipients (list)

RepeatIntervalSeconds int

The project alert group wait seconds. Default: 3600 (int)

annotations {[key: string]: any}

The project alert group annotations (map)

description string

The project alert group description (string)

groupIntervalSeconds number

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

groupWaitSeconds number

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

labels {[key: string]: any}

The project alert group labels (map)

name string

The project alert group name (string)

projectId string

The project id where create project alert group (string)

recipients ProjectAlertGroupRecipient[]

The project alert group recipients (list)

repeatIntervalSeconds number

The project alert group wait seconds. Default: 3600 (int)

annotations Dict[str, Any]

The project alert group annotations (map)

description str

The project alert group description (string)

group_interval_seconds float

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

group_wait_seconds float

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

labels Dict[str, Any]

The project alert group labels (map)

name str

The project alert group name (string)

project_id str

The project id where create project alert group (string)

recipients List[ProjectAlertGroupRecipient]

The project alert group recipients (list)

repeat_interval_seconds float

The project alert group wait seconds. Default: 3600 (int)

Supporting Types

ProjectAlertGroupRecipient

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

NotifierId string

Recipient notifier ID (string)

DefaultRecipient bool
NotifierType string

Recipient notifier ID. Supported values : "pagerduty" | "slack" | "email" | "webhook" | "wechat" (string)

Recipient string

Recipient (string)

NotifierId string

Recipient notifier ID (string)

DefaultRecipient bool
NotifierType string

Recipient notifier ID. Supported values : "pagerduty" | "slack" | "email" | "webhook" | "wechat" (string)

Recipient string

Recipient (string)

notifierId string

Recipient notifier ID (string)

defaultRecipient boolean
notifierType string

Recipient notifier ID. Supported values : "pagerduty" | "slack" | "email" | "webhook" | "wechat" (string)

recipient string

Recipient (string)

notifierId str

Recipient notifier ID (string)

defaultRecipient bool
notifierType 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 rancher2 Terraform Provider.