1. Packages
  2. Rootly
  3. API Docs
  4. getIncidentRoles
Rootly v1.2.1 published on Tuesday, Apr 2, 2024 by Rootly

rootly.getIncidentRoles

Explore with Pulumi AI

rootly logo
Rootly v1.2.1 published on Tuesday, Apr 2, 2024 by Rootly

    Using getIncidentRoles

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getIncidentRoles(args: GetIncidentRolesArgs, opts?: InvokeOptions): Promise<GetIncidentRolesResult>
    function getIncidentRolesOutput(args: GetIncidentRolesOutputArgs, opts?: InvokeOptions): Output<GetIncidentRolesResult>
    def get_incident_roles(enabled: Optional[bool] = None,
                           name: Optional[str] = None,
                           slug: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetIncidentRolesResult
    def get_incident_roles_output(enabled: Optional[pulumi.Input[bool]] = None,
                           name: Optional[pulumi.Input[str]] = None,
                           slug: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetIncidentRolesResult]
    func GetIncidentRoles(ctx *Context, args *GetIncidentRolesArgs, opts ...InvokeOption) (*GetIncidentRolesResult, error)
    func GetIncidentRolesOutput(ctx *Context, args *GetIncidentRolesOutputArgs, opts ...InvokeOption) GetIncidentRolesResultOutput

    > Note: This function is named GetIncidentRoles in the Go SDK.

    public static class GetIncidentRoles 
    {
        public static Task<GetIncidentRolesResult> InvokeAsync(GetIncidentRolesArgs args, InvokeOptions? opts = null)
        public static Output<GetIncidentRolesResult> Invoke(GetIncidentRolesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIncidentRolesResult> getIncidentRoles(GetIncidentRolesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: rootly:index/getIncidentRoles:getIncidentRoles
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Enabled bool
    Name string
    Slug string
    Enabled bool
    Name string
    Slug string
    enabled Boolean
    name String
    slug String
    enabled boolean
    name string
    slug string
    enabled bool
    name str
    slug str
    enabled Boolean
    name String
    slug String

    getIncidentRoles Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    IncidentRoles List<GetIncidentRolesIncidentRole>
    Enabled bool
    Name string
    Slug string
    Id string
    The provider-assigned unique ID for this managed resource.
    IncidentRoles []GetIncidentRolesIncidentRole
    Enabled bool
    Name string
    Slug string
    id String
    The provider-assigned unique ID for this managed resource.
    incidentRoles List<GetIncidentRolesIncidentRole>
    enabled Boolean
    name String
    slug String
    id string
    The provider-assigned unique ID for this managed resource.
    incidentRoles GetIncidentRolesIncidentRole[]
    enabled boolean
    name string
    slug string
    id str
    The provider-assigned unique ID for this managed resource.
    incident_roles Sequence[GetIncidentRolesIncidentRole]
    enabled bool
    name str
    slug str
    id String
    The provider-assigned unique ID for this managed resource.
    incidentRoles List<Property Map>
    enabled Boolean
    name String
    slug String

    Supporting Types

    GetIncidentRolesIncidentRole

    Description string
    Enabled bool
    Id string
    Name string
    Slug string
    Summary string
    Description string
    Enabled bool
    Id string
    Name string
    Slug string
    Summary string
    description String
    enabled Boolean
    id String
    name String
    slug String
    summary String
    description string
    enabled boolean
    id string
    name string
    slug string
    summary string
    description str
    enabled bool
    id str
    name str
    slug str
    summary str
    description String
    enabled Boolean
    id String
    name String
    slug String
    summary String

    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.2.1 published on Tuesday, Apr 2, 2024 by Rootly