import * as pulumi from "@pulumi/pulumi";
/**
 * Provides a Datadog RumRetentionFiltersOrder resource. This is used to manage the order of Datadog RUM retention filters. Please note that retentionFilterIds should contain all IDs of retention filters, including the default ones created internally for a given RUM application.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as datadog from "@pulumi/datadog";
 * import * as std from "@pulumi/std";
 *
 * // Create a new rum_application resource.
 * const myRumApplication = new datadog.RumApplication("my_rum_application", {
 *     name: "my-rum-application-test",
 *     type: "browser",
 * });
 * // Retrieve rum_retention_filters for the rum_application created above.
 * const myRetentionFilters = datadog.getRumRetentionFilters({
 *     applicationId: datadogRumApplication.myRumApplication.id,
 * });
 * // Create a new rum_retention_filter resource.
 * const newRumRetentionFilter = new datadog.RumRetentionFilter("new_rum_retention_filter", {
 *     applicationId: datadogRumApplication.myRumApplication.id,
 *     name: "testing.rum.retention_filter",
 *     eventType: "action",
 *     sampleRate: 60,
 *     query: "@session.has_replay:true",
 *     enabled: true,
 * });
 * // Create a new rum_retention_filters_order resource for reordering.
 * // Please note that the IDs of all default retention filters have the prefix 'default', and you need to populate the retention_filter_ids field with all retention filter IDs.
 * const myRumRetentionFiltersOrder = new datadog.RumRetentionFiltersOrder("my_rum_retention_filters_order", {
 *     applicationId: datadogRumApplication.myRumApplication.id,
 *     retentionFilterIds: std.concat({
 *         input: [
 *             myRetentionFilters.then(myRetentionFilters => .filter(rf => std.startswith({
 *                 input: rf.id,
 *                 prefix: "default",
 *             }).result).map(rf => (rf.id))),
 *             [newRumRetentionFilter.id],
 *             pulumi.all([myRetentionFilters, newRumRetentionFilter.id]).apply(([myRetentionFilters, id]) => .filter(rf => !std.startswith({
 *                 input: rf.id,
 *                 prefix: "default",
 *             }).result && rf.id != id).map(rf => (rf.id))),
 *         ],
 *     }).result,
 * });
 * ```
 *
 * ## Import
 *
 * The `pulumi import` command can be used, for example:
 *
 * ```sh
 * $ pulumi import datadog:index/rumRetentionFiltersOrder:RumRetentionFiltersOrder testing_rum_retention_filters_order "<application_id>"
 * ```
 */
export declare class RumRetentionFiltersOrder extends pulumi.CustomResource {
    /**
     * Get an existing RumRetentionFiltersOrder 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<pulumi.ID>, state?: RumRetentionFiltersOrderState, opts?: pulumi.CustomResourceOptions): RumRetentionFiltersOrder;
    /**
     * Returns true if the given object is an instance of RumRetentionFiltersOrder.  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 RumRetentionFiltersOrder;
    /**
     * RUM application ID.
     */
    readonly applicationId: pulumi.Output<string>;
    /**
     * RUM retention filter ID list. The order of IDs in this attribute defines the order of RUM retention filters.
     */
    readonly retentionFilterIds: pulumi.Output<string[]>;
    /**
     * Create a RumRetentionFiltersOrder 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: RumRetentionFiltersOrderArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering RumRetentionFiltersOrder resources.
 */
export interface RumRetentionFiltersOrderState {
    /**
     * RUM application ID.
     */
    applicationId?: pulumi.Input<string | undefined>;
    /**
     * RUM retention filter ID list. The order of IDs in this attribute defines the order of RUM retention filters.
     */
    retentionFilterIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
}
/**
 * The set of arguments for constructing a RumRetentionFiltersOrder resource.
 */
export interface RumRetentionFiltersOrderArgs {
    /**
     * RUM application ID.
     */
    applicationId: pulumi.Input<string>;
    /**
     * RUM retention filter ID list. The order of IDs in this attribute defines the order of RUM retention filters.
     */
    retentionFilterIds: pulumi.Input<pulumi.Input<string>[]>;
}
//# sourceMappingURL=rumRetentionFiltersOrder.d.ts.map