"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.getManagementGroupSubscriptionOutput = exports.getManagementGroupSubscription = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Retrieves details about given subscription which is associated with the management group.
 *
 * Uses Azure REST API version 2023-04-01.
 *
 * Other available API versions: 2021-04-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native management [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getManagementGroupSubscription(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("azure-native:management:getManagementGroupSubscription", {
        "groupId": args.groupId,
        "subscriptionId": args.subscriptionId,
    }, opts);
}
exports.getManagementGroupSubscription = getManagementGroupSubscription;
/**
 * Retrieves details about given subscription which is associated with the management group.
 *
 * Uses Azure REST API version 2023-04-01.
 *
 * Other available API versions: 2021-04-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native management [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getManagementGroupSubscriptionOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("azure-native:management:getManagementGroupSubscription", {
        "groupId": args.groupId,
        "subscriptionId": args.subscriptionId,
    }, opts);
}
exports.getManagementGroupSubscriptionOutput = getManagementGroupSubscriptionOutput;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0TWFuYWdlbWVudEdyb3VwU3Vic2NyaXB0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vbWFuYWdlbWVudC9nZXRNYW5hZ2VtZW50R3JvdXBTdWJzY3JpcHRpb24udHMiXSwibmFtZXMiOltdLCJtYX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