import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a Datadog RumRetentionQuota resource. This can be used to create and manage Datadog rum_retention_quota. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * // Create new rum_retention_quota resource * const testingRumRetentionQuota = new datadog.RumRetentionQuota("testing_rum_retention_quota", { * applicationId: "", * mode: "custom", * custom: [{ * windowType: "daily", * sessionLimit: 10000, * dailyResetTime: "00:00", * dailyResetTimezone: "+00:00", * quotaReachedAction: "stop", * }], * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import datadog:index/rumRetentionQuota:RumRetentionQuota testing_rum_retention_quota "" * ``` */ export declare class RumRetentionQuota extends pulumi.CustomResource { /** * Get an existing RumRetentionQuota 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?: RumRetentionQuotaState, opts?: pulumi.CustomResourceOptions): RumRetentionQuota; /** * Check whether an existing RumRetentionQuota 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?: RumRetentionQuotaState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of RumRetentionQuota. 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 RumRetentionQuota; /** * RUM application ID. */ readonly applicationId: pulumi.Output; /** * Custom retention quota configuration. Required when `mode` is `custom`. */ readonly custom: pulumi.Output; /** * The retention quota mode. Valid values are `custom`. */ readonly mode: pulumi.Output; /** * Create a RumRetentionQuota 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: RumRetentionQuotaArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering RumRetentionQuota resources. */ export interface RumRetentionQuotaState { /** * RUM application ID. */ applicationId?: pulumi.Input; /** * Custom retention quota configuration. Required when `mode` is `custom`. */ custom?: pulumi.Input; /** * The retention quota mode. Valid values are `custom`. */ mode?: pulumi.Input; } /** * The set of arguments for constructing a RumRetentionQuota resource. */ export interface RumRetentionQuotaArgs { /** * RUM application ID. */ applicationId: pulumi.Input; /** * Custom retention quota configuration. Required when `mode` is `custom`. */ custom?: pulumi.Input; /** * The retention quota mode. Valid values are `custom`. */ mode: pulumi.Input; } //# sourceMappingURL=rumRetentionQuota.d.ts.map