import * as pulumi from "@pulumi/pulumi"; /** * Provides a Datadog [APM Retention Filters API](https://docs.datadoghq.com/api/v2/apm-retention-filters/) resource, which is used to manage Datadog APM retention filters order. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * // Create APM retention filter * const foo = new datadog.ApmRetentionFilter("foo", { * name: "Sample order", * rate: "1.0", * filter: [{ * query: "*", * }], * filterType: "spans-sampling-processor", * enabled: false, * }); * // Create APM retention filter order * const bar = new datadog.ApmRetentionFilterOrder("bar", {filterIds: [foo.id]}); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * Import existing APM retention filter order * Note: Value of can be anything as this id is not stored by the resource * * ```sh * $ pulumi import datadog:index/apmRetentionFilterOrder:ApmRetentionFilterOrder bar * ``` */ export declare class ApmRetentionFilterOrder extends pulumi.CustomResource { /** * Get an existing ApmRetentionFilterOrder 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?: ApmRetentionFilterOrderState, opts?: pulumi.CustomResourceOptions): ApmRetentionFilterOrder; /** * Returns true if the given object is an instance of ApmRetentionFilterOrder. 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 ApmRetentionFilterOrder; /** * The filter IDs list. The order of filters IDs in this attribute defines the overall APM retention filters order. */ readonly filterIds: pulumi.Output; /** * Create a ApmRetentionFilterOrder 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: ApmRetentionFilterOrderArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ApmRetentionFilterOrder resources. */ export interface ApmRetentionFilterOrderState { /** * The filter IDs list. The order of filters IDs in this attribute defines the overall APM retention filters order. */ filterIds?: pulumi.Input[]>; } /** * The set of arguments for constructing a ApmRetentionFilterOrder resource. */ export interface ApmRetentionFilterOrderArgs { /** * The filter IDs list. The order of filters IDs in this attribute defines the overall APM retention filters order. */ filterIds: pulumi.Input[]>; }