incident 5.24.1 published on Wednesday, Dec 24, 2025 by incident-io
incident 5.24.1 published on Wednesday, Dec 24, 2025 by incident-io
This data source provides a list of incident types.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as incident from "@pulumi/incident";
// Example usage of the incident_incident_types data source
// Get all incident types
const all = incident.getIncidentTypes({});
export const incidentTypes = all.then(all => all.incidentTypes);
export const incidentTypeNames = all.then(all => .map(it => (it.name)));
import pulumi
import pulumi_incident as incident
# Example usage of the incident_incident_types data source
# Get all incident types
all = incident.get_incident_types()
pulumi.export("incidentTypes", all.incident_types)
pulumi.export("incidentTypeNames", [it.name for it in all.incident_types])
Example coming soon!
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Incident = Pulumi.Incident;
return await Deployment.RunAsync(() =>
{
// Example usage of the incident_incident_types data source
// Get all incident types
var all = Incident.GetIncidentTypes.Invoke();
return new Dictionary<string, object?>
{
["incidentTypes"] = all.Apply(getIncidentTypesResult => getIncidentTypesResult.IncidentTypes),
["incidentTypeNames"] = .Select(it =>
{
return it.Name;
}).ToList(),
};
});
Example coming soon!
Example coming soon!
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(opts?: InvokeOptions): Promise<GetIncidentTypesResult>
function getIncidentTypesOutput(opts?: InvokeOptions): Output<GetIncidentTypesResult>def get_incident_types(opts: Optional[InvokeOptions] = None) -> GetIncidentTypesResult
def get_incident_types_output(opts: Optional[InvokeOptions] = None) -> Output[GetIncidentTypesResult]func GetIncidentTypes(ctx *Context, opts ...InvokeOption) (*GetIncidentTypesResult, error)
func GetIncidentTypesOutput(ctx *Context, opts ...InvokeOption) GetIncidentTypesResultOutput> Note: This function is named GetIncidentTypes in the Go SDK.
public static class GetIncidentTypes
{
public static Task<GetIncidentTypesResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetIncidentTypesResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetIncidentTypesResult> getIncidentTypes(InvokeOptions options)
public static Output<GetIncidentTypesResult> getIncidentTypes(InvokeOptions options)
fn::invoke:
function: incident:index/getIncidentTypes:getIncidentTypes
arguments:
# arguments dictionarygetIncidentTypes 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> - List of incident types.
- Id string
- The provider-assigned unique ID for this managed resource.
- Incident
Types []GetIncident Types Incident Type - List of incident types.
- id String
- The provider-assigned unique ID for this managed resource.
- incident
Types List<GetIncident Types Incident Type> - List of incident types.
- id string
- The provider-assigned unique ID for this managed resource.
- incident
Types GetIncident Types Incident Type[] - List of incident types.
- id str
- The provider-assigned unique ID for this managed resource.
- incident_
types Sequence[GetIncident Types Incident Type] - List of incident types.
- id String
- The provider-assigned unique ID for this managed resource.
- incident
Types List<Property Map> - List of incident types.
Supporting Types
GetIncidentTypesIncidentType
- Create
In stringTriage - Whether incidents of this must always, or can optionally, be created in triage
- Description string
- What is this incident type for?
- Id string
- Unique identifier for this Incident Type
- Is
Default bool - The default Incident Type is used when no other type is explicitly specified
- Name string
- The name of this Incident Type
- Private
Incidents boolOnly - Should all incidents created with this Incident Type be private?
- Create
In stringTriage - Whether incidents of this must always, or can optionally, be created in triage
- Description string
- What is this incident type for?
- Id string
- Unique identifier for this Incident Type
- Is
Default bool - The default Incident Type is used when no other type is explicitly specified
- Name string
- The name of this Incident Type
- Private
Incidents boolOnly - Should all incidents created with this Incident Type be private?
- create
In StringTriage - Whether incidents of this must always, or can optionally, be created in triage
- description String
- What is this incident type for?
- id String
- Unique identifier for this Incident Type
- is
Default Boolean - The default Incident Type is used when no other type is explicitly specified
- name String
- The name of this Incident Type
- private
Incidents BooleanOnly - Should all incidents created with this Incident Type be private?
- create
In stringTriage - Whether incidents of this must always, or can optionally, be created in triage
- description string
- What is this incident type for?
- id string
- Unique identifier for this Incident Type
- is
Default boolean - The default Incident Type is used when no other type is explicitly specified
- name string
- The name of this Incident Type
- private
Incidents booleanOnly - Should all incidents created with this Incident Type be private?
- create_
in_ strtriage - Whether incidents of this must always, or can optionally, be created in triage
- description str
- What is this incident type for?
- id str
- Unique identifier for this Incident Type
- is_
default bool - The default Incident Type is used when no other type is explicitly specified
- name str
- The name of this Incident Type
- private_
incidents_ boolonly - Should all incidents created with this Incident Type be private?
- create
In StringTriage - Whether incidents of this must always, or can optionally, be created in triage
- description String
- What is this incident type for?
- id String
- Unique identifier for this Incident Type
- is
Default Boolean - The default Incident Type is used when no other type is explicitly specified
- name String
- The name of this Incident Type
- private
Incidents BooleanOnly - Should all incidents created with this Incident Type be private?
Package Details
- Repository
- incident incident-io/terraform-provider-incident
- License
- Notes
- This Pulumi package is based on the
incidentTerraform Provider.
incident 5.24.1 published on Wednesday, Dec 24, 2025 by incident-io
