import * as pulumi from "@pulumi/pulumi"; /** * Provides a Datadog RumRetentionFilter resource. This can be used to create and manage Datadog rum_retention_filter. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * // Create new rum_retention_filter resource * const testingRumRetentionFilter = new datadog.RumRetentionFilter("testing_rum_retention_filter", { * applicationId: "", * name: "testing.rum.retention_filter", * eventType: "session", * sampleRate: 41, * query: "@session.has_replay:true", * enabled: false, * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import datadog:index/rumRetentionFilter:RumRetentionFilter testing_rum_retention_filter ":" * ``` */ export declare class RumRetentionFilter extends pulumi.CustomResource { /** * Get an existing RumRetentionFilter 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?: RumRetentionFilterState, opts?: pulumi.CustomResourceOptions): RumRetentionFilter; /** * Returns true if the given object is an instance of RumRetentionFilter. 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 RumRetentionFilter; /** * RUM application ID. */ readonly applicationId: pulumi.Output; /** * Whether the retention filter is to be enabled. Defaults to `true`. */ readonly enabled: pulumi.Output; /** * The type of RUM events to filter on. */ readonly eventType: pulumi.Output; /** * The name of a RUM retention filter. */ readonly name: pulumi.Output; /** * The Query string for a RUM retention filter. Defaults to `""`. */ readonly query: pulumi.Output; /** * The sample rate for a RUM retention filter, between 0.1 and 100. Supports one decimal place (for example, 50.5). */ readonly sampleRate: pulumi.Output; /** * Create a RumRetentionFilter 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: RumRetentionFilterArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering RumRetentionFilter resources. */ export interface RumRetentionFilterState { /** * RUM application ID. */ applicationId?: pulumi.Input; /** * Whether the retention filter is to be enabled. Defaults to `true`. */ enabled?: pulumi.Input; /** * The type of RUM events to filter on. */ eventType?: pulumi.Input; /** * The name of a RUM retention filter. */ name?: pulumi.Input; /** * The Query string for a RUM retention filter. Defaults to `""`. */ query?: pulumi.Input; /** * The sample rate for a RUM retention filter, between 0.1 and 100. Supports one decimal place (for example, 50.5). */ sampleRate?: pulumi.Input; } /** * The set of arguments for constructing a RumRetentionFilter resource. */ export interface RumRetentionFilterArgs { /** * RUM application ID. */ applicationId: pulumi.Input; /** * Whether the retention filter is to be enabled. Defaults to `true`. */ enabled?: pulumi.Input; /** * The type of RUM events to filter on. */ eventType: pulumi.Input; /** * The name of a RUM retention filter. */ name: pulumi.Input; /** * The Query string for a RUM retention filter. Defaults to `""`. */ query?: pulumi.Input; /** * The sample rate for a RUM retention filter, between 0.1 and 100. Supports one decimal place (for example, 50.5). */ sampleRate: pulumi.Input; }