import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a Datadog incident user-defined role resource. This can be used to create and manage custom responder roles that are available for a given incident type. **Note**: This resource targets an endpoint that is in preview and is subject to change. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * const example = new datadog.IncidentType("example", { * name: "Security Incident", * description: "Security-related incidents requiring immediate attention", * }); * const techLead = new datadog.IncidentUserDefinedRole("tech_lead", { * name: "Tech Lead", * description: "The technical lead for the incident.", * incidentType: example.id, * policy: { * is_single: true, * }, * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import datadog:index/incidentUserDefinedRole:IncidentUserDefinedRole tech_lead "12345678-1234-1234-1234-1234567890ab" * ``` */ export declare class IncidentUserDefinedRole extends pulumi.CustomResource { /** * Get an existing IncidentUserDefinedRole 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?: IncidentUserDefinedRoleState, opts?: pulumi.CustomResourceOptions): IncidentUserDefinedRole; /** * Check whether an existing IncidentUserDefinedRole 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?: IncidentUserDefinedRoleState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of IncidentUserDefinedRole. 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 IncidentUserDefinedRole; /** * Timestamp when the user-defined role was created. */ readonly created: pulumi.Output; /** * A description of the user-defined role. At most 1024 characters. */ readonly description: pulumi.Output; /** * The ID of the incident type this user-defined role is associated with. */ readonly incidentType: pulumi.Output; /** * Timestamp when the user-defined role was last modified. */ readonly modified: pulumi.Output; /** * The name of the user-defined role. Cannot be a reserved name ("Incident Commander" or "Responder") and must be at most 255 characters. */ readonly name: pulumi.Output; /** * Policy configuration for the user-defined role. Defaults to a multi-assignee policy when omitted. */ readonly policy: pulumi.Output; /** * Create a IncidentUserDefinedRole 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: IncidentUserDefinedRoleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering IncidentUserDefinedRole resources. */ export interface IncidentUserDefinedRoleState { /** * Timestamp when the user-defined role was created. */ created?: pulumi.Input; /** * A description of the user-defined role. At most 1024 characters. */ description?: pulumi.Input; /** * The ID of the incident type this user-defined role is associated with. */ incidentType?: pulumi.Input; /** * Timestamp when the user-defined role was last modified. */ modified?: pulumi.Input; /** * The name of the user-defined role. Cannot be a reserved name ("Incident Commander" or "Responder") and must be at most 255 characters. */ name?: pulumi.Input; /** * Policy configuration for the user-defined role. Defaults to a multi-assignee policy when omitted. */ policy?: pulumi.Input; } /** * The set of arguments for constructing a IncidentUserDefinedRole resource. */ export interface IncidentUserDefinedRoleArgs { /** * A description of the user-defined role. At most 1024 characters. */ description?: pulumi.Input; /** * The ID of the incident type this user-defined role is associated with. */ incidentType: pulumi.Input; /** * The name of the user-defined role. Cannot be a reserved name ("Incident Commander" or "Responder") and must be at most 255 characters. */ name: pulumi.Input; /** * Policy configuration for the user-defined role. Defaults to a multi-assignee policy when omitted. */ policy?: pulumi.Input; } //# sourceMappingURL=incidentUserDefinedRole.d.ts.map