Viewing docs for Datadog v5.10.0
published on Thursday, Jul 30, 2026 by Pulumi
published on Thursday, Jul 30, 2026 by Pulumi
Viewing docs for Datadog v5.10.0
published on Thursday, Jul 30, 2026 by Pulumi
published on Thursday, Jul 30, 2026 by Pulumi
Use this data source to retrieve information about an existing incident type.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as datadog from "@pulumi/datadog";
const example = datadog.getIncidentType({
id: "01234567-89ab-cdef-0123-456789abcdef",
});
import pulumi
import pulumi_datadog as datadog
example = datadog.get_incident_type(id="01234567-89ab-cdef-0123-456789abcdef")
package main
import (
"github.com/pulumi/pulumi-datadog/sdk/v5/go/datadog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datadog.GetIncidentType(ctx, &datadog.LookupIncidentTypeArgs{
Id: "01234567-89ab-cdef-0123-456789abcdef",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Datadog = Pulumi.Datadog;
return await Deployment.RunAsync(() =>
{
var example = Datadog.GetIncidentType.Invoke(new()
{
Id = "01234567-89ab-cdef-0123-456789abcdef",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.datadog.DatadogFunctions;
import com.pulumi.datadog.inputs.GetIncidentTypeArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = DatadogFunctions.getIncidentType(GetIncidentTypeArgs.builder()
.id("01234567-89ab-cdef-0123-456789abcdef")
.build());
}
}
variables:
example:
fn::invoke:
function: datadog:getIncidentType
arguments:
id: 01234567-89ab-cdef-0123-456789abcdef
pulumi {
required_providers {
datadog = {
source = "pulumi/datadog"
}
}
}
data "datadog_getincidenttype" "example" {
id = "01234567-89ab-cdef-0123-456789abcdef"
}
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>def get_incident_type(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIncidentTypeResult
def get_incident_type_output(id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIncidentTypeResult]func LookupIncidentType(ctx *Context, args *LookupIncidentTypeArgs, opts ...InvokeOption) (*LookupIncidentTypeResult, error)
func LookupIncidentTypeOutput(ctx *Context, args *LookupIncidentTypeOutputArgs, opts ...InvokeOption) LookupIncidentTypeResultOutput> 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)
}public static CompletableFuture<GetIncidentTypeResult> getIncidentType(GetIncidentTypeArgs args, InvokeOptions options)
public static Output<GetIncidentTypeResult> getIncidentType(GetIncidentTypeArgs args, InvokeOptions options)
fn::invoke:
function: datadog:index/getIncidentType:getIncidentType
arguments:
# arguments dictionarydata "datadog_get_incident_type" "name" {
# arguments
}The following arguments are supported:
- Id string
- The ID of the incident type.
- Id string
- The ID of the incident type.
- id string
- The ID of the incident type.
- id String
- The ID of the incident type.
- id string
- The ID of the incident type.
- id str
- The ID of the incident type.
- id String
- The ID of the incident type.
getIncidentType Result
The following output properties are available:
- Configuration
Get
Incident Type Configuration - The incident type's behavior settings.
- Description string
- Description of the incident type.
- Id string
- The ID of the incident type.
- Is
Default bool - Whether this incident type is the default type.
- Name string
- Name of the incident type.
- Configuration
Get
Incident Type Configuration - The incident type's behavior settings.
- Description string
- Description of the incident type.
- Id string
- The ID of the incident type.
- Is
Default bool - Whether this incident type is the default type.
- Name string
- Name of the incident type.
- configuration object
- The incident type's behavior settings.
- description string
- Description of the incident type.
- id string
- The ID of the incident type.
- is_
default bool - Whether this incident type is the default type.
- name string
- Name of the incident type.
- configuration
Get
Incident Type Configuration - The incident type's behavior settings.
- description String
- Description of the incident type.
- id String
- The ID of the incident type.
- is
Default Boolean - Whether this incident type is the default type.
- name String
- Name of the incident type.
- configuration
Get
Incident Type Configuration - The incident type's behavior settings.
- description string
- Description of the incident type.
- id string
- The ID of the incident type.
- is
Default boolean - Whether this incident type is the default type.
- name string
- Name of the incident type.
- configuration
Get
Incident Type Configuration - The incident type's behavior settings.
- description str
- Description of the incident type.
- id str
- The ID of the incident type.
- is_
default bool - Whether this incident type is the default type.
- name str
- Name of the incident type.
- configuration Property Map
- The incident type's behavior settings.
- description String
- Description of the incident type.
- id String
- The ID of the incident type.
- is
Default Boolean - Whether this incident type is the default type.
- name String
- Name of the incident type.
Supporting Types
GetIncidentTypeConfiguration
- Allow
Incident boolDeletion - Whether incidents of this type can be deleted.
- Allow
Workflows bool - Whether users can manually run a workflow from an incident of this type.
- Create
Message string - An optional message shown to users when they declare an incident of this type.
- Editable
Timestamps bool - Whether responders can edit incident timestamps for incidents of this type.
- Private
Incidents bool - Whether responders can create private incidents of this type.
- Private
Incidents boolBy Default - Whether the private toggle is enabled by default in the incident creation modal for this type.
- Slug
Source string - The source used to derive the incident slug. When set to
servicenow, incidents display the ServiceNow record ID instead of the public ID. If no ServiceNow integration exists, the public ID is displayed. - Test
Incidents bool - Whether test incidents of this type can be created.
- Allow
Incident boolDeletion - Whether incidents of this type can be deleted.
- Allow
Workflows bool - Whether users can manually run a workflow from an incident of this type.
- Create
Message string - An optional message shown to users when they declare an incident of this type.
- Editable
Timestamps bool - Whether responders can edit incident timestamps for incidents of this type.
- Private
Incidents bool - Whether responders can create private incidents of this type.
- Private
Incidents boolBy Default - Whether the private toggle is enabled by default in the incident creation modal for this type.
- Slug
Source string - The source used to derive the incident slug. When set to
servicenow, incidents display the ServiceNow record ID instead of the public ID. If no ServiceNow integration exists, the public ID is displayed. - Test
Incidents bool - Whether test incidents of this type can be created.
- allow_
incident_ booldeletion - Whether incidents of this type can be deleted.
- allow_
workflows bool - Whether users can manually run a workflow from an incident of this type.
- create_
message string - An optional message shown to users when they declare an incident of this type.
- editable_
timestamps bool - Whether responders can edit incident timestamps for incidents of this type.
- private_
incidents bool - Whether responders can create private incidents of this type.
- private_
incidents_ boolby_ default - Whether the private toggle is enabled by default in the incident creation modal for this type.
- slug_
source string - The source used to derive the incident slug. When set to
servicenow, incidents display the ServiceNow record ID instead of the public ID. If no ServiceNow integration exists, the public ID is displayed. - test_
incidents bool - Whether test incidents of this type can be created.
- allow
Incident BooleanDeletion - Whether incidents of this type can be deleted.
- allow
Workflows Boolean - Whether users can manually run a workflow from an incident of this type.
- create
Message String - An optional message shown to users when they declare an incident of this type.
- editable
Timestamps Boolean - Whether responders can edit incident timestamps for incidents of this type.
- private
Incidents Boolean - Whether responders can create private incidents of this type.
- private
Incidents BooleanBy Default - Whether the private toggle is enabled by default in the incident creation modal for this type.
- slug
Source String - The source used to derive the incident slug. When set to
servicenow, incidents display the ServiceNow record ID instead of the public ID. If no ServiceNow integration exists, the public ID is displayed. - test
Incidents Boolean - Whether test incidents of this type can be created.
- allow
Incident booleanDeletion - Whether incidents of this type can be deleted.
- allow
Workflows boolean - Whether users can manually run a workflow from an incident of this type.
- create
Message string - An optional message shown to users when they declare an incident of this type.
- editable
Timestamps boolean - Whether responders can edit incident timestamps for incidents of this type.
- private
Incidents boolean - Whether responders can create private incidents of this type.
- private
Incidents booleanBy Default - Whether the private toggle is enabled by default in the incident creation modal for this type.
- slug
Source string - The source used to derive the incident slug. When set to
servicenow, incidents display the ServiceNow record ID instead of the public ID. If no ServiceNow integration exists, the public ID is displayed. - test
Incidents boolean - Whether test incidents of this type can be created.
- allow_
incident_ booldeletion - Whether incidents of this type can be deleted.
- allow_
workflows bool - Whether users can manually run a workflow from an incident of this type.
- create_
message str - An optional message shown to users when they declare an incident of this type.
- editable_
timestamps bool - Whether responders can edit incident timestamps for incidents of this type.
- private_
incidents bool - Whether responders can create private incidents of this type.
- private_
incidents_ boolby_ default - Whether the private toggle is enabled by default in the incident creation modal for this type.
- slug_
source str - The source used to derive the incident slug. When set to
servicenow, incidents display the ServiceNow record ID instead of the public ID. If no ServiceNow integration exists, the public ID is displayed. - test_
incidents bool - Whether test incidents of this type can be created.
- allow
Incident BooleanDeletion - Whether incidents of this type can be deleted.
- allow
Workflows Boolean - Whether users can manually run a workflow from an incident of this type.
- create
Message String - An optional message shown to users when they declare an incident of this type.
- editable
Timestamps Boolean - Whether responders can edit incident timestamps for incidents of this type.
- private
Incidents Boolean - Whether responders can create private incidents of this type.
- private
Incidents BooleanBy Default - Whether the private toggle is enabled by default in the incident creation modal for this type.
- slug
Source String - The source used to derive the incident slug. When set to
servicenow, incidents display the ServiceNow record ID instead of the public ID. If no ServiceNow integration exists, the public ID is displayed. - test
Incidents Boolean - Whether test incidents of this type can be created.
Package Details
- Repository
- Datadog pulumi/pulumi-datadog
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
datadogTerraform Provider.
Viewing docs for Datadog v5.10.0
published on Thursday, Jul 30, 2026 by Pulumi
published on Thursday, Jul 30, 2026 by Pulumi