"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.VendorSkus = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Sku sub resource.
 *
 * Uses Azure REST API version 2022-01-01-preview. In version 2.x of the Azure Native provider, it used API version 2022-01-01-preview.
 */
class VendorSkus extends pulumi.CustomResource {
    /**
     * Get an existing VendorSkus 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 VendorSkus(name, undefined, { ...opts, id: id });
    }
    /**
     * Returns true if the given object is an instance of VendorSkus.  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'] === VendorSkus.__pulumiType;
    }
    /**
     * Create a VendorSkus 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?.vendorName === undefined && !opts.urn) {
                throw new Error("Missing required property 'vendorName'");
            }
            resourceInputs["deploymentMode"] = args?.deploymentMode;
            resourceInputs["managedApplicationParameters"] = args?.managedApplicationParameters;
            resourceInputs["managedApplicationTemplate"] = args?.managedApplicationTemplate;
            resourceInputs["networkFunctionTemplate"] = args?.networkFunctionTemplate;
            resourceInputs["networkFunctionType"] = args?.networkFunctionType;
            resourceInputs["preview"] = args?.preview;
            resourceInputs["skuName"] = args?.skuName;
            resourceInputs["skuType"] = args?.skuType;
            resourceInputs["vendorName"] = args?.vendorName;
            resourceInputs["azureApiVersion"] = undefined /*out*/;
            resourceInputs["name"] = undefined /*out*/;
            resourceInputs["provisioningState"] = undefined /*out*/;
            resourceInputs["systemData"] = undefined /*out*/;
            resourceInputs["type"] = undefined /*out*/;
        }
        else {
            resourceInputs["azureApiVersion"] = undefined /*out*/;
            resourceInputs["deploymentMode"] = undefined /*out*/;
            resourceInputs["managedApplicationParameters"] = undefined /*out*/;
            resourceInputs["managedApplicationTemplate"] = undefined /*out*/;
            resourceInputs["name"] = undefined /*out*/;
            resourceInputs["networkFunctionTemplate"] = undefined /*out*/;
            resourceInputs["networkFunctionType"] = undefined /*out*/;
            resourceInputs["preview"] = undefined /*out*/;
            resourceInputs["provisioningState"] = undefined /*out*/;
            resourceInputs["skuType"] = undefined /*out*/;
            resourceInputs["systemData"] = undefined /*out*/;
            resourceInputs["type"] = undefined /*out*/;
        }
        opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
        const aliasOpts = { aliases: [{ type: "azure-native:hybridnetwork/v20200101preview:VendorSkus" }, { type: "azure-native:hybridnetwork/v20210501:VendorSkus" }, { type: "azure-native:hybridnetwork/v20220101preview:VendorSkus" }] };
        opts = pulumi.mergeOptions(opts, aliasOpts);
        super(VendorSkus.__pulumiType, name, resourceInputs, opts);
    }
}
exports.VendorSkus = VendorSkus;
/** @internal */
VendorSkus.__pulumiType = 'azure-native:hybridnetwork:VendorSkus';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVuZG9yU2t1cy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL2h5YnJpZG5ldHdvcmsvdmVuZG9yU2t1cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsc0VBQXNFO0FBQ3RFLGlGQUFpRjs7O0FBRWpGLHlDQUF5QztBQUl6QywwQ0FBMEM7QUFFMUM7Ozs7R0FJRztBQUNILE1BQWEsVUFBVyxTQUFRLE1BQU0sQ0FBQyxjQUFjO0lBQ2pEOzs7Ozs7O09BT0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