"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.WebAppAssessmentV2Operation = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Web app Assessment REST resource.
 *
 * Uses Azure REST API version 2024-01-01-preview. In version 2.x of the Azure Native provider, it used API version 2023-04-01-preview.
 *
 * Other available API versions: 2023-04-01-preview, 2023-05-01-preview, 2023-09-09-preview, 2024-01-15. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native migrate [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
class WebAppAssessmentV2Operation extends pulumi.CustomResource {
    /**
     * Get an existing WebAppAssessmentV2Operation 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 WebAppAssessmentV2Operation(name, undefined, { ...opts, id: id });
    }
    /**
     * Returns true if the given object is an instance of WebAppAssessmentV2Operation.  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'] === WebAppAssessmentV2Operation.__pulumiType;
    }
    /**
     * Create a WebAppAssessmentV2Operation 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?.groupName === undefined && !opts.urn) {
                throw new Error("Missing required property 'groupName'");
            }
            if (args?.projectName === undefined && !opts.urn) {
                throw new Error("Missing required property 'projectName'");
            }
            if (args?.resourceGroupName === undefined && !opts.urn) {
                throw new Error("Missing required property 'resourceGroupName'");
            }
            resourceInputs["appSvcContainerSettings"] = args?.appSvcContainerSettings;
            resourceInputs["appSvcNativeSettings"] = args?.appSvcNativeSettings;
            resourceInputs["assessmentName"] = args?.assessmentName;
            resourceInputs["assessmentType"] = args?.assessmentType;
            resourceInputs["azureLocation"] = args?.azureLocation;
            resourceInputs["azureOfferCode"] = args?.azureOfferCode;
            resourceInputs["azureSecurityOfferingType"] = args?.azureSecurityOfferingType;
            resourceInputs["confidenceRatingInPercentage"] = args?.confidenceRatingInPercentage;
            resourceInputs["currency"] = args?.currency;
            resourceInputs["discountPercentage"] = args?.discountPercentage;
            resourceInputs["discoveredEntityLightSummary"] = args?.discoveredEntityLightSummary;
            resourceInputs["eaSubscriptionId"] = args?.eaSubscriptionId;
            resourceInputs["entityUptime"] = args?.entityUptime;
            resourceInputs["environmentType"] = args?.environmentType;
            resourceInputs["groupName"] = args?.groupName;
            resourceInputs["groupType"] = args?.groupType;
            resourceInputs["percentile"] = args?.percentile;
            resourceInputs["perfDataEndTime"] = args?.perfDataEndTime;
            resourceInputs["perfDataStartTime"] = args?.perfDataStartTime;
            resourceInputs["projectName"] = args?.projectName;
            resourceInputs["reservedInstance"] = args?.reservedInstance;
            resourceInputs["resourceGroupName"] = args?.resourceGroupName;
            resourceInputs["scalingFactor"] = args?.scalingFactor;
            resourceInputs["sizingCriterion"] = args?.sizingCriterion;
            resourceInputs["timeRange"] = args?.timeRange;
            resourceInputs["azureApiVersion"] = undefined /*out*/;
            resourceInputs["createdTimestamp"] = undefined /*out*/;
            resourceInputs["name"] = undefined /*out*/;
            resourceInputs["pricesTimestamp"] = undefined /*out*/;
            resourceInputs["provisioningState"] = undefined /*out*/;
            resourceInputs["schemaVersion"] = undefined /*out*/;
            resourceInputs["stage"] = undefined /*out*/;
            resourceInputs["status"] = undefined /*out*/;
            resourceInputs["systemData"] = undefined /*out*/;
            resourceInputs["type"] = undefined /*out*/;
            resourceInputs["updatedTimestamp"] = undefined /*out*/;
        }
        else {
            resourceInputs["appSvcContainerSettings"] = undefined /*out*/;
            resourceInputs["appSvcNativeSettings"] = undefined /*out*/;
            resourceInputs["assessmentType"] = undefined /*out*/;
            resourceInputs["azureApiVersion"] = undefined /*out*/;
            resourceInputs["azureLocation"] = undefined /*out*/;
            resourceInputs["azureOfferCode"] = undefined /*out*/;
            resourceInputs["azureSecurityOfferingType"] = undefined /*out*/;
            resourceInputs["confidenceRatingInPercentage"] = undefined /*out*/;
            resourceInputs["createdTimestamp"] = undefined /*out*/;
            resourceInputs["currency"] = undefined /*out*/;
            resourceInputs["discountPercentage"] = undefined /*out*/;
            resourceInputs["discoveredEntityLightSummary"] = undefined /*out*/;
            resourceInputs["eaSubscriptionId"] = undefined /*out*/;
            resourceInputs["entityUptime"] = undefined /*out*/;
            resourceInputs["environmentType"] = undefined /*out*/;
            resourceInputs["groupType"] = undefined /*out*/;
            resourceInputs["name"] = undefined /*out*/;
            resourceInputs["percentile"] = undefined /*out*/;
            resourceInputs["perfDataEndTime"] = undefined /*out*/;
            resourceInputs["perfDataStartTime"] = undefined /*out*/;
            resourceInputs["pricesTimestamp"] = undefined /*out*/;
            resourceInputs["provisioningState"] = undefined /*out*/;
            resourceInputs["reservedInstance"] = undefined /*out*/;
            resourceInputs["scalingFactor"] = undefined /*out*/;
            resourceInputs["schemaVersion"] = undefined /*out*/;
            resourceInputs["sizingCriterion"] = undefined /*out*/;
            resourceInputs["stage"] = undefined /*out*/;
            resourceInputs["status"] = undefined /*out*/;
            resourceInputs["systemData"] = undefined /*out*/;
            resourceInputs["timeRange"] = undefined /*out*/;
            resourceInputs["type"] = undefined /*out*/;
            resourceInputs["updatedTimestamp"] = undefined /*out*/;
        }
        opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
        const aliasOpts = { aliases: [{ type: "azure-native:migrate/v20230401preview:WebAppAssessmentV2Operation" }, { type: "azure-native:migrate/v20230501preview:WebAppAssessmentV2Operation" }, { type: "azure-native:migrate/v20230909preview:WebAppAssessmentV2Operation" }, { type: "azure-native:migrate/v20240101preview:WebAppAssessmentV2Operation" }, { type: "azure-native:migrate/v20240115:WebAppAssessmentV2Operation" }] };
        opts = pulumi.mergeOptions(opts, aliasOpts);
        super(WebAppAssessmentV2Operation.__pulumiType, name, resourceInputs, opts);
    }
}
exports.WebAppAssessmentV2Operation = WebAppAssessmentV2Operation;
/** @internal */
WebAppAssessmentV2Operation.__pulumiType = 'azure-native:migrate:WebAppAssessmentV2Operation';
//# sourceMappingURL=data:application/json;base64, 