import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../../types"; /** * Creates a new Response Policy Rule. */ export declare class ResponsePolicyRule extends pulumi.CustomResource { /** * Get an existing ResponsePolicyRule 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ResponsePolicyRule; /** * Returns true if the given object is an instance of ResponsePolicyRule. 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 ResponsePolicyRule; /** * Answer this query with a behavior rather than DNS data. */ readonly behavior: pulumi.Output; /** * The DNS name (wildcard or exact) to apply this rule to. Must be unique within the Response Policy Rule. */ readonly dnsName: pulumi.Output; readonly kind: pulumi.Output; /** * Answer this query directly with DNS data. These ResourceRecordSets override any other DNS behavior for the matched name; in particular they override private zones, the public internet, and GCP internal DNS. No SOA nor NS types are allowed. */ readonly localData: pulumi.Output; /** * An identifier for this rule. Must be unique with the ResponsePolicy. */ readonly ruleName: pulumi.Output; /** * Create a ResponsePolicyRule 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: ResponsePolicyRuleArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a ResponsePolicyRule resource. */ export interface ResponsePolicyRuleArgs { /** * Answer this query with a behavior rather than DNS data. */ readonly behavior?: pulumi.Input; /** * The DNS name (wildcard or exact) to apply this rule to. Must be unique within the Response Policy Rule. */ readonly dnsName?: pulumi.Input; readonly kind?: pulumi.Input; /** * Answer this query directly with DNS data. These ResourceRecordSets override any other DNS behavior for the matched name; in particular they override private zones, the public internet, and GCP internal DNS. No SOA nor NS types are allowed. */ readonly localData?: pulumi.Input; readonly project: pulumi.Input; readonly responsePolicy: pulumi.Input; readonly responsePolicyRule: pulumi.Input; /** * An identifier for this rule. Must be unique with the ResponsePolicy. */ readonly ruleName?: pulumi.Input; }