"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.RegistryDataContainer = void 0;
const pulumi = require("@pulumi/pulumi");
const inputs = require("../types/input");
const utilities = require("../utilities");
/**
 * Azure Resource Manager resource envelope.
 *
 * Uses Azure REST API version 2025-09-01. In version 2.x of the Azure Native provider, it used API version 2023-04-01.
 *
 * Other available API versions: 2023-02-01-preview, 2023-04-01, 2023-04-01-preview, 2023-06-01-preview, 2023-08-01-preview, 2023-10-01, 2024-01-01-preview, 2024-04-01, 2024-07-01-preview, 2024-10-01, 2024-10-01-preview, 2025-01-01-preview, 2025-04-01, 2025-04-01-preview, 2025-06-01, 2025-07-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native machinelearningservices [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
class RegistryDataContainer extends pulumi.CustomResource {
    /**
     * Get an existing RegistryDataContainer 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 RegistryDataContainer(name, undefined, { ...opts, id: id });
    }
    /**
     * Returns true if the given object is an instance of RegistryDataContainer.  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'] === RegistryDataContainer.__pulumiType;
    }
    /**
     * Create a RegistryDataContainer 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?.dataContainerProperties === undefined && !opts.urn) {
                throw new Error("Missing required property 'dataContainerProperties'");
            }
            if (args?.registryName === undefined && !opts.urn) {
                throw new Error("Missing required property 'registryName'");
            }
            if (args?.resourceGroupName === undefined && !opts.urn) {
                throw new Error("Missing required property 'resourceGroupName'");
            }
            resourceInputs["dataContainerProperties"] = args ? (args.dataContainerProperties ? pulumi.output(args.dataContainerProperties).apply(inputs.machinelearningservices.dataContainerArgsProvideDefaults) : undefined) : undefined;
            resourceInputs["name"] = args?.name;
            resourceInputs["registryName"] = args?.registryName;
            resourceInputs["resourceGroupName"] = args?.resourceGroupName;
            resourceInputs["azureApiVersion"] = undefined /*out*/;
            resourceInputs["systemData"] = undefined /*out*/;
            resourceInputs["type"] = undefined /*out*/;
        }
        else {
            resourceInputs["azureApiVersion"] = undefined /*out*/;
            resourceInputs["dataContainerProperties"] = undefined /*out*/;
            resourceInputs["name"] = undefined /*out*/;
            resourceInputs["systemData"] = undefined /*out*/;
            resourceInputs["type"] = undefined /*out*/;
        }
        opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
        const aliasOpts = { aliases: [{ type: "azure-native:machinelearningservices/v20230201preview:RegistryDataContainer" }, { type: "azure-native:machinelearningservices/v20230401:RegistryDataContainer" }, { type: "azure-native:machinelearningservices/v20230401preview:RegistryDataContainer" }, { type: "azure-native:machinelearningservices/v20230601preview:RegistryDataContainer" }, { type: "azure-native:machinelearningservices/v20230801preview:RegistryDataContainer" }, { type: "azure-native:machinelearningservices/v20231001:RegistryDataContainer" }, { type: "azure-native:machinelearningservices/v20240101preview:RegistryDataContainer" }, { type: "azure-native:machinelearningservices/v20240401:RegistryDataContainer" }, { type: "azure-native:machinelearningservices/v20240401preview:RegistryDataContainer" }, { type: "azure-native:machinelearningservices/v20240701preview:RegistryDataContainer" }, { type: "azure-native:machinelearningservices/v20241001:RegistryDataContainer" }, { type: "azure-native:machinelearningservices/v20241001preview:RegistryDataContainer" }, { type: "azure-native:machinelearningservices/v20250101preview:RegistryDataContainer" }, { type: "azure-native:machinelearningservices/v20250401:RegistryDataContainer" }, { type: "azure-native:machinelearningservices/v20250401preview:RegistryDataContainer" }, { type: "azure-native:machinelearningservices/v20250601:RegistryDataContainer" }, { type: "azure-native:machinelearningservices/v20250701preview:RegistryDataContainer" }, { type: "azure-native:machinelearningservices/v20250901:RegistryDataContainer" }] };
        opts = pulumi.mergeOptions(opts, aliasOpts);
        super(RegistryDataContainer.__pulumiType, name, resourceInputs, opts);
    }
}
exports.RegistryDataContainer = RegistryDataContainer;
/** @internal */
RegistryDataContainer.__pulumiType = 'azure-native:machinelearningservices:RegistryDataContainer';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVnaXN0cnlEYXRhQ29udGFpbmVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vbWFjaGluZWxlYXJuaW5nc2VydmljZXMvcmVnaXN0cnlEYXRhQ29udGFpbmVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxzRUFBc0U7QUFDdEUsaUZBQWlGOzs7QUFFakYseUNBQXlDO0FBQ3pDLHlDQUF5QztBQUd6QywwQ0FBMEM7QUFFMUM7Ozs7OztHQU1HO0FBQ0gsTUFBYSxxQkFBc0IsU0FBUSxNQUFNLENBQUMsY0FBYztJQUM1RDs7Ozs7OztPQU9HO0lBQ0ksTUFBTSxDQUFDLEdBQUcsQ0FBQyxJQUFZLEVBQUUsRUFBMkIsRUFBRSxJQUFtQztRQUM1RixPQUFPLElBQUkscUJBQXFCLENBQUMsSUFBSSxFQUFFLFNBQWdCLEVBQUUsRUFBRSxHQUFHLElBQUksRUFBRSxFQUFFLEVBQUUsRUFBRSxFQUFFLENBQUMsQ0FBQztJQUNsRixDQUFDO0lBS0Q7OztPQUdHO0lBQ0ksTUFBTSxDQUFDLFVBQVUsQ0FBQyxHQUFRO1FBQzdCLElBQUksR0FBRyxLQUFLLFNBQVMsSUFBSSxHQUFHLEtBQUssSUFBSSxFQUFFO1lBQ25DLE9B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