import * as pulumi from "@pulumi/pulumi"; /** * Provides a resource that manages the evaluation order of due date rules for the security findings in an organization. The `ruleIds` list must contain every due date rule ID; due date rules created outside Terraform appear as drift. **Note:** the due date 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 due date rules for the organization. * // rule_ids must list every due date rule ID; rules created outside Pulumi appear as drift. * const order = new datadog.SecurityFindingsDueDateRulesOrder("order", { * name: "security_findings_due_date_rules_order", * ruleIds: [prodSla.id], * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import datadog:index/securityFindingsDueDateRulesOrder:SecurityFindingsDueDateRulesOrder order "security_findings_due_date_rules_order" * ``` */ export declare class SecurityFindingsDueDateRulesOrder extends pulumi.CustomResource { /** * Get an existing SecurityFindingsDueDateRulesOrder 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?: SecurityFindingsDueDateRulesOrderState, opts?: pulumi.CustomResourceOptions): SecurityFindingsDueDateRulesOrder; /** * Check whether an existing SecurityFindingsDueDateRulesOrder 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?: SecurityFindingsDueDateRulesOrderState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of SecurityFindingsDueDateRulesOrder. 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 SecurityFindingsDueDateRulesOrder; /** * 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 due date rule IDs. The order of IDs in this attribute defines the evaluation order of the due date rules. */ readonly ruleIds: pulumi.Output; /** * Create a SecurityFindingsDueDateRulesOrder 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: SecurityFindingsDueDateRulesOrderArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SecurityFindingsDueDateRulesOrder resources. */ export interface SecurityFindingsDueDateRulesOrderState { /** * 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 due date rule IDs. The order of IDs in this attribute defines the evaluation order of the due date rules. */ ruleIds?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a SecurityFindingsDueDateRulesOrder resource. */ export interface SecurityFindingsDueDateRulesOrderArgs { /** * 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 due date rule IDs. The order of IDs in this attribute defines the evaluation order of the due date rules. */ ruleIds: pulumi.Input[]>; } //# sourceMappingURL=securityFindingsDueDateRulesOrder.d.ts.map