import * as pulumi from "@pulumi/pulumi"; /** * > **This resource is no longer supported.** The `newrelic.NrqlDropRule` resource reached its end-of-life on August 31, 2026 and is no longer functional. It will be removed from the New Relic Terraform Provider in an upcoming release.

If you are looking for documentation on the arguments, attributes, or usage examples for this resource, please refer to an older release of the New Relic Terraform Provider (v3.97.0 or earlier) in the Terraform Registry release history.

New Relic has completed the upstream migration of all existing Drop Rules to **Pipeline Cloud Rules**. To continue managing these rules via Terraform, update your configurations to use the [`newrelic.PipelineCloudRule`](https://www.terraform.io/providers/newrelic/newrelic/latest/docs/resources/pipeline_cloud_rule) resource. For `newrelic.NrqlDropRule` resources with `action = "dropAttributesFromMetricAggregates"`, the recommended alternative is the [`newrelic.MetricPruningRule`](https://www.terraform.io/providers/newrelic/newrelic/latest/docs/resources/metric_pruning_rule) resource.

Please refer to the [Drop Rules EOL Migration Guide](https://www.terraform.io/providers/newrelic/newrelic/latest/docs/guides/drop_rules_eol_guide) for detailed migration instructions. */ export declare class NrqlDropRule extends pulumi.CustomResource { /** * Get an existing NrqlDropRule 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?: NrqlDropRuleState, opts?: pulumi.CustomResourceOptions): NrqlDropRule; /** * Returns true if the given object is an instance of NrqlDropRule. 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 NrqlDropRule; /** * Account with the NRQL drop rule will be put. */ readonly accountId: pulumi.Output; /** * The drop rule action (drop_data, drop_attributes, or drop_attributes_from_metric_aggregates). */ readonly action: pulumi.Output; /** * Provides additional information about the rule. */ readonly description: pulumi.Output; /** * Explains which data to apply the drop rule to. */ readonly nrql: pulumi.Output; /** * The GUID of the corresponding Pipeline Cloud Rule, migrated upstream by New Relic. Use this to import the rule as a newrelic.PipelineCloudRule resource. */ readonly pipelineCloudRuleEntityId: pulumi.Output; /** * The id, uniquely identifying the rule. */ readonly ruleId: pulumi.Output; /** * Create a NrqlDropRule 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: NrqlDropRuleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NrqlDropRule resources. */ export interface NrqlDropRuleState { /** * Account with the NRQL drop rule will be put. */ accountId?: pulumi.Input; /** * The drop rule action (drop_data, drop_attributes, or drop_attributes_from_metric_aggregates). */ action?: pulumi.Input; /** * Provides additional information about the rule. */ description?: pulumi.Input; /** * Explains which data to apply the drop rule to. */ nrql?: pulumi.Input; /** * The GUID of the corresponding Pipeline Cloud Rule, migrated upstream by New Relic. Use this to import the rule as a newrelic.PipelineCloudRule resource. */ pipelineCloudRuleEntityId?: pulumi.Input; /** * The id, uniquely identifying the rule. */ ruleId?: pulumi.Input; } /** * The set of arguments for constructing a NrqlDropRule resource. */ export interface NrqlDropRuleArgs { /** * Account with the NRQL drop rule will be put. */ accountId?: pulumi.Input; /** * The drop rule action (drop_data, drop_attributes, or drop_attributes_from_metric_aggregates). */ action: pulumi.Input; /** * Provides additional information about the rule. */ description?: pulumi.Input; /** * Explains which data to apply the drop rule to. */ nrql: pulumi.Input; } //# sourceMappingURL=nrqlDropRule.d.ts.map