"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.DeploymentAtManagementGroupScope = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Deployment information.
 *
 * Uses Azure REST API version 2024-03-01. In version 2.x of the Azure Native provider, it used API version 2022-09-01.
 *
 * Other available API versions: 2020-10-01, 2021-01-01, 2021-04-01, 2022-09-01, 2023-07-01, 2024-07-01, 2024-11-01, 2025-03-01, 2025-04-01. 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.
 */
class DeploymentAtManagementGroupScope extends pulumi.CustomResource {
    /**
     * Get an existing DeploymentAtManagementGroupScope resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name, id, opts) {
        return new DeploymentAtManagementGroupScope(name, undefined, { ...opts, id: id });
    }
    /**
     * Returns true if the given object is an instance of DeploymentAtManagementGroupScope.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj) {
        if (obj === undefined || obj === null) {
            return false;
        }
        return obj['__pulumiType'] === DeploymentAtManagementGroupScope.__pulumiType;
    }
    /**
     * Create a DeploymentAtManagementGroupScope resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name, args, opts) {
        let resourceInputs = {};
        opts = opts || {};
        if (!opts.id) {
            if (args?.groupId === undefined && !opts.urn) {
                throw new Error("Missing required property 'groupId'");
            }
            if (args?.properties === undefined && !opts.urn) {
                throw new Error("Missing required property 'properties'");
            }
            resourceInputs["deploymentName"] = args?.deploymentName;
            resourceInputs["groupId"] = args?.groupId;
            resourceInputs["location"] = args?.location;
            resourceInputs["properties"] = args?.properties;
            resourceInputs["tags"] = args?.tags;
            resourceInputs["azureApiVersion"] = undefined /*out*/;
            resourceInputs["name"] = undefined /*out*/;
            resourceInputs["type"] = undefined /*out*/;
        }
        else {
            resourceInputs["azureApiVersion"] = undefined /*out*/;
            resourceInputs["location"] = undefined /*out*/;
            resourceInputs["name"] = undefined /*out*/;
            resourceInputs["properties"] = undefined /*out*/;
            resourceInputs["tags"] = undefined /*out*/;
            resourceInputs["type"] = undefined /*out*/;
        }
        opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
        const aliasOpts = { aliases: [{ type: "azure-native:resources/v20190501:DeploymentAtManagementGroupScope" }, { type: "azure-native:resources/v20190510:DeploymentAtManagementGroupScope" }, { type: "azure-native:resources/v20190701:DeploymentAtManagementGroupScope" }, { type: "azure-native:resources/v20190801:DeploymentAtManagementGroupScope" }, { type: "azure-native:resources/v20191001:DeploymentAtManagementGroupScope" }, { type: "azure-native:resources/v20200601:DeploymentAtManagementGroupScope" }, { type: "azure-native:resources/v20200801:DeploymentAtManagementGroupScope" }, { type: "azure-native:resources/v20201001:DeploymentAtManagementGroupScope" }, { type: "azure-native:resources/v20210101:DeploymentAtManagementGroupScope" }, { type: "azure-native:resources/v20210401:DeploymentAtManagementGroupScope" }, { type: "azure-native:resources/v20220901:DeploymentAtManagementGroupScope" }, { type: "azure-native:resources/v20230701:DeploymentAtManagementGroupScope" }, { type: "azure-native:resources/v20240301:DeploymentAtManagementGroupScope" }, { type: "azure-native:resources/v20240701:DeploymentAtManagementGroupScope" }, { type: "azure-native:resources/v20241101:DeploymentAtManagementGroupScope" }, { type: "azure-native:resources/v20250301:DeploymentAtManagementGroupScope" }, { type: "azure-native:resources/v20250401:DeploymentAtManagementGroupScope" }] };
        opts = pulumi.mergeOptions(opts, aliasOpts);
        super(DeploymentAtManagementGroupScope.__pulumiType, name, resourceInputs, opts);
    }
}
exports.DeploymentAtManagementGroupScope = DeploymentAtManagementGroupScope;
/** @internal */
DeploymentAtManagementGroupScope.__pulumiType = 'azure-native:resources:DeploymentAtManagementGroupScope';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVwbG95bWVudEF0TWFuYWdlbWVudEdyb3VwU2NvcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9yZXNvdXJjZXMvZGVwbG95bWVudEF0TWFuYWdlbWVudEdyb3VwU2NvcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHNFQUFzRTtBQUN0RSxpRkFBaUY7OztBQUVqRix5Q0FBeUM7QUFJekMsMENBQTBDO0FBRTFDOzs7Ozs7R0FNRztBQUNILE1BQWEsZ0NBQWlDLFNBQVEsTUFBTSxDQUFDLGNBQWM7SUFDdkU7Ozs7Ozs7T0FPRztJQUNJLE1BQU0sQ0FBQyxHQUFHLENBQUMsSUFBWSxFQUFFLEVBQTJCLEVBQUUsSUFBbUM7UUFDNUYsT0FBTyxJQUFJLGdDQUFnQyxDQUFDLElBQUksRUFBRSxTQUFnQixFQUFFLEVBQUUsR0FBRyxJQUFJLEVBQUUsRUFBRSxFQUFFLEVBQUUsRUFBRSxDQUFDLENBQUM7SUFDN0YsQ0FBQztJQUtEOzs7T0FHRztJQUNJLE1BQU0sQ0FBQyxVQUFVLENBQUMsR0FBUTtRQUM3QixJQUFJLEdBQUcsS0FBSyxTQUFTLElBQUksR0FBRyxLQUFLLElBQUksRUFBRTtZQUNuQyxPQUFPLEtBQUssQ0FBQztTQUNoQjtRQUNELE9BQU8sR0FBRyxDQUFDLGNBQWMsQ0FBQyxLQUFLLGdDQUFnQyxDQUFDLFlBQVksQ0FBQztJQUNqRixDQUFDO0lBMkJEOzs7Ozs7T0FNRztJQUNILFlBQVksSUFBWSxFQUFFLElBQTBDLEVBQUUsSUFBbUM7UUFDckcsSUFBSSxjQUFjLEdBQWtCL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