"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.getDnsResolverPolicyVirtualNetworkLinkOutput = exports.getDnsResolverPolicyVirtualNetworkLink = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Gets properties of a DNS resolver policy virtual network link.
 *
 * 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 getDnsResolverPolicyVirtualNetworkLink(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("azure-native:dnsresolver:getDnsResolverPolicyVirtualNetworkLink", {
        "dnsResolverPolicyName": args.dnsResolverPolicyName,
        "dnsResolverPolicyVirtualNetworkLinkName": args.dnsResolverPolicyVirtualNetworkLinkName,
        "resourceGroupName": args.resourceGroupName,
    }, opts);
}
exports.getDnsResolverPolicyVirtualNetworkLink = getDnsResolverPolicyVirtualNetworkLink;
/**
 * Gets properties of a DNS resolver policy virtual network link.
 *
 * 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 getDnsResolverPolicyVirtualNetworkLinkOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("azure-native:dnsresolver:getDnsResolverPolicyVirtualNetworkLink", {
        "dnsResolverPolicyName": args.dnsResolverPolicyName,
        "dnsResolverPolicyVirtualNetworkLinkName": args.dnsResolverPolicyVirtualNetworkLinkName,
        "resourceGroupName": args.resourceGroupName,
    }, opts);
}
exports.getDnsResolverPolicyVirtualNetworkLinkOutput = getDnsResolverPolicyVirtualNetworkLinkOutput;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0RG5zUmVzb2x2ZXJQb2xpY3lWaXJ0dWFsTmV0d29ya0xpbmsuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9kbnNyZXNvbHZlci9nZXREbnNSZXNvbHZlclBvbGljeVZpcnR1YWxOZXR3b3JrTGluay50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsc0VBQXNFO0FBQ3RFLGlGQUFpRjs7O0FBRWpGLHlDQUF5QztBQUl6QywwQ0FBMEM7QUFFMUM7Ozs7OztHQU1HO0FBQ0gsU0FBZ0Isc0NBQXNDLENBQUMsSUFBZ0QsRUFBRSxJQUEyQjtJQUNoSSxJQUFJLEdBQUcsTUFBTSxDQUFDLFlBQVksQ0FBQyxTQUFTLENBQUMsb0JBQW9CLEVBQUUsRUFBRSxJQUFJLElBQUksRUFBRSxDQUFDLENBQUM7SUFDekUsT0FBTyxNQUFNLENBQUMsT0FBTyxDQUFDLE1BQU0sQ0FBQyxpRUFBaUUsRUFBRTtRQUM1Rix1QkFBdUIsRUFBRSxJQUFJLENBQUMscUJBQXFCO1FBQ25ELHlDQUF5QyxFQUFFLElBQUksQ0FBQyx1Q0FBdUM7UUFDdkYsbUJBQW1CLEVBQUUsSUFBSSxDQUFDLGlCQUFpQjtLQUM5QyxFQUFFLElBQUksQ0FBQyxDQUFDO0FBQ2IsQ0FBQztBQVBELHdGQU9DO0FBOEREOzs7Ozs7R0FNRztBQUNILFNBQWdCLDRDQUE0QyxDQUFDLElBQXNELEVBQUUsSUFBaUM7SUFDbEosSUFBSSxHQUFHLE1BQU0sQ0FBQyxZQUFZLENBQUMsU0FBUyxDQUFDLG9CQUFvQixFQUFFLEVBQUUsSUFBSSxJQUFJLEVBQUUsQ0FB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