import * as pulumi from "@pulumi/pulumi"; /** * Provides a Datadog Tag Indexing Rule Exemption resource. Exempts a metric from all tag indexing rules, preserving its current tag indexing behavior regardless of which rules match it. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * const example = new datadog.TagIndexingRuleExemption("example", { * metricName: "system.cpu.user", * reason: "High-cardinality metric; exempted to reduce index costs", * }); * ``` */ export declare class TagIndexingRuleExemption extends pulumi.CustomResource { /** * Get an existing TagIndexingRuleExemption 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?: TagIndexingRuleExemptionState, opts?: pulumi.CustomResourceOptions): TagIndexingRuleExemption; /** * Check whether an existing TagIndexingRuleExemption 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?: TagIndexingRuleExemptionState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of TagIndexingRuleExemption. 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 TagIndexingRuleExemption; /** * Timestamp when the exemption was created. */ readonly createdAt: pulumi.Output; /** * Handle of the user who created the exemption. */ readonly createdByHandle: pulumi.Output; /** * Discriminates between an explicit exemption (`exemption`) and a pre-existing legacy tag configuration acting as an implicit exclusion (`legacyTagConfiguration`). A value of `legacyTagConfiguration` means this resource does not own the exemption state. */ readonly kind: pulumi.Output; /** * The metric name to exempt. Changing this value forces a new resource to be created. */ readonly metricName: pulumi.Output; /** * The reason the metric is exempt from tag indexing rules. Changing this value forces a new resource to be created. */ readonly reason: pulumi.Output; /** * Create a TagIndexingRuleExemption 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: TagIndexingRuleExemptionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering TagIndexingRuleExemption resources. */ export interface TagIndexingRuleExemptionState { /** * Timestamp when the exemption was created. */ createdAt?: pulumi.Input; /** * Handle of the user who created the exemption. */ createdByHandle?: pulumi.Input; /** * Discriminates between an explicit exemption (`exemption`) and a pre-existing legacy tag configuration acting as an implicit exclusion (`legacyTagConfiguration`). A value of `legacyTagConfiguration` means this resource does not own the exemption state. */ kind?: pulumi.Input; /** * The metric name to exempt. Changing this value forces a new resource to be created. */ metricName?: pulumi.Input; /** * The reason the metric is exempt from tag indexing rules. Changing this value forces a new resource to be created. */ reason?: pulumi.Input; } /** * The set of arguments for constructing a TagIndexingRuleExemption resource. */ export interface TagIndexingRuleExemptionArgs { /** * The metric name to exempt. Changing this value forces a new resource to be created. */ metricName: pulumi.Input; /** * The reason the metric is exempt from tag indexing rules. Changing this value forces a new resource to be created. */ reason: pulumi.Input; } //# sourceMappingURL=tagIndexingRuleExemption.d.ts.map