"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.listDnsResolverByVirtualNetworkOutput = exports.listDnsResolverByVirtualNetwork = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Lists DNS resolver resource IDs linked to a virtual network.
 *
 * Uses Azure REST API version 2023-07-01-preview.
 *
 * Other available API versions: 2020-04-01-preview, 2022-07-01, 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 listDnsResolverByVirtualNetwork(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("azure-native:dnsresolver:listDnsResolverByVirtualNetwork", {
        "resourceGroupName": args.resourceGroupName,
        "top": args.top,
        "virtualNetworkName": args.virtualNetworkName,
    }, opts);
}
exports.listDnsResolverByVirtualNetwork = listDnsResolverByVirtualNetwork;
/**
 * Lists DNS resolver resource IDs linked to a virtual network.
 *
 * Uses Azure REST API version 2023-07-01-preview.
 *
 * Other available API versions: 2020-04-01-preview, 2022-07-01, 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 listDnsResolverByVirtualNetworkOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("azure-native:dnsresolver:listDnsResolverByVirtualNetwork", {
        "resourceGroupName": args.resourceGroupName,
        "top": args.top,
        "virtualNetworkName": args.virtualNetworkName,
    }, opts);
}
exports.listDnsResolverByVirtualNetworkOutput = listDnsResolverByVirtualNetworkOutput;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozL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