@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 6.45 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get a WebAppAssessmentV2
*
* Uses Azure REST API version 2024-01-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.
*/
export declare function getWebAppAssessmentV2Operation(args: GetWebAppAssessmentV2OperationArgs, opts?: pulumi.InvokeOptions): Promise<GetWebAppAssessmentV2OperationResult>;
export interface GetWebAppAssessmentV2OperationArgs {
/**
* Web app Assessment arm name.
*/
assessmentName: string;
/**
* Group ARM name
*/
groupName: string;
/**
* Assessment Project Name
*/
projectName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* Web app Assessment REST resource.
*/
export interface GetWebAppAssessmentV2OperationResult {
/**
* Gets or sets user configurable app service container database settings.
*/
readonly appSvcContainerSettings?: outputs.migrate.AppSvcContainerSettingsResponse;
/**
* Gets or sets user configurable app service native settings.
*/
readonly appSvcNativeSettings?: outputs.migrate.AppSvcNativeSettingsResponse;
/**
* Assessment type of the assessment.
*/
readonly assessmentType?: string;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Azure Location or Azure region where to which the machines will be migrated.
*/
readonly azureLocation?: string;
/**
* Azure Offer Code.
*/
readonly azureOfferCode?: string;
/**
* Gets or sets a value indicating azure security offering type.
*/
readonly azureSecurityOfferingType?: string;
/**
* Confidence Rating in Percentage.
*/
readonly confidenceRatingInPercentage?: number;
/**
* Date and Time when assessment was created.
*/
readonly createdTimestamp: string;
/**
* Currency in which prices should be reported.
*/
readonly currency?: string;
/**
* Custom discount percentage.
*/
readonly discountPercentage?: number;
/**
* Gets or sets user configurable discovered entity settings.
*/
readonly discoveredEntityLightSummary?: outputs.migrate.DiscoveredEntityLightSummaryResponse;
/**
* Gets or sets the Enterprise agreement subscription id.
*/
readonly eaSubscriptionId?: string;
/**
* Gets or sets the duration for which the entity (Web app, VMs) are up in the
* on-premises environment.
*/
readonly entityUptime?: outputs.migrate.EntityUptimeResponse;
/**
* Gets or sets user configurable setting to display the environment type.
*/
readonly environmentType?: string;
/**
* Gets the group type for the assessment.
*/
readonly groupType?: string;
/**
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*/
readonly id: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* Percentile of the utilization data values to be considered while assessing
* machines.
*/
readonly percentile?: string;
/**
* Gets or sets the end time to consider performance data for assessment.
*/
readonly perfDataEndTime?: string;
/**
* Gets or sets the start time to consider performance data for assessment.
*/
readonly perfDataStartTime?: string;
/**
* Last time when rates were queried.
*/
readonly pricesTimestamp: string;
/**
* The status of the last operation.
*/
readonly provisioningState: string;
/**
* Reserved instance.
*/
readonly reservedInstance?: string;
/**
* Percentage of buffer that user wants on performance metrics when recommending
* Azure sizes.
*/
readonly scalingFactor?: number;
/**
* Schema version.
*/
readonly schemaVersion: string;
/**
* Assessment sizing criterion.
*/
readonly sizingCriterion?: string;
/**
* User configurable setting to display the Stage of Assessment.
*/
readonly stage: string;
/**
* Whether assessment is in valid state and all machines have been assessed.
*/
readonly status: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.migrate.SystemDataResponse;
/**
* Time Range for which the historic utilization data should be considered for
* assessment.
*/
readonly timeRange?: string;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
/**
* Date and Time when assessment was last updated.
*/
readonly updatedTimestamp: string;
}
/**
* Get a WebAppAssessmentV2
*
* Uses Azure REST API version 2024-01-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.
*/
export declare function getWebAppAssessmentV2OperationOutput(args: GetWebAppAssessmentV2OperationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWebAppAssessmentV2OperationResult>;
export interface GetWebAppAssessmentV2OperationOutputArgs {
/**
* Web app Assessment arm name.
*/
assessmentName: pulumi.Input<string>;
/**
* Group ARM name
*/
groupName: pulumi.Input<string>;
/**
* Assessment Project Name
*/
projectName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}