import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * Manages a Private DNS Resolver Forwarding Rule.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 *
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "example-resources",
 *     location: "west europe",
 * });
 * const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
 *     name: "example-vnet",
 *     resourceGroupName: example.name,
 *     location: example.location,
 *     addressSpaces: ["10.0.0.0/16"],
 * });
 * const exampleSubnet = new azure.network.Subnet("example", {
 *     name: "outbounddns",
 *     resourceGroupName: example.name,
 *     virtualNetworkName: exampleVirtualNetwork.name,
 *     addressPrefixes: ["10.0.0.64/28"],
 *     delegations: [{
 *         name: "Microsoft.Network.dnsResolvers",
 *         serviceDelegation: {
 *             actions: ["Microsoft.Network/virtualNetworks/subnets/join/action"],
 *             name: "Microsoft.Network/dnsResolvers",
 *         },
 *     }],
 * });
 * const exampleResolver = new azure.privatedns.Resolver("example", {
 *     name: "example-resolver",
 *     resourceGroupName: example.name,
 *     location: example.location,
 *     virtualNetworkId: exampleVirtualNetwork.id,
 * });
 * const exampleResolverOutboundEndpoint = new azure.privatedns.ResolverOutboundEndpoint("example", {
 *     name: "example-endpoint",
 *     privateDnsResolverId: exampleResolver.id,
 *     location: exampleResolver.location,
 *     subnetId: exampleSubnet.id,
 *     tags: {
 *         key: "value",
 *     },
 * });
 * const exampleResolverDnsForwardingRuleset = new azure.privatedns.ResolverDnsForwardingRuleset("example", {
 *     name: "example-drdfr",
 *     resourceGroupName: example.name,
 *     location: example.location,
 *     privateDnsResolverOutboundEndpointIds: [exampleResolverOutboundEndpoint.id],
 * });
 * const exampleResolverForwardingRule = new azure.privatedns.ResolverForwardingRule("example", {
 *     name: "example-rule",
 *     dnsForwardingRulesetId: exampleResolverDnsForwardingRuleset.id,
 *     domainName: "onprem.local.",
 *     enabled: true,
 *     targetDnsServers: [{
 *         ipAddress: "10.10.0.1",
 *         port: 53,
 *     }],
 *     metadata: {
 *         key: "value",
 *     },
 * });
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This resource uses the following Azure API Providers:
 *
 * * `Microsoft.Network` - 2022-07-01
 *
 * ## Import
 *
 * Private DNS Resolver Forwarding Rules can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:privatedns/resolverForwardingRule:ResolverForwardingRule example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Network/dnsForwardingRulesets/dnsForwardingRuleset1/forwardingRules/forwardingRule1
 * ```
 */
export declare class ResolverForwardingRule extends pulumi.CustomResource {
    /**
     * Get an existing ResolverForwardingRule 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<pulumi.ID>, state?: ResolverForwardingRuleState, opts?: pulumi.CustomResourceOptions): ResolverForwardingRule;
    /**
     * Returns true if the given object is an instance of ResolverForwardingRule.  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 ResolverForwardingRule;
    /**
     * Specifies the ID of the Private DNS Resolver Forwarding Ruleset. Changing this forces a new Private DNS Resolver Forwarding Rule to be created.
     */
    readonly dnsForwardingRulesetId: pulumi.Output<string>;
    /**
     * Specifies the domain name for the Private DNS Resolver Forwarding Rule. Changing this forces a new Private DNS Resolver Forwarding Rule to be created.
     */
    readonly domainName: pulumi.Output<string>;
    /**
     * Specifies the state of the Private DNS Resolver Forwarding Rule. Defaults to `true`.
     */
    readonly enabled: pulumi.Output<boolean | undefined>;
    /**
     * Metadata attached to the Private DNS Resolver Forwarding Rule.
     */
    readonly metadata: pulumi.Output<{
        [key: string]: string;
    } | undefined>;
    /**
     * Specifies the name which should be used for this Private DNS Resolver Forwarding Rule. Changing this forces a new Private DNS Resolver Forwarding Rule to be created.
     */
    readonly name: pulumi.Output<string>;
    /**
     * Can be specified multiple times to define multiple target DNS servers. Each `targetDnsServers` block as defined below.
     */
    readonly targetDnsServers: pulumi.Output<outputs.privatedns.ResolverForwardingRuleTargetDnsServer[]>;
    /**
     * Create a ResolverForwardingRule 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: ResolverForwardingRuleArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering ResolverForwardingRule resources.
 */
export interface ResolverForwardingRuleState {
    /**
     * Specifies the ID of the Private DNS Resolver Forwarding Ruleset. Changing this forces a new Private DNS Resolver Forwarding Rule to be created.
     */
    dnsForwardingRulesetId?: pulumi.Input<string | undefined>;
    /**
     * Specifies the domain name for the Private DNS Resolver Forwarding Rule. Changing this forces a new Private DNS Resolver Forwarding Rule to be created.
     */
    domainName?: pulumi.Input<string | undefined>;
    /**
     * Specifies the state of the Private DNS Resolver Forwarding Rule. Defaults to `true`.
     */
    enabled?: pulumi.Input<boolean | undefined>;
    /**
     * Metadata attached to the Private DNS Resolver Forwarding Rule.
     */
    metadata?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Specifies the name which should be used for this Private DNS Resolver Forwarding Rule. Changing this forces a new Private DNS Resolver Forwarding Rule to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * Can be specified multiple times to define multiple target DNS servers. Each `targetDnsServers` block as defined below.
     */
    targetDnsServers?: pulumi.Input<pulumi.Input<inputs.privatedns.ResolverForwardingRuleTargetDnsServer>[] | undefined>;
}
/**
 * The set of arguments for constructing a ResolverForwardingRule resource.
 */
export interface ResolverForwardingRuleArgs {
    /**
     * Specifies the ID of the Private DNS Resolver Forwarding Ruleset. Changing this forces a new Private DNS Resolver Forwarding Rule to be created.
     */
    dnsForwardingRulesetId: pulumi.Input<string>;
    /**
     * Specifies the domain name for the Private DNS Resolver Forwarding Rule. Changing this forces a new Private DNS Resolver Forwarding Rule to be created.
     */
    domainName: pulumi.Input<string>;
    /**
     * Specifies the state of the Private DNS Resolver Forwarding Rule. Defaults to `true`.
     */
    enabled?: pulumi.Input<boolean | undefined>;
    /**
     * Metadata attached to the Private DNS Resolver Forwarding Rule.
     */
    metadata?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Specifies the name which should be used for this Private DNS Resolver Forwarding Rule. Changing this forces a new Private DNS Resolver Forwarding Rule to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * Can be specified multiple times to define multiple target DNS servers. Each `targetDnsServers` block as defined below.
     */
    targetDnsServers: pulumi.Input<pulumi.Input<inputs.privatedns.ResolverForwardingRuleTargetDnsServer>[]>;
}
//# sourceMappingURL=resolverForwardingRule.d.ts.map