Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly
rootly.getIncidentTypes
Explore with Pulumi AI
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:
getIncidentTypes Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Incident
Types List<GetIncident Types Incident Type> - Name string
- Slug string
- Id string
- The provider-assigned unique ID for this managed resource.
- Incident
Types []GetIncident Types Incident Type - Name string
- Slug string
- id String
- The provider-assigned unique ID for this managed resource.
- incident
Types List<GetIncident Types Incident Type> - name String
- slug String
- id string
- The provider-assigned unique ID for this managed resource.
- incident
Types GetIncident Types Incident Type[] - name string
- slug string
- id str
- The provider-assigned unique ID for this managed resource.
- incident_
types Sequence[GetIncident Types Incident Type] - name str
- slug str
- id String
- The provider-assigned unique ID for this managed resource.
- incident
Types 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.