import * as pulumi from "@pulumi/pulumi"; /** * Provides a Datadog RUM application resource. This can be used to create and manage Datadog RUM applications. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * const rumApplication = new datadog.RumApplication("rum_application", { * name: "my-application", * type: "browser", * rumEventProcessingState: "ALL", * productAnalyticsRetentionState: "NONE", * }); * // Create the application without the default retention filters to manage them yourself. * const rumApplicationCustomFilters = new datadog.RumApplication("rum_application_custom_filters", { * name: "my-application-custom-filters", * type: "browser", * createDefaultRetentionFilters: false, * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import datadog:index/rumApplication:RumApplication rum_application a1b2c3d4-a1b2-a1b2-a1b2-a1b2c3d4e5f6 * ``` */ export declare class RumApplication extends pulumi.CustomResource { /** * Get an existing RumApplication 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?: RumApplicationState, opts?: pulumi.CustomResourceOptions): RumApplication; /** * Check whether an existing RumApplication 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?: RumApplicationState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of RumApplication. 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 RumApplication; /** * ID of the API key associated with the application. */ readonly apiKeyId: pulumi.Output; /** * The client token. */ readonly clientToken: pulumi.Output; /** * Whether to create the default retention filters (`Sessions with errors` and `Sessions`, both at 100%) when the application is created. Defaults to `true` on the API side. Set to `false` to create the application without them, such as when you manage its retention filters in the same configuration. Permanent retention filters are always created. This setting only applies during application creation. Changing it afterward doesn't add or remove filters. */ readonly createDefaultRetentionFilters: pulumi.Output; /** * Name of the RUM application. */ readonly name: pulumi.Output; /** * Controls the retention policy for Product Analytics data derived from RUM events. `MAX` enables Product Analytics for the application, and `NONE` disables it. If not set, Datadog picks the value when the application is created. Valid values are `MAX`, `NONE`. */ readonly productAnalyticsRetentionState: pulumi.Output; /** * Configures which RUM events are processed and stored for the application. `ALL` enables RUM, `ERROR_FOCUSED_MODE` uses the application for Error Tracking only, without RUM, and `NONE` disables RUM event processing. If not set, Datadog uses `ALL` when the application is created. Valid values are `ALL`, `ERROR_FOCUSED_MODE`, `NONE`. */ readonly rumEventProcessingState: pulumi.Output; /** * Type of the RUM application. Supported values are `browser`, `ios`, `android`, `react-native`, `flutter`, `roku`, `electron`, `unity`, `kotlin-multiplatform`. Defaults to `"browser"`. */ readonly type: pulumi.Output; /** * Create a RumApplication 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: RumApplicationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering RumApplication resources. */ export interface RumApplicationState { /** * ID of the API key associated with the application. */ apiKeyId?: pulumi.Input; /** * The client token. */ clientToken?: pulumi.Input; /** * Whether to create the default retention filters (`Sessions with errors` and `Sessions`, both at 100%) when the application is created. Defaults to `true` on the API side. Set to `false` to create the application without them, such as when you manage its retention filters in the same configuration. Permanent retention filters are always created. This setting only applies during application creation. Changing it afterward doesn't add or remove filters. */ createDefaultRetentionFilters?: pulumi.Input; /** * Name of the RUM application. */ name?: pulumi.Input; /** * Controls the retention policy for Product Analytics data derived from RUM events. `MAX` enables Product Analytics for the application, and `NONE` disables it. If not set, Datadog picks the value when the application is created. Valid values are `MAX`, `NONE`. */ productAnalyticsRetentionState?: pulumi.Input; /** * Configures which RUM events are processed and stored for the application. `ALL` enables RUM, `ERROR_FOCUSED_MODE` uses the application for Error Tracking only, without RUM, and `NONE` disables RUM event processing. If not set, Datadog uses `ALL` when the application is created. Valid values are `ALL`, `ERROR_FOCUSED_MODE`, `NONE`. */ rumEventProcessingState?: pulumi.Input; /** * Type of the RUM application. Supported values are `browser`, `ios`, `android`, `react-native`, `flutter`, `roku`, `electron`, `unity`, `kotlin-multiplatform`. Defaults to `"browser"`. */ type?: pulumi.Input; } /** * The set of arguments for constructing a RumApplication resource. */ export interface RumApplicationArgs { /** * Whether to create the default retention filters (`Sessions with errors` and `Sessions`, both at 100%) when the application is created. Defaults to `true` on the API side. Set to `false` to create the application without them, such as when you manage its retention filters in the same configuration. Permanent retention filters are always created. This setting only applies during application creation. Changing it afterward doesn't add or remove filters. */ createDefaultRetentionFilters?: pulumi.Input; /** * Name of the RUM application. */ name: pulumi.Input; /** * Controls the retention policy for Product Analytics data derived from RUM events. `MAX` enables Product Analytics for the application, and `NONE` disables it. If not set, Datadog picks the value when the application is created. Valid values are `MAX`, `NONE`. */ productAnalyticsRetentionState?: pulumi.Input; /** * Configures which RUM events are processed and stored for the application. `ALL` enables RUM, `ERROR_FOCUSED_MODE` uses the application for Error Tracking only, without RUM, and `NONE` disables RUM event processing. If not set, Datadog uses `ALL` when the application is created. Valid values are `ALL`, `ERROR_FOCUSED_MODE`, `NONE`. */ rumEventProcessingState?: pulumi.Input; /** * Type of the RUM application. Supported values are `browser`, `ios`, `android`, `react-native`, `flutter`, `roku`, `electron`, `unity`, `kotlin-multiplatform`. Defaults to `"browser"`. */ type?: pulumi.Input; } //# sourceMappingURL=rumApplication.d.ts.map