"use strict";
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getDnsResolverPolicyOutput = exports.getDnsResolverPolicy = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Gets properties of a DNS resolver policy.
 *
 * Uses Azure REST API version 2023-07-01-preview.
 *
 * Other available API versions: 2025-05-01, 2025-10-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native dnsresolver [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getDnsResolverPolicy(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("azure-native:dnsresolver:getDnsResolverPolicy", {
        "dnsResolverPolicyName": args.dnsResolverPolicyName,
        "resourceGroupName": args.resourceGroupName,
    }, opts);
}
exports.getDnsResolverPolicy = getDnsResolverPolicy;
/**
 * Gets properties of a DNS resolver policy.
 *
 * Uses Azure REST API version 2023-07-01-preview.
 *
 * Other available API versions: 2025-05-01, 2025-10-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native dnsresolver [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getDnsResolverPolicyOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("azure-native:dnsresolver:getDnsResolverPolicy", {
        "dnsResolverPolicyName": args.dnsResolverPolicyName,
        "resourceGroupName": args.resourceGroupName,
    }, opts);
}
exports.getDnsResolverPolicyOutput = getDnsResolverPolicyOutput;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0RG5zUmVzb2x2ZXJQb2xpY3kuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9kbnNyZXNvbHZlci9nZXREbnN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