rootly.IncidentType
Explore with Pulumi AI
Create IncidentType Resource
new IncidentType(name: string, args?: IncidentTypeArgs, opts?: CustomResourceOptions);
@overload
def IncidentType(resource_name: str,
opts: Optional[ResourceOptions] = None,
color: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None,
notify_emails: Optional[Sequence[str]] = None,
position: Optional[int] = None,
slack_aliases: Optional[Sequence[IncidentTypeSlackAliasArgs]] = None,
slack_channels: Optional[Sequence[IncidentTypeSlackChannelArgs]] = None,
slug: Optional[str] = None)
@overload
def IncidentType(resource_name: str,
args: Optional[IncidentTypeArgs] = None,
opts: Optional[ResourceOptions] = None)
func NewIncidentType(ctx *Context, name string, args *IncidentTypeArgs, opts ...ResourceOption) (*IncidentType, error)
public IncidentType(string name, IncidentTypeArgs? args = null, CustomResourceOptions? opts = null)
public IncidentType(String name, IncidentTypeArgs args)
public IncidentType(String name, IncidentTypeArgs args, CustomResourceOptions options)
type: rootly:IncidentType
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IncidentTypeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args IncidentTypeArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args IncidentTypeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IncidentTypeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IncidentTypeArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
IncidentType Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The IncidentType resource accepts the following input properties:
- Color string
- Description string
The description of the incident type
- Name string
The name of the incident type
- Notify
Emails List<string> Emails to attach to the incident type
- Position int
Position of the incident type
- Slack
Aliases List<IncidentType Slack Alias> Slack Aliases associated with this incident type
- Slack
Channels List<IncidentType Slack Channel> Slack Channels associated with this incident type
- Slug string
The slug of the incident type
- Color string
- Description string
The description of the incident type
- Name string
The name of the incident type
- Notify
Emails []string Emails to attach to the incident type
- Position int
Position of the incident type
- Slack
Aliases []IncidentType Slack Alias Args Slack Aliases associated with this incident type
- Slack
Channels []IncidentType Slack Channel Args Slack Channels associated with this incident type
- Slug string
The slug of the incident type
- color String
- description String
The description of the incident type
- name String
The name of the incident type
- notify
Emails List<String> Emails to attach to the incident type
- position Integer
Position of the incident type
- slack
Aliases List<IncidentType Slack Alias> Slack Aliases associated with this incident type
- slack
Channels List<IncidentType Slack Channel> Slack Channels associated with this incident type
- slug String
The slug of the incident type
- color string
- description string
The description of the incident type
- name string
The name of the incident type
- notify
Emails string[] Emails to attach to the incident type
- position number
Position of the incident type
- slack
Aliases IncidentType Slack Alias[] Slack Aliases associated with this incident type
- slack
Channels IncidentType Slack Channel[] Slack Channels associated with this incident type
- slug string
The slug of the incident type
- color str
- description str
The description of the incident type
- name str
The name of the incident type
- notify_
emails Sequence[str] Emails to attach to the incident type
- position int
Position of the incident type
- slack_
aliases Sequence[IncidentType Slack Alias Args] Slack Aliases associated with this incident type
- slack_
channels Sequence[IncidentType Slack Channel Args] Slack Channels associated with this incident type
- slug str
The slug of the incident type
- color String
- description String
The description of the incident type
- name String
The name of the incident type
- notify
Emails List<String> Emails to attach to the incident type
- position Number
Position of the incident type
- slack
Aliases List<Property Map> Slack Aliases associated with this incident type
- slack
Channels List<Property Map> Slack Channels associated with this incident type
- slug String
The slug of the incident type
Outputs
All input properties are implicitly available as output properties. Additionally, the IncidentType 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 string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing IncidentType Resource
Get an existing IncidentType 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?: IncidentTypeState, opts?: CustomResourceOptions): IncidentType
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
color: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None,
notify_emails: Optional[Sequence[str]] = None,
position: Optional[int] = None,
slack_aliases: Optional[Sequence[IncidentTypeSlackAliasArgs]] = None,
slack_channels: Optional[Sequence[IncidentTypeSlackChannelArgs]] = None,
slug: Optional[str] = None) -> IncidentType
func GetIncidentType(ctx *Context, name string, id IDInput, state *IncidentTypeState, opts ...ResourceOption) (*IncidentType, error)
public static IncidentType Get(string name, Input<string> id, IncidentTypeState? state, CustomResourceOptions? opts = null)
public static IncidentType get(String name, Output<String> id, IncidentTypeState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- 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.
- Color string
- Description string
The description of the incident type
- Name string
The name of the incident type
- Notify
Emails List<string> Emails to attach to the incident type
- Position int
Position of the incident type
- Slack
Aliases List<IncidentType Slack Alias> Slack Aliases associated with this incident type
- Slack
Channels List<IncidentType Slack Channel> Slack Channels associated with this incident type
- Slug string
The slug of the incident type
- Color string
- Description string
The description of the incident type
- Name string
The name of the incident type
- Notify
Emails []string Emails to attach to the incident type
- Position int
Position of the incident type
- Slack
Aliases []IncidentType Slack Alias Args Slack Aliases associated with this incident type
- Slack
Channels []IncidentType Slack Channel Args Slack Channels associated with this incident type
- Slug string
The slug of the incident type
- color String
- description String
The description of the incident type
- name String
The name of the incident type
- notify
Emails List<String> Emails to attach to the incident type
- position Integer
Position of the incident type
- slack
Aliases List<IncidentType Slack Alias> Slack Aliases associated with this incident type
- slack
Channels List<IncidentType Slack Channel> Slack Channels associated with this incident type
- slug String
The slug of the incident type
- color string
- description string
The description of the incident type
- name string
The name of the incident type
- notify
Emails string[] Emails to attach to the incident type
- position number
Position of the incident type
- slack
Aliases IncidentType Slack Alias[] Slack Aliases associated with this incident type
- slack
Channels IncidentType Slack Channel[] Slack Channels associated with this incident type
- slug string
The slug of the incident type
- color str
- description str
The description of the incident type
- name str
The name of the incident type
- notify_
emails Sequence[str] Emails to attach to the incident type
- position int
Position of the incident type
- slack_
aliases Sequence[IncidentType Slack Alias Args] Slack Aliases associated with this incident type
- slack_
channels Sequence[IncidentType Slack Channel Args] Slack Channels associated with this incident type
- slug str
The slug of the incident type
- color String
- description String
The description of the incident type
- name String
The name of the incident type
- notify
Emails List<String> Emails to attach to the incident type
- position Number
Position of the incident type
- slack
Aliases List<Property Map> Slack Aliases associated with this incident type
- slack
Channels List<Property Map> Slack Channels associated with this incident type
- slug String
The slug of the incident type
Supporting Types
IncidentTypeSlackAlias, IncidentTypeSlackAliasArgs
IncidentTypeSlackChannel, IncidentTypeSlackChannelArgs
Package Details
- Repository
- rootly rootlyhq/pulumi-rootly
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
rootly
Terraform Provider.