1. Packages
  2. Rootly
  3. API Docs
  4. getIncidentTypes
Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly

rootly.getIncidentTypes

Explore with Pulumi AI

rootly logo
Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly

    Using getIncidentTypes

    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 getIncidentTypes(args: GetIncidentTypesArgs, opts?: InvokeOptions): Promise<GetIncidentTypesResult>
    function getIncidentTypesOutput(args: GetIncidentTypesOutputArgs, opts?: InvokeOptions): Output<GetIncidentTypesResult>
    def get_incident_types(name: Optional[str] = None,
                           slug: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetIncidentTypesResult
    def get_incident_types_output(name: Optional[pulumi.Input[str]] = None,
                           slug: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetIncidentTypesResult]
    func GetIncidentTypes(ctx *Context, args *GetIncidentTypesArgs, opts ...InvokeOption) (*GetIncidentTypesResult, error)
    func GetIncidentTypesOutput(ctx *Context, args *GetIncidentTypesOutputArgs, opts ...InvokeOption) GetIncidentTypesResultOutput

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

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

    The following arguments are supported:

    Name string
    Slug string
    Name string
    Slug string
    name String
    slug String
    name string
    slug string
    name str
    slug str
    name String
    slug String

    getIncidentTypes Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    IncidentTypes List<GetIncidentTypesIncidentType>
    Name string
    Slug string
    Id string
    The provider-assigned unique ID for this managed resource.
    IncidentTypes []GetIncidentTypesIncidentType
    Name string
    Slug string
    id String
    The provider-assigned unique ID for this managed resource.
    incidentTypes List<GetIncidentTypesIncidentType>
    name String
    slug String
    id string
    The provider-assigned unique ID for this managed resource.
    incidentTypes GetIncidentTypesIncidentType[]
    name string
    slug string
    id str
    The provider-assigned unique ID for this managed resource.
    incident_types Sequence[GetIncidentTypesIncidentType]
    name str
    slug str
    id String
    The provider-assigned unique ID for this managed resource.
    incidentTypes List<Property Map>
    name String
    slug String

    Supporting Types

    GetIncidentTypesIncidentType

    Description string
    Id string
    Name string
    Slug string
    Description string
    Id string
    Name string
    Slug string
    description String
    id String
    name String
    slug String
    description string
    id string
    name string
    slug string
    description str
    id str
    name str
    slug str
    description String
    id String
    name String
    slug 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.5.0 published on Thursday, Apr 25, 2024 by Rootly