"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.MSIXPackage = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Schema for MSIX Package properties.
 *
 * Uses Azure REST API version 2024-04-03. In version 2.x of the Azure Native provider, it used API version 2022-09-09.
 *
 * Other available API versions: 2022-09-09, 2022-10-14-preview, 2023-09-05, 2023-10-04-preview, 2023-11-01-preview, 2024-01-16-preview, 2024-03-06-preview, 2024-04-08-preview, 2024-08-08-preview, 2024-11-01-preview, 2025-03-01-preview, 2025-04-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native desktopvirtualization [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
class MSIXPackage extends pulumi.CustomResource {
    /**
     * Get an existing MSIXPackage 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 MSIXPackage(name, undefined, { ...opts, id: id });
    }
    /**
     * Returns true if the given object is an instance of MSIXPackage.  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'] === MSIXPackage.__pulumiType;
    }
    /**
     * Create a MSIXPackage 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?.hostPoolName === undefined && !opts.urn) {
                throw new Error("Missing required property 'hostPoolName'");
            }
            if (args?.resourceGroupName === undefined && !opts.urn) {
                throw new Error("Missing required property 'resourceGroupName'");
            }
            resourceInputs["displayName"] = args?.displayName;
            resourceInputs["hostPoolName"] = args?.hostPoolName;
            resourceInputs["imagePath"] = args?.imagePath;
            resourceInputs["isActive"] = args?.isActive;
            resourceInputs["isRegularRegistration"] = args?.isRegularRegistration;
            resourceInputs["lastUpdated"] = args?.lastUpdated;
            resourceInputs["msixPackageFullName"] = args?.msixPackageFullName;
            resourceInputs["packageApplications"] = args?.packageApplications;
            resourceInputs["packageDependencies"] = args?.packageDependencies;
            resourceInputs["packageFamilyName"] = args?.packageFamilyName;
            resourceInputs["packageName"] = args?.packageName;
            resourceInputs["packageRelativePath"] = args?.packageRelativePath;
            resourceInputs["resourceGroupName"] = args?.resourceGroupName;
            resourceInputs["version"] = args?.version;
            resourceInputs["azureApiVersion"] = undefined /*out*/;
            resourceInputs["name"] = undefined /*out*/;
            resourceInputs["systemData"] = undefined /*out*/;
            resourceInputs["type"] = undefined /*out*/;
        }
        else {
            resourceInputs["azureApiVersion"] = undefined /*out*/;
            resourceInputs["displayName"] = undefined /*out*/;
            resourceInputs["imagePath"] = undefined /*out*/;
            resourceInputs["isActive"] = undefined /*out*/;
            resourceInputs["isRegularRegistration"] = undefined /*out*/;
            resourceInputs["lastUpdated"] = undefined /*out*/;
            resourceInputs["name"] = undefined /*out*/;
            resourceInputs["packageApplications"] = undefined /*out*/;
            resourceInputs["packageDependencies"] = undefined /*out*/;
            resourceInputs["packageFamilyName"] = undefined /*out*/;
            resourceInputs["packageName"] = undefined /*out*/;
            resourceInputs["packageRelativePath"] = undefined /*out*/;
            resourceInputs["systemData"] = undefined /*out*/;
            resourceInputs["type"] = undefined /*out*/;
            resourceInputs["version"] = undefined /*out*/;
        }
        opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
        const aliasOpts = { aliases: [{ type: "azure-native:desktopvirtualization/v20200921preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20201019preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20201102preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20201110preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210114preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210201preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210309preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210401preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210712:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20210903preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20220210preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20220401preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20220909:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20221014preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20230707preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20230905:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20231004preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20231101preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20240116preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20240306preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20240403:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20240408preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20240808preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20241101preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20250301preview:MSIXPackage" }, { type: "azure-native:desktopvirtualization/v20250401preview:MSIXPackage" }] };
        opts = pulumi.mergeOptions(opts, aliasOpts);
        super(MSIXPackage.__pulumiType, name, resourceInputs, opts);
    }
}
exports.MSIXPackage = MSIXPackage;
/** @internal */
MSIXPackage.__pulumiType = 'azure-native:desktopvirtualization:MSIXPackage';
//# sourceMappingURL=data:application/json;base64, 