"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.RegistryComponentContainer = 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: 2022-10-01-preview, 2022-12-01-preview, 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 RegistryComponentContainer extends pulumi.CustomResource {
    /**
     * Get an existing RegistryComponentContainer 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 RegistryComponentContainer(name, undefined, { ...opts, id: id });
    }
    /**
     * Returns true if the given object is an instance of RegistryComponentContainer.  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'] === RegistryComponentContainer.__pulumiType;
    }
    /**
     * Create a RegistryComponentContainer 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?.componentContainerProperties === undefined && !opts.urn) {
                throw new Error("Missing required property 'componentContainerProperties'");
            }
            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["componentContainerProperties"] = args ? (args.componentContainerProperties ? pulumi.output(args.componentContainerProperties).apply(inputs.machinelearningservices.componentContainerArgsProvideDefaults) : undefined) : undefined;
            resourceInputs["componentName"] = args?.componentName;
            resourceInputs["registryName"] = args?.registryName;
            resourceInputs["resourceGroupName"] = args?.resourceGroupName;
            resourceInputs["azureApiVersion"] = undefined /*out*/;
            resourceInputs["name"] = undefined /*out*/;
            resourceInputs["systemData"] = undefined /*out*/;
            resourceInputs["type"] = undefined /*out*/;
        }
        else {
            resourceInputs["azureApiVersion"] = undefined /*out*/;
            resourceInputs["componentContainerProperties"] = 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/v20221001preview:RegistryComponentContainer" }, { type: "azure-native:machinelearningservices/v20221201preview:RegistryComponentContainer" }, { type: "azure-native:machinelearningservices/v20230201preview:RegistryComponentContainer" }, { type: "azure-native:machinelearningservices/v20230401:RegistryComponentContainer" }, { type: "azure-native:machinelearningservices/v20230401preview:RegistryComponentContainer" }, { type: "azure-native:machinelearningservices/v20230601preview:RegistryComponentContainer" }, { type: "azure-native:machinelearningservices/v20230801preview:RegistryComponentContainer" }, { type: "azure-native:machinelearningservices/v20231001:RegistryComponentContainer" }, { type: "azure-native:machinelearningservices/v20240101preview:RegistryComponentContainer" }, { type: "azure-native:machinelearningservices/v20240401:RegistryComponentContainer" }, { type: "azure-native:machinelearningservices/v20240401preview:RegistryComponentContainer" }, { type: "azure-native:machinelearningservices/v20240701preview:RegistryComponentContainer" }, { type: "azure-native:machinelearningservices/v20241001:RegistryComponentContainer" }, { type: "azure-native:machinelearningservices/v20241001preview:RegistryComponentContainer" }, { type: "azure-native:machinelearningservices/v20250101preview:RegistryComponentContainer" }, { type: "azure-native:machinelearningservices/v20250401:RegistryComponentContainer" }, { type: "azure-native:machinelearningservices/v20250401preview:RegistryComponentContainer" }, { type: "azure-native:machinelearningservices/v20250601:RegistryComponentContainer" }, { type: "azure-native:machinelearningservices/v20250701preview:RegistryComponentContainer" }, { type: "azure-native:machinelearningservices/v20250901:RegistryComponentContainer" }] };
        opts = pulumi.mergeOptions(opts, aliasOpts);
        super(RegistryComponentContainer.__pulumiType, name, resourceInputs, opts);
    }
}
exports.RegistryComponentContainer = RegistryComponentContainer;
/** @internal */
RegistryComponentContainer.__pulumiType = 'azure-native:machinelearningservices:RegistryComponentContainer';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVnaXN0cnlDb21wb25lbnRDb250YWluZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9tYWNoaW5lbGVhcm5pbmdzZXJ2aWNlcy9yZWdpc3RyeUNvbXBvbmVudENvbnRhaW5lci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsc0VBQXNFO0FBQ3RFLGlGQUFpRjs7O0FBRWpGLHlDQUF5QztBQUN6Qyx5Q0FBeUM7QUFHekMsMENBQTBDO0FBRTFDOzs7Ozs7R0FNRztBQUNILE1BQWEsMEJBQTJCLFNBQVEsTUFBTSxDQUFDLGNBQWM7SUFDakU7Ozs7Ozs7T0FPRztJQUNJLE1BQU0sQ0FBQyxHQUFHLENBQUMsSUFBWSxFQUFFLEVBQTJCLEVBQUUsSUFBbUM7UUFDNUYsT0FBTyxJQUFJLDBCQUEwQixDQUFDLElBQUksRUFBRSxTQUFnQixFQUFFLEVBQUUsR0FBRyxJQUFJLEVBQUUsRUFBRSxFQUFFLEVBQUUsRUF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