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 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>
Copy
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]
Copy
func GetIncidentTypes(ctx *Context, args *GetIncidentTypesArgs, opts ...InvokeOption) (*GetIncidentTypesResult, error)
func GetIncidentTypesOutput(ctx *Context, args *GetIncidentTypesOutputArgs, opts ...InvokeOption) GetIncidentTypesResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetIncidentTypesResult> getIncidentTypes(GetIncidentTypesArgs args, InvokeOptions options)
public static Output<GetIncidentTypesResult> getIncidentTypes(GetIncidentTypesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: rootly:index/getIncidentTypes:getIncidentTypes
  arguments:
    # arguments dictionary
Copy

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 This property is required. string
Id This property is required. string
Name This property is required. string
Slug This property is required. string
Description This property is required. string
Id This property is required. string
Name This property is required. string
Slug This property is required. string
description This property is required. String
id This property is required. String
name This property is required. String
slug This property is required. String
description This property is required. string
id This property is required. string
name This property is required. string
slug This property is required. string
description This property is required. str
id This property is required. str
name This property is required. str
slug This property is required. str
description This property is required. String
id This property is required. String
name This property is required. String
slug This property is required. String

Package Details

Repository
rootly rootlyhq/pulumi-rootly
License
Apache-2.0
Notes
This Pulumi package is based on the rootly Terraform Provider.
Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly