import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a Datadog incident type resource. This can be used to create and manage Datadog incident types. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * // Basic incident type * const example = new datadog.IncidentType("example", { * name: "Security Incident", * description: "Security-related incidents requiring immediate attention", * isDefault: false, * }); * // Incident type with the full configuration block shown at its default values. * // Every field is optional; omitted fields fall back to these same defaults. * const withConfiguration = new datadog.IncidentType("with_configuration", { * name: "Customer Impacting", * description: "Incidents that impact customers", * configuration: { * private_incidents: false, * private_incidents_by_default: false, * allow_workflows: true, * allow_incident_deletion: false, * editable_timestamps: false, * test_incidents: true, * create_message: "", * slug_source: "default", * }, * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import datadog:index/incidentType:IncidentType example "12345678-1234-1234-1234-1234567890ab" * ``` */ export declare class IncidentType extends pulumi.CustomResource { /** * Get an existing IncidentType resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: IncidentTypeState, opts?: pulumi.CustomResourceOptions): IncidentType; /** * Check whether an existing IncidentType resource with the given ID exists. * * @param id The _unique_ provider ID of the resource to check. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static exists(id: pulumi.Input, state?: IncidentTypeState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of IncidentType. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is IncidentType; /** * The incident type's behavior settings. Any field left unset takes its server-side default. This block is applied in a separate call after the incident type is created. */ readonly configuration: pulumi.Output; /** * Description of the incident type. The description can have a maximum of 512 characters. */ readonly description: pulumi.Output; /** * Whether this incident type is the default type. */ readonly isDefault: pulumi.Output; /** * Name of the incident type. Must be between 1 and 50 characters. */ readonly name: pulumi.Output; /** * Create a IncidentType resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: IncidentTypeArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering IncidentType resources. */ export interface IncidentTypeState { /** * The incident type's behavior settings. Any field left unset takes its server-side default. This block is applied in a separate call after the incident type is created. */ configuration?: pulumi.Input; /** * Description of the incident type. The description can have a maximum of 512 characters. */ description?: pulumi.Input; /** * Whether this incident type is the default type. */ isDefault?: pulumi.Input; /** * Name of the incident type. Must be between 1 and 50 characters. */ name?: pulumi.Input; } /** * The set of arguments for constructing a IncidentType resource. */ export interface IncidentTypeArgs { /** * The incident type's behavior settings. Any field left unset takes its server-side default. This block is applied in a separate call after the incident type is created. */ configuration?: pulumi.Input; /** * Description of the incident type. The description can have a maximum of 512 characters. */ description?: pulumi.Input; /** * Whether this incident type is the default type. */ isDefault?: pulumi.Input; /** * Name of the incident type. Must be between 1 and 50 characters. */ name: pulumi.Input; } //# sourceMappingURL=incidentType.d.ts.map