import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
 * The object describing the configuration of the retention filter to create/update.
 *
 * ## 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: "service:sample AND env:production AND @http.method:GET AND app:sampleapp AND @http.status_code:200 AND @duration:>600000000",
 *     }],
 *     filterType: "spans-sampling-processor",
 *     enabled: false,
 * });
 * ```
 *
 * ## Import
 *
 * The `pulumi import` command can be used, for example:
 *
 * Import existing APM retention filter
 *
 * ```sh
 * $ pulumi import datadog:index/apmRetentionFilter:ApmRetentionFilter foo <filter_id>
 * ```
 */
export declare class ApmRetentionFilter extends pulumi.CustomResource {
    /**
     * Get an existing ApmRetentionFilter 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?: ApmRetentionFilterState, opts?: pulumi.CustomResourceOptions): ApmRetentionFilter;
    /**
     * Returns true if the given object is an instance of ApmRetentionFilter.  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 ApmRetentionFilter;
    /**
     * the status of the retention filter.
     */
    readonly enabled: pulumi.Output<boolean>;
    /**
     * The spans filter. Spans matching this filter will be indexed and stored.
     */
    readonly filter: pulumi.Output<outputs.ApmRetentionFilterFilter>;
    /**
     * The type of the retention filter, currently only spans-processing-sampling is available. Valid values are `spans-sampling-processor`.
     */
    readonly filterType: pulumi.Output<string>;
    /**
     * The name of the retention filter.
     */
    readonly name: pulumi.Output<string>;
    /**
     * Sample rate to apply to spans going through this retention filter as a string; a value of 1.0 keeps all spans matching the query. Value must be between 0.00 and 1.00.
     */
    readonly rate: pulumi.Output<string>;
    /**
     * Sample rate to apply to traces with spans going through this retention filter as a string; a value of 1.0 keeps all traces matching the query. Value must be between 0.00 and 1.00.
     */
    readonly traceRate: pulumi.Output<string | undefined>;
    /**
     * Create a ApmRetentionFilter 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: ApmRetentionFilterArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering ApmRetentionFilter resources.
 */
export interface ApmRetentionFilterState {
    /**
     * the status of the retention filter.
     */
    enabled?: pulumi.Input<boolean | undefined>;
    /**
     * The spans filter. Spans matching this filter will be indexed and stored.
     */
    filter?: pulumi.Input<inputs.ApmRetentionFilterFilter | undefined>;
    /**
     * The type of the retention filter, currently only spans-processing-sampling is available. Valid values are `spans-sampling-processor`.
     */
    filterType?: pulumi.Input<string | undefined>;
    /**
     * The name of the retention filter.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * Sample rate to apply to spans going through this retention filter as a string; a value of 1.0 keeps all spans matching the query. Value must be between 0.00 and 1.00.
     */
    rate?: pulumi.Input<string | undefined>;
    /**
     * Sample rate to apply to traces with spans going through this retention filter as a string; a value of 1.0 keeps all traces matching the query. Value must be between 0.00 and 1.00.
     */
    traceRate?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a ApmRetentionFilter resource.
 */
export interface ApmRetentionFilterArgs {
    /**
     * the status of the retention filter.
     */
    enabled: pulumi.Input<boolean>;
    /**
     * The spans filter. Spans matching this filter will be indexed and stored.
     */
    filter: pulumi.Input<inputs.ApmRetentionFilterFilter>;
    /**
     * The type of the retention filter, currently only spans-processing-sampling is available. Valid values are `spans-sampling-processor`.
     */
    filterType: pulumi.Input<string>;
    /**
     * The name of the retention filter.
     */
    name: pulumi.Input<string>;
    /**
     * Sample rate to apply to spans going through this retention filter as a string; a value of 1.0 keeps all spans matching the query. Value must be between 0.00 and 1.00.
     */
    rate: pulumi.Input<string>;
    /**
     * Sample rate to apply to traces with spans going through this retention filter as a string; a value of 1.0 keeps all traces matching the query. Value must be between 0.00 and 1.00.
     */
    traceRate?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=apmRetentionFilter.d.ts.map