"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.getDeploymentStackAtManagementGroupOutput = exports.getDeploymentStackAtManagementGroup = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Gets the Deployment stack with the given name.
 *
 * Uses Azure REST API version 2024-03-01.
 *
 * Other available API versions: 2022-08-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native resources [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getDeploymentStackAtManagementGroup(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("azure-native:resources:getDeploymentStackAtManagementGroup", {
        "deploymentStackName": args.deploymentStackName,
        "managementGroupId": args.managementGroupId,
    }, opts);
}
exports.getDeploymentStackAtManagementGroup = getDeploymentStackAtManagementGroup;
/**
 * Gets the Deployment stack with the given name.
 *
 * Uses Azure REST API version 2024-03-01.
 *
 * Other available API versions: 2022-08-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native resources [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getDeploymentStackAtManagementGroupOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("azure-native:resources:getDeploymentStackAtManagementGroup", {
        "deploymentStackName": args.deploymentStackName,
        "managementGroupId": args.managementGroupId,
    }, opts);
}
exports.getDeploymentStackAtManagementGroupOutput = getDeploymentStackAtManagementGroupOutput;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0RGVwbG95bWVudFN0YWNrQXRNYW5hZ2VtZW50R3JvdXAuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9yZXNvdXJjZXMvZ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