1. Packages
  2. Rootly
  3. API Docs
  4. IncidentRole
Rootly v1.0.1 published on Friday, Jun 2, 2023 by Rootly

rootly.IncidentRole

Explore with Pulumi AI

rootly logo
Rootly v1.0.1 published on Friday, Jun 2, 2023 by Rootly

    Create IncidentRole Resource

    new IncidentRole(name: string, args?: IncidentRoleArgs, opts?: CustomResourceOptions);
    @overload
    def IncidentRole(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     description: Optional[str] = None,
                     enabled: Optional[bool] = None,
                     name: Optional[str] = None,
                     optional: Optional[bool] = None,
                     position: Optional[int] = None,
                     slug: Optional[str] = None,
                     summary: Optional[str] = None)
    @overload
    def IncidentRole(resource_name: str,
                     args: Optional[IncidentRoleArgs] = None,
                     opts: Optional[ResourceOptions] = None)
    func NewIncidentRole(ctx *Context, name string, args *IncidentRoleArgs, opts ...ResourceOption) (*IncidentRole, error)
    public IncidentRole(string name, IncidentRoleArgs? args = null, CustomResourceOptions? opts = null)
    public IncidentRole(String name, IncidentRoleArgs args)
    public IncidentRole(String name, IncidentRoleArgs args, CustomResourceOptions options)
    
    type: rootly:IncidentRole
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args IncidentRoleArgs
    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 IncidentRoleArgs
    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 IncidentRoleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IncidentRoleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IncidentRoleArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    IncidentRole 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 IncidentRole resource accepts the following input properties:

    Description string

    The description of the incident role

    Enabled bool
    Name string

    The name of the incident role

    Optional bool
    Position int

    Position of the incident role

    Slug string

    The slug of the incident role

    Summary string

    The summary of the incident role

    Description string

    The description of the incident role

    Enabled bool
    Name string

    The name of the incident role

    Optional bool
    Position int

    Position of the incident role

    Slug string

    The slug of the incident role

    Summary string

    The summary of the incident role

    description String

    The description of the incident role

    enabled Boolean
    name String

    The name of the incident role

    optional Boolean
    position Integer

    Position of the incident role

    slug String

    The slug of the incident role

    summary String

    The summary of the incident role

    description string

    The description of the incident role

    enabled boolean
    name string

    The name of the incident role

    optional boolean
    position number

    Position of the incident role

    slug string

    The slug of the incident role

    summary string

    The summary of the incident role

    description str

    The description of the incident role

    enabled bool
    name str

    The name of the incident role

    optional bool
    position int

    Position of the incident role

    slug str

    The slug of the incident role

    summary str

    The summary of the incident role

    description String

    The description of the incident role

    enabled Boolean
    name String

    The name of the incident role

    optional Boolean
    position Number

    Position of the incident role

    slug String

    The slug of the incident role

    summary String

    The summary of the incident role

    Outputs

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

    Get an existing IncidentRole 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?: IncidentRoleState, opts?: CustomResourceOptions): IncidentRole
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            enabled: Optional[bool] = None,
            name: Optional[str] = None,
            optional: Optional[bool] = None,
            position: Optional[int] = None,
            slug: Optional[str] = None,
            summary: Optional[str] = None) -> IncidentRole
    func GetIncidentRole(ctx *Context, name string, id IDInput, state *IncidentRoleState, opts ...ResourceOption) (*IncidentRole, error)
    public static IncidentRole Get(string name, Input<string> id, IncidentRoleState? state, CustomResourceOptions? opts = null)
    public static IncidentRole get(String name, Output<String> id, IncidentRoleState 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.
    The following state arguments are supported:
    Description string

    The description of the incident role

    Enabled bool
    Name string

    The name of the incident role

    Optional bool
    Position int

    Position of the incident role

    Slug string

    The slug of the incident role

    Summary string

    The summary of the incident role

    Description string

    The description of the incident role

    Enabled bool
    Name string

    The name of the incident role

    Optional bool
    Position int

    Position of the incident role

    Slug string

    The slug of the incident role

    Summary string

    The summary of the incident role

    description String

    The description of the incident role

    enabled Boolean
    name String

    The name of the incident role

    optional Boolean
    position Integer

    Position of the incident role

    slug String

    The slug of the incident role

    summary String

    The summary of the incident role

    description string

    The description of the incident role

    enabled boolean
    name string

    The name of the incident role

    optional boolean
    position number

    Position of the incident role

    slug string

    The slug of the incident role

    summary string

    The summary of the incident role

    description str

    The description of the incident role

    enabled bool
    name str

    The name of the incident role

    optional bool
    position int

    Position of the incident role

    slug str

    The slug of the incident role

    summary str

    The summary of the incident role

    description String

    The description of the incident role

    enabled Boolean
    name String

    The name of the incident role

    optional Boolean
    position Number

    Position of the incident role

    slug String

    The slug of the incident role

    summary String

    The summary of the incident role

    Package Details

    Repository
    rootly rootlyhq/pulumi-rootly
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the rootly Terraform Provider.

    rootly logo
    Rootly v1.0.1 published on Friday, Jun 2, 2023 by Rootly