"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.HciEdgeDevice = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Arc-enabled edge device with HCI OS.
 *
 * Uses Azure REST API version 2024-04-01. In version 2.x of the Azure Native provider, it used API version 2023-08-01-preview.
 */
class HciEdgeDevice extends pulumi.CustomResource {
    /**
     * Get an existing HciEdgeDevice 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 HciEdgeDevice(name, undefined, { ...opts, id: id });
    }
    /**
     * Returns true if the given object is an instance of HciEdgeDevice.  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'] === HciEdgeDevice.__pulumiType;
    }
    /**
     * Create a HciEdgeDevice 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?.kind === undefined && !opts.urn) {
                throw new Error("Missing required property 'kind'");
            }
            if (args?.resourceUri === undefined && !opts.urn) {
                throw new Error("Missing required property 'resourceUri'");
            }
            resourceInputs["edgeDeviceName"] = args?.edgeDeviceName;
            resourceInputs["kind"] = "HCI";
            resourceInputs["properties"] = args?.properties;
            resourceInputs["resourceUri"] = args?.resourceUri;
            resourceInputs["azureApiVersion"] = undefined /*out*/;
            resourceInputs["name"] = undefined /*out*/;
            resourceInputs["systemData"] = undefined /*out*/;
            resourceInputs["type"] = undefined /*out*/;
        }
        else {
            resourceInputs["azureApiVersion"] = undefined /*out*/;
            resourceInputs["kind"] = undefined /*out*/;
            resourceInputs["name"] = undefined /*out*/;
            resourceInputs["properties"] = undefined /*out*/;
            resourceInputs["systemData"] = undefined /*out*/;
            resourceInputs["type"] = undefined /*out*/;
        }
        opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
        const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20230801preview:EdgeDevice" }, { type: "azure-native:azurestackhci/v20230801preview:HciEdgeDevice" }, { type: "azure-native:azurestackhci/v20231101preview:EdgeDevice" }, { type: "azure-native:azurestackhci/v20231101preview:HciEdgeDevice" }, { type: "azure-native:azurestackhci/v20240101:EdgeDevice" }, { type: "azure-native:azurestackhci/v20240101:HciEdgeDevice" }, { type: "azure-native:azurestackhci/v20240215preview:HciEdgeDevice" }, { type: "azure-native:azurestackhci/v20240401:HciEdgeDevice" }, { type: "azure-native:azurestackhci/v20240901preview:HciEdgeDevice" }, { type: "azure-native:azurestackhci/v20241201preview:HciEdgeDevice" }, { type: "azure-native:azurestackhci/v20250201preview:HciEdgeDevice" }, { type: "azure-native:azurestackhci/v20250915preview:HciEdgeDevice" }, { type: "azure-native:azurestackhci/v20251001:HciEdgeDevice" }, { type: "azure-native:azurestackhci:EdgeDevice" }] };
        opts = pulumi.mergeOptions(opts, aliasOpts);
        super(HciEdgeDevice.__pulumiType, name, resourceInputs, opts);
    }
}
exports.HciEdgeDevice = HciEdgeDevice;
/** @internal */
HciEdgeDevice.__pulumiType = 'azure-native:azurestackhci:HciEdgeDevice';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGNpRWRnZURldmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL2F6dXJlc3RhY2toY2kvaGNpRWRnZURldmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsc0VBQXNFO0FBQ3RFLGlGQUFpRjs7O0FBRWpGLHlDQUF5Qzt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