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