1. Packages
  2. Pagerduty Provider
  3. API Docs
  4. getIncidentType
PagerDuty v4.23.0 published on Wednesday, Apr 16, 2025 by Pulumi

pagerduty.getIncidentType

Explore with Pulumi AI

PagerDuty v4.23.0 published on Wednesday, Apr 16, 2025 by Pulumi

Using getIncidentType

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 getIncidentType(args: GetIncidentTypeArgs, opts?: InvokeOptions): Promise<GetIncidentTypeResult>
function getIncidentTypeOutput(args: GetIncidentTypeOutputArgs, opts?: InvokeOptions): Output<GetIncidentTypeResult>
Copy
def get_incident_type(display_name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetIncidentTypeResult
def get_incident_type_output(display_name: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetIncidentTypeResult]
Copy
func LookupIncidentType(ctx *Context, args *LookupIncidentTypeArgs, opts ...InvokeOption) (*LookupIncidentTypeResult, error)
func LookupIncidentTypeOutput(ctx *Context, args *LookupIncidentTypeOutputArgs, opts ...InvokeOption) LookupIncidentTypeResultOutput
Copy

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

public static class GetIncidentType 
{
    public static Task<GetIncidentTypeResult> InvokeAsync(GetIncidentTypeArgs args, InvokeOptions? opts = null)
    public static Output<GetIncidentTypeResult> Invoke(GetIncidentTypeInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetIncidentTypeResult> getIncidentType(GetIncidentTypeArgs args, InvokeOptions options)
public static Output<GetIncidentTypeResult> getIncidentType(GetIncidentTypeArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: pagerduty:index/getIncidentType:getIncidentType
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

DisplayName This property is required. string
DisplayName This property is required. string
displayName This property is required. String
displayName This property is required. string
display_name This property is required. str
displayName This property is required. String

getIncidentType Result

The following output properties are available:

Description string
DisplayName string
Enabled bool
Id string
Name string
ParentType string
Type string
Description string
DisplayName string
Enabled bool
Id string
Name string
ParentType string
Type string
description String
displayName String
enabled Boolean
id String
name String
parentType String
type String
description string
displayName string
enabled boolean
id string
name string
parentType string
type string
description String
displayName String
enabled Boolean
id String
name String
parentType String
type String

Package Details

Repository
PagerDuty pulumi/pulumi-pagerduty
License
Apache-2.0
Notes
This Pulumi package is based on the pagerduty Terraform Provider.
PagerDuty v4.23.0 published on Wednesday, Apr 16, 2025 by Pulumi