"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.getForwardingRuleOutput = exports.getForwardingRule = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Gets properties of a forwarding rule in a DNS forwarding ruleset.
 *
 * 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 getForwardingRule(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("azure-native:dnsresolver:getForwardingRule", {
        "dnsForwardingRulesetName": args.dnsForwardingRulesetName,
        "forwardingRuleName": args.forwardingRuleName,
        "resourceGroupName": args.resourceGroupName,
    }, opts);
}
exports.getForwardingRule = getForwardingRule;
/**
 * Gets properties of a forwarding rule in a DNS forwarding ruleset.
 *
 * 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 getForwardingRuleOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("azure-native:dnsresolver:getForwardingRule", {
        "dnsForwardingRulesetName": args.dnsForwardingRulesetName,
        "forwardingRuleName": args.forwardingRuleName,
        "resourceGroupName": args.resourceGroupName,
    }, opts);
}
exports.getForwardingRuleOutput = getForwardingRuleOutput;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0Rm9yd2FyZGluZ1J1b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