import * as pulumi from "@pulumi/pulumi"; /** * Provides a resource that manages the evaluation order of ticket creation rules for the security findings in an organization. The `ruleIds` list must contain every ticket creation rule ID; ticket creation rules created outside Terraform appear as drift. **Note:** the ticket creation rule order is a single, organization-wide setting, so only one resource of this type should be declared per organization. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * // Manage the evaluation order of all ticket creation rules for the organization. * // rule_ids must list every ticket creation rule ID; rules created outside Pulumi appear as drift. * const order = new datadog.SecurityFindingsTicketCreationRulesOrder("order", { * name: "security_findings_ticket_creation_rules_order", * ruleIds: [criticalMisconfigs.id], * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import datadog:index/securityFindingsTicketCreationRulesOrder:SecurityFindingsTicketCreationRulesOrder order "security_findings_ticket_creation_rules_order" * ``` */ export declare class SecurityFindingsTicketCreationRulesOrder extends pulumi.CustomResource { /** * Get an existing SecurityFindingsTicketCreationRulesOrder 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?: SecurityFindingsTicketCreationRulesOrderState, opts?: pulumi.CustomResourceOptions): SecurityFindingsTicketCreationRulesOrder; /** * Check whether an existing SecurityFindingsTicketCreationRulesOrder 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?: SecurityFindingsTicketCreationRulesOrderState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of SecurityFindingsTicketCreationRulesOrder. 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 SecurityFindingsTicketCreationRulesOrder; /** * A unique identifier for the order resource. This field has no server-side equivalent; Datadog recommends matching the resource name. */ readonly name: pulumi.Output; /** * The ordered list of all ticket creation rule IDs. The order of IDs in this attribute defines the evaluation order of the ticket creation rules. */ readonly ruleIds: pulumi.Output; /** * Create a SecurityFindingsTicketCreationRulesOrder 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: SecurityFindingsTicketCreationRulesOrderArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SecurityFindingsTicketCreationRulesOrder resources. */ export interface SecurityFindingsTicketCreationRulesOrderState { /** * A unique identifier for the order resource. This field has no server-side equivalent; Datadog recommends matching the resource name. */ name?: pulumi.Input; /** * The ordered list of all ticket creation rule IDs. The order of IDs in this attribute defines the evaluation order of the ticket creation rules. */ ruleIds?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a SecurityFindingsTicketCreationRulesOrder resource. */ export interface SecurityFindingsTicketCreationRulesOrderArgs { /** * A unique identifier for the order resource. This field has no server-side equivalent; Datadog recommends matching the resource name. */ name: pulumi.Input; /** * The ordered list of all ticket creation rule IDs. The order of IDs in this attribute defines the evaluation order of the ticket creation rules. */ ruleIds: pulumi.Input[]>; } //# sourceMappingURL=securityFindingsTicketCreationRulesOrder.d.ts.map