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