From fb5b8d5acc138dc3d4402da545188c3d26c23d20 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Mon, 24 Feb 2020 22:16:36 +0000 Subject: [PATCH] Generated from 497f37d011e45d90e7a5f190b1326ec89e2719c8 Merge pull request #6 from Khushboo-Baheti/master merge --- sdk/migrate/arm-migrate/LICENSE.txt | 2 +- sdk/migrate/arm-migrate/README.md | 14 +- sdk/migrate/arm-migrate/package.json | 24 +- sdk/migrate/arm-migrate/rollup.config.js | 22 +- .../arm-migrate/src/azureMigrateContext.ts | 2 +- .../src/models/assessedMachinesMappers.ts | 23 +- .../src/models/assessmentOptionsMappers.ts | 11 +- .../src/models/assessmentsMappers.ts | 31 +- .../arm-migrate/src/models/groupsMappers.ts | 27 +- sdk/migrate/arm-migrate/src/models/index.ts | 1260 ++++++----------- .../arm-migrate/src/models/locationMappers.ts | 7 +- .../arm-migrate/src/models/machinesMappers.ts | 27 +- sdk/migrate/arm-migrate/src/models/mappers.ts | 6 +- .../src/models/operationsMappers.ts | 11 +- .../arm-migrate/src/models/projectsMappers.ts | 37 +- .../src/operations/assessedMachines.ts | 2 +- .../arm-migrate/src/operations/assessments.ts | 2 +- sdk/migrate/arm-migrate/tsconfig.json | 2 +- 18 files changed, 551 insertions(+), 959 deletions(-) diff --git a/sdk/migrate/arm-migrate/LICENSE.txt b/sdk/migrate/arm-migrate/LICENSE.txt index a70e8cf66038..ea8fb1516028 100644 --- a/sdk/migrate/arm-migrate/LICENSE.txt +++ b/sdk/migrate/arm-migrate/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2018 Microsoft +Copyright (c) 2020 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/migrate/arm-migrate/README.md b/sdk/migrate/arm-migrate/README.md index 6e9f375c655e..fb2d884775b6 100644 --- a/sdk/migrate/arm-migrate/README.md +++ b/sdk/migrate/arm-migrate/README.md @@ -9,7 +9,7 @@ This package contains an isomorphic SDK for AzureMigrate. ### How to Install -``` +```bash npm install @azure/arm-migrate ``` @@ -19,13 +19,14 @@ npm install @azure/arm-migrate ##### Install @azure/ms-rest-nodeauth -``` -npm install @azure/ms-rest-nodeauth +- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. +```bash +npm install @azure/ms-rest-nodeauth@"^3.0.0" ``` ##### Sample code -```ts +```typescript import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; @@ -48,7 +49,7 @@ msRestNodeAuth.interactiveLogin().then((creds) => { ##### Install @azure/ms-rest-browserauth -``` +```bash npm install @azure/ms-rest-browserauth ``` @@ -97,5 +98,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fmigrate%2Farm-migrate%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/migrate/arm-migrate/README.png) diff --git a/sdk/migrate/arm-migrate/package.json b/sdk/migrate/arm-migrate/package.json index 5c6bd2cf2141..b2cac18a5ee8 100644 --- a/sdk/migrate/arm-migrate/package.json +++ b/sdk/migrate/arm-migrate/package.json @@ -4,9 +4,9 @@ "description": "AzureMigrate Library with typescript type definitions for node.js and browser.", "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", - "tslib": "^1.9.3" + "@azure/ms-rest-azure-js": "^2.0.1", + "@azure/ms-rest-js": "^2.0.4", + "tslib": "^1.10.0" }, "keywords": [ "node", @@ -20,18 +20,19 @@ "module": "./esm/azureMigrate.js", "types": "./esm/azureMigrate.d.ts", "devDependencies": { - "typescript": "^3.1.1", - "rollup": "^0.66.2", - "rollup-plugin-node-resolve": "^3.4.0", - "uglify-js": "^3.4.9" + "typescript": "^3.5.3", + "rollup": "^1.18.0", + "rollup-plugin-node-resolve": "^5.2.0", + "rollup-plugin-sourcemaps": "^0.4.2", + "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/migrate/arm-migrate", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/migrate/arm-migrate", "repository": { "type": "git", - "url": "https://github.com/azure/azure-sdk-for-js.git" + "url": "https://github.com/Azure/azure-sdk-for-js.git" }, "bugs": { - "url": "https://github.com/azure/azure-sdk-for-js/issues" + "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "files": [ "dist/**/*.js", @@ -43,6 +44,7 @@ "esm/**/*.d.ts", "esm/**/*.d.ts.map", "src/**/*.ts", + "README.md", "rollup.config.js", "tsconfig.json" ], @@ -52,5 +54,5 @@ "prepack": "npm install && npm run build" }, "sideEffects": false, - "authPublish": true + "autoPublish": true } diff --git a/sdk/migrate/arm-migrate/rollup.config.js b/sdk/migrate/arm-migrate/rollup.config.js index e7a076f80d75..1cd0d926e2e9 100644 --- a/sdk/migrate/arm-migrate/rollup.config.js +++ b/sdk/migrate/arm-migrate/rollup.config.js @@ -1,10 +1,16 @@ +import rollup from "rollup"; import nodeResolve from "rollup-plugin-node-resolve"; +import sourcemaps from "rollup-plugin-sourcemaps"; + /** - * @type {import('rollup').RollupFileOptions} + * @type {rollup.RollupFileOptions} */ const config = { - input: './esm/azureMigrate.js', - external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], + input: "./esm/azureMigrate.js", + external: [ + "@azure/ms-rest-js", + "@azure/ms-rest-azure-js" + ], output: { file: "./dist/arm-migrate.js", format: "umd", @@ -16,16 +22,16 @@ const config = { }, banner: `/* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */` }, plugins: [ - nodeResolve({ module: true }) + nodeResolve({ mainFields: ['module', 'main'] }), + sourcemaps() ] }; + export default config; diff --git a/sdk/migrate/arm-migrate/src/azureMigrateContext.ts b/sdk/migrate/arm-migrate/src/azureMigrateContext.ts index 72bc3b910a84..5c3b6a63965e 100644 --- a/sdk/migrate/arm-migrate/src/azureMigrateContext.ts +++ b/sdk/migrate/arm-migrate/src/azureMigrateContext.ts @@ -13,7 +13,7 @@ import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-migrate"; -const packageVersion = "0.1.0"; +const packageVersion = "1.1.0"; export class AzureMigrateContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; diff --git a/sdk/migrate/arm-migrate/src/models/assessedMachinesMappers.ts b/sdk/migrate/arm-migrate/src/models/assessedMachinesMappers.ts index fb046ae3d83a..87f253cfd8f0 100644 --- a/sdk/migrate/arm-migrate/src/models/assessedMachinesMappers.ts +++ b/sdk/migrate/arm-migrate/src/models/assessedMachinesMappers.ts @@ -1,28 +1,25 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - AssessedMachineResultList, - AssessedMachine, - BaseResource, AssessedDisk, - AssessedNetworkAdapter, + AssessedMachine, + AssessedMachineResultList, + AssessedMachinesGetHeaders, AssessedMachinesListByAssessmentHeaders, + AssessedNetworkAdapter, + Assessment, + BaseResource, CloudError, - AssessedMachinesGetHeaders, - Project, + Disk, Group, - Assessment, Machine, - Disk, NetworkAdapter, + Project, ProjectKey } from "../models/mappers"; - diff --git a/sdk/migrate/arm-migrate/src/models/assessmentOptionsMappers.ts b/sdk/migrate/arm-migrate/src/models/assessmentOptionsMappers.ts index cfc67bbc8b1e..f9c1cb196520 100644 --- a/sdk/migrate/arm-migrate/src/models/assessmentOptionsMappers.ts +++ b/sdk/migrate/arm-migrate/src/models/assessmentOptionsMappers.ts @@ -1,16 +1,13 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { AssessmentOptionsResultList, - VmFamily, - CloudError + CloudError, + VmFamily } from "../models/mappers"; - diff --git a/sdk/migrate/arm-migrate/src/models/assessmentsMappers.ts b/sdk/migrate/arm-migrate/src/models/assessmentsMappers.ts index c27d7ad45681..34e31ffd5513 100644 --- a/sdk/migrate/arm-migrate/src/models/assessmentsMappers.ts +++ b/sdk/migrate/arm-migrate/src/models/assessmentsMappers.ts @@ -1,33 +1,30 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - AssessmentResultList, + AssessedDisk, + AssessedMachine, + AssessedNetworkAdapter, Assessment, - BaseResource, - AssessmentsListByGroupHeaders, - CloudError, - AssessmentsListByProjectHeaders, - AssessmentsGetHeaders, + AssessmentResultList, AssessmentsCreateHeaders, AssessmentsDeleteHeaders, - DownloadUrl, + AssessmentsGetHeaders, AssessmentsGetReportDownloadUrlHeaders, - Project, + AssessmentsListByGroupHeaders, + AssessmentsListByProjectHeaders, + BaseResource, + CloudError, + Disk, + DownloadUrl, Group, Machine, - Disk, NetworkAdapter, - AssessedMachine, - AssessedDisk, - AssessedNetworkAdapter, + Project, ProjectKey } from "../models/mappers"; - diff --git a/sdk/migrate/arm-migrate/src/models/groupsMappers.ts b/sdk/migrate/arm-migrate/src/models/groupsMappers.ts index 70b40e85b646..103c8f40acc5 100644 --- a/sdk/migrate/arm-migrate/src/models/groupsMappers.ts +++ b/sdk/migrate/arm-migrate/src/models/groupsMappers.ts @@ -1,30 +1,27 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - GroupResultList, - Group, + AssessedDisk, + AssessedMachine, + AssessedNetworkAdapter, + Assessment, BaseResource, - GroupsListByProjectHeaders, CloudError, - GroupsGetHeaders, + Disk, + Group, + GroupResultList, GroupsCreateHeaders, GroupsDeleteHeaders, - Project, - Assessment, + GroupsGetHeaders, + GroupsListByProjectHeaders, Machine, - Disk, NetworkAdapter, - AssessedMachine, - AssessedDisk, - AssessedNetworkAdapter, + Project, ProjectKey } from "../models/mappers"; - diff --git a/sdk/migrate/arm-migrate/src/models/index.ts b/sdk/migrate/arm-migrate/src/models/index.ts index d99928f20305..26e42a9493dd 100644 --- a/sdk/migrate/arm-migrate/src/models/index.ts +++ b/sdk/migrate/arm-migrate/src/models/index.ts @@ -1,11 +1,9 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; @@ -13,1660 +11,1243 @@ import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; - /** - * @interface - * An interface representing Project. * Azure Migrate Project. - * - * @extends BaseResource */ export interface Project extends BaseResource { /** - * @member {string} [id] Path reference to this project + * Path reference to this project * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/projects/{projectName} - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [name] Name of the project. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Name of the project. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [type] Type of the object = [Microsoft.Migrate/projects]. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Type of the object = [Microsoft.Migrate/projects]. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; /** - * @member {string} [eTag] For optimistic concurrency control. + * For optimistic concurrency control. */ eTag?: string; /** - * @member {string} [location] Azure location in which project is created. + * Azure location in which project is created. */ location?: string; /** - * @member {any} [tags] Tags provided by Azure Tagging service. + * Tags provided by Azure Tagging service. */ tags?: any; /** - * @member {Date} [createdTimestamp] Time when this project was created. - * Date-Time represented in ISO-8601 format. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Time when this project was created. Date-Time represented in ISO-8601 format. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly createdTimestamp?: Date; /** - * @member {Date} [updatedTimestamp] Time when this project was last updated. - * Date-Time represented in ISO-8601 format. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Time when this project was last updated. Date-Time represented in ISO-8601 format. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly updatedTimestamp?: Date; /** - * @member {DiscoveryStatus} [discoveryStatus] Reports whether project is - * under discovery. Possible values include: 'Unknown', 'NotStarted', + * Reports whether project is under discovery. Possible values include: 'Unknown', 'NotStarted', * 'InProgress', 'Completed' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly discoveryStatus?: DiscoveryStatus; /** - * @member {string} [customerWorkspaceId] ARM ID of the Service Map workspace - * created by user. + * ARM ID of the Service Map workspace created by user. */ customerWorkspaceId?: string; /** - * @member {string} [customerWorkspaceLocation] Location of the Service Map - * workspace created by user. + * Location of the Service Map workspace created by user. */ customerWorkspaceLocation?: string; /** - * @member {Date} [lastDiscoveryTimestamp] Time when this project was - * created. Date-Time represented in ISO-8601 format. This value will be null - * until discovery is complete. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Time when this project was created. Date-Time represented in ISO-8601 format. This value will + * be null until discovery is complete. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastDiscoveryTimestamp?: Date; /** - * @member {string} [lastDiscoverySessionId] Session id of the last - * discovery. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Session id of the last discovery. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastDiscoverySessionId?: string; /** - * @member {number} [numberOfGroups] Number of groups created in the project. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Number of groups created in the project. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly numberOfGroups?: number; /** - * @member {number} [numberOfMachines] Number of machines in the project. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Number of machines in the project. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly numberOfMachines?: number; /** - * @member {number} [numberOfAssessments] Number of assessments created in - * the project. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Number of assessments created in the project. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly numberOfAssessments?: number; /** - * @member {Date} [lastAssessmentTimestamp] Time when last assessment was - * created. Date-Time represented in ISO-8601 format. This value will be null - * until assessment is created. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Time when last assessment was created. Date-Time represented in ISO-8601 format. This value + * will be null until assessment is created. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastAssessmentTimestamp?: Date; /** - * @member {ProvisioningState} [provisioningState] Provisioning state of the - * project. Possible values include: 'Accepted', 'Creating', 'Deleting', - * 'Failed', 'Moving', 'Succeeded' + * Provisioning state of the project. Possible values include: 'Accepted', 'Creating', + * 'Deleting', 'Failed', 'Moving', 'Succeeded' */ provisioningState?: ProvisioningState; } /** - * @interface - * An interface representing Group. * A group created in a Migration project. - * - * @extends BaseResource */ export interface Group extends BaseResource { /** - * @member {string} [id] Path reference to this group. + * Path reference to this group. * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/projects/{projectName}/groups/{groupName} - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [name] Name of the group. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Name of the group. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [eTag] For optimistic concurrency control. + * For optimistic concurrency control. */ eTag?: string; /** - * @member {string} [type] Type of the object = - * [Microsoft.Migrate/projects/groups]. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Type of the object = [Microsoft.Migrate/projects/groups]. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; /** - * @member {string[]} machines List of machine names that are part of this - * group. + * List of machine names that are part of this group. */ machines: string[]; /** - * @member {string[]} [assessments] List of References to Assessments created - * on this group. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * List of References to Assessments created on this group. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly assessments?: string[]; /** - * @member {Date} [createdTimestamp] Time when this project was created. - * Date-Time represented in ISO-8601 format. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Time when this project was created. Date-Time represented in ISO-8601 format. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly createdTimestamp?: Date; /** - * @member {Date} [updatedTimestamp] Time when this project was last updated. - * Date-Time represented in ISO-8601 format. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Time when this project was last updated. Date-Time represented in ISO-8601 format. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly updatedTimestamp?: Date; } /** - * @interface - * An interface representing Assessment. * An assessment created for a group in the Migration project. - * - * @extends BaseResource */ export interface Assessment extends BaseResource { /** - * @member {string} [id] Path reference to this assessment. + * Path reference to this assessment. * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/projects/{projectName}/groups/{groupName}/assessment/{assessmentName} - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [name] Unique name of an assessment. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Unique name of an assessment. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [eTag] For optimistic concurrency control. + * For optimistic concurrency control. */ eTag?: string; /** - * @member {string} [type] Type of the object = - * [Microsoft.Migrate/projects/groups/assessments]. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Type of the object = [Microsoft.Migrate/projects/groups/assessments]. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; /** - * @member {AzureLocation} azureLocation Target Azure location for which the - * machines should be assessed. These enums are the same as used by Compute - * API. Possible values include: 'Unknown', 'EastAsia', 'SoutheastAsia', - * 'AustraliaEast', 'AustraliaSoutheast', 'BrazilSouth', 'CanadaCentral', - * 'CanadaEast', 'WestEurope', 'NorthEurope', 'CentralIndia', 'SouthIndia', - * 'WestIndia', 'JapanEast', 'JapanWest', 'KoreaCentral', 'KoreaSouth', - * 'UkWest', 'UkSouth', 'NorthCentralUs', 'EastUs', 'WestUs2', - * 'SouthCentralUs', 'CentralUs', 'EastUs2', 'WestUs', 'WestCentralUs', + * Target Azure location for which the machines should be assessed. These enums are the same as + * used by Compute API. Possible values include: 'Unknown', 'EastAsia', 'SoutheastAsia', + * 'AustraliaEast', 'AustraliaSoutheast', 'BrazilSouth', 'CanadaCentral', 'CanadaEast', + * 'WestEurope', 'NorthEurope', 'CentralIndia', 'SouthIndia', 'WestIndia', 'JapanEast', + * 'JapanWest', 'KoreaCentral', 'KoreaSouth', 'UkWest', 'UkSouth', 'NorthCentralUs', 'EastUs', + * 'WestUs2', 'SouthCentralUs', 'CentralUs', 'EastUs2', 'WestUs', 'WestCentralUs', * 'GermanyCentral', 'GermanyNortheast', 'ChinaNorth', 'ChinaEast' */ azureLocation: AzureLocation; /** - * @member {AzureOfferCode} azureOfferCode Offer code according to which cost - * estimation is done. Possible values include: 'Unknown', 'MSAZR0003P', - * 'MSAZR0044P', 'MSAZR0059P', 'MSAZR0060P', 'MSAZR0062P', 'MSAZR0063P', - * 'MSAZR0064P', 'MSAZR0029P', 'MSAZR0022P', 'MSAZR0023P', 'MSAZR0148P', - * 'MSAZR0025P', 'MSAZR0036P', 'MSAZR0120P', 'MSAZR0121P', 'MSAZR0122P', - * 'MSAZR0123P', 'MSAZR0124P', 'MSAZR0125P', 'MSAZR0126P', 'MSAZR0127P', - * 'MSAZR0128P', 'MSAZR0129P', 'MSAZR0130P', 'MSAZR0111P', 'MSAZR0144P', - * 'MSAZR0149P', 'MSMCAZR0044P', 'MSMCAZR0059P', 'MSMCAZR0060P', - * 'MSMCAZR0063P', 'MSMCAZR0120P', 'MSMCAZR0121P', 'MSMCAZR0125P', - * 'MSMCAZR0128P', 'MSAZRDE0003P', 'MSAZRDE0044P' + * Offer code according to which cost estimation is done. Possible values include: 'Unknown', + * 'MSAZR0003P', 'MSAZR0044P', 'MSAZR0059P', 'MSAZR0060P', 'MSAZR0062P', 'MSAZR0063P', + * 'MSAZR0064P', 'MSAZR0029P', 'MSAZR0022P', 'MSAZR0023P', 'MSAZR0148P', 'MSAZR0025P', + * 'MSAZR0036P', 'MSAZR0120P', 'MSAZR0121P', 'MSAZR0122P', 'MSAZR0123P', 'MSAZR0124P', + * 'MSAZR0125P', 'MSAZR0126P', 'MSAZR0127P', 'MSAZR0128P', 'MSAZR0129P', 'MSAZR0130P', + * 'MSAZR0111P', 'MSAZR0144P', 'MSAZR0149P', 'MSMCAZR0044P', 'MSMCAZR0059P', 'MSMCAZR0060P', + * 'MSMCAZR0063P', 'MSMCAZR0120P', 'MSMCAZR0121P', 'MSMCAZR0125P', 'MSMCAZR0128P', + * 'MSAZRDE0003P', 'MSAZRDE0044P' */ azureOfferCode: AzureOfferCode; /** - * @member {AzurePricingTier} azurePricingTier Pricing tier for Size - * evaluation. Possible values include: 'Standard', 'Basic' + * Pricing tier for Size evaluation. Possible values include: 'Standard', 'Basic' */ azurePricingTier: AzurePricingTier; /** - * @member {AzureStorageRedundancy} azureStorageRedundancy Storage Redundancy - * type offered by Azure. Possible values include: 'Unknown', - * 'LocallyRedundant', 'ZoneRedundant', 'GeoRedundant', - * 'ReadAccessGeoRedundant' + * Storage Redundancy type offered by Azure. Possible values include: 'Unknown', + * 'LocallyRedundant', 'ZoneRedundant', 'GeoRedundant', 'ReadAccessGeoRedundant' */ azureStorageRedundancy: AzureStorageRedundancy; /** - * @member {number} scalingFactor Scaling factor used over utilization data - * to add a performance buffer for new machines to be created in Azure. Min - * Value = 1.0, Max value = 1.9, Default = 1.3. + * Scaling factor used over utilization data to add a performance buffer for new machines to be + * created in Azure. Min Value = 1.0, Max value = 1.9, Default = 1.3. */ scalingFactor: number; /** - * @member {Percentile} percentile Percentile of performance data used to - * recommend Azure size. Possible values include: 'Percentile50', - * 'Percentile90', 'Percentile95', 'Percentile99' + * Percentile of performance data used to recommend Azure size. Possible values include: + * 'Percentile50', 'Percentile90', 'Percentile95', 'Percentile99' */ percentile: Percentile; /** - * @member {TimeRange} timeRange Time range of performance data used to - * recommend a size. Possible values include: 'Day', 'Week', 'Month' + * Time range of performance data used to recommend a size. Possible values include: 'Day', + * 'Week', 'Month' */ timeRange: TimeRange; /** - * @member {AssessmentStage} stage User configurable setting that describes - * the status of the assessment. Possible values include: 'InProgress', - * 'UnderReview', 'Approved' + * User configurable setting that describes the status of the assessment. Possible values + * include: 'InProgress', 'UnderReview', 'Approved' */ stage: AssessmentStage; /** - * @member {Currency} currency Currency to report prices in. Possible values - * include: 'Unknown', 'USD', 'DKK', 'CAD', 'IDR', 'JPY', 'KRW', 'NZD', - * 'NOK', 'RUB', 'SAR', 'ZAR', 'SEK', 'TRY', 'GBP', 'MXN', 'MYR', 'INR', + * Currency to report prices in. Possible values include: 'Unknown', 'USD', 'DKK', 'CAD', 'IDR', + * 'JPY', 'KRW', 'NZD', 'NOK', 'RUB', 'SAR', 'ZAR', 'SEK', 'TRY', 'GBP', 'MXN', 'MYR', 'INR', * 'HKD', 'BRL', 'TWD', 'EUR', 'CHF', 'ARS', 'AUD', 'CNY' */ currency: Currency; /** - * @member {AzureHybridUseBenefit} azureHybridUseBenefit AHUB discount on - * windows virtual machines. Possible values include: 'Unknown', 'Yes', 'No' + * AHUB discount on windows virtual machines. Possible values include: 'Unknown', 'Yes', 'No' */ azureHybridUseBenefit: AzureHybridUseBenefit; /** - * @member {number} discountPercentage Custom discount percentage to be - * applied on final costs. Can be in the range [0, 100]. + * Custom discount percentage to be applied on final costs. Can be in the range [0, 100]. */ discountPercentage: number; /** - * @member {number} [confidenceRatingInPercentage] Confidence rating - * percentage for assessment. Can be in the range [0, 100]. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Confidence rating percentage for assessment. Can be in the range [0, 100]. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly confidenceRatingInPercentage?: number; /** - * @member {AssessmentSizingCriterion} sizingCriterion Assessment sizing - * criterion. Possible values include: 'PerformanceBased', 'AsOnPremises' + * Assessment sizing criterion. Possible values include: 'PerformanceBased', 'AsOnPremises' */ sizingCriterion: AssessmentSizingCriterion; /** - * @member {Date} [pricesTimestamp] Time when the Azure Prices were queried. - * Date-Time represented in ISO-8601 format. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Time when the Azure Prices were queried. Date-Time represented in ISO-8601 format. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly pricesTimestamp?: Date; /** - * @member {Date} [createdTimestamp] Time when this project was created. - * Date-Time represented in ISO-8601 format. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Time when this project was created. Date-Time represented in ISO-8601 format. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly createdTimestamp?: Date; /** - * @member {Date} [updatedTimestamp] Time when this project was last updated. - * Date-Time represented in ISO-8601 format. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Time when this project was last updated. Date-Time represented in ISO-8601 format. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly updatedTimestamp?: Date; /** - * @member {number} [monthlyComputeCost] Monthly compute cost estimate for - * the machines that are part of this assessment as a group, for a 31-day - * month. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Monthly compute cost estimate for the machines that are part of this assessment as a group, + * for a 31-day month. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly monthlyComputeCost?: number; /** - * @member {number} [monthlyBandwidthCost] Monthly network cost estimate for - * the machines that are part of this assessment as a group, for a 31-day - * month. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Monthly network cost estimate for the machines that are part of this assessment as a group, + * for a 31-day month. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly monthlyBandwidthCost?: number; /** - * @member {number} [monthlyStorageCost] Monthly storage cost estimate for - * the machines that are part of this assessment as a group, for a 31-day - * month. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Monthly storage cost estimate for the machines that are part of this assessment as a group, + * for a 31-day month. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly monthlyStorageCost?: number; /** - * @member {AssessmentStatus} [status] Wheter the assessment has been created - * and is valid. Possible values include: 'Created', 'Updated', 'Running', - * 'Completed', 'Invalid' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Whether the assessment has been created and is valid. Possible values include: 'Created', + * 'Updated', 'Running', 'Completed', 'Invalid' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly status?: AssessmentStatus; /** - * @member {number} [numberOfMachines] Number of assessed machines part of - * this assessment. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Number of assessed machines part of this assessment. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly numberOfMachines?: number; } /** - * @interface - * An interface representing Disk. * A disk discovered on a machine. - * */ export interface Disk { /** - * @member {number} [gigabytesAllocated] Gigabytes of storage provisioned for - * this disk. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gigabytes of storage provisioned for this disk. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly gigabytesAllocated?: number; /** - * @member {number} [gigabytesConsumed] Gigabytes of storage consumed by this - * disk. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gigabytes of storage consumed by this disk. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly gigabytesConsumed?: number; } /** - * @interface - * An interface representing NetworkAdapter. * A network adapter discovered on a machine. - * */ export interface NetworkAdapter { /** - * @member {string} [macAddress] MAC Address of the network adapter. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * MAC Address of the network adapter. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly macAddress?: string; /** - * @member {string[]} [ipAddresses] List of IP Addresses on the network - * adapter. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * List of IP Addresses on the network adapter. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly ipAddresses?: string[]; } /** - * @interface - * An interface representing Machine. * A machine in a migration project. - * - * @extends BaseResource */ export interface Machine extends BaseResource { /** - * @member {string} [id] Path reference to this machine. + * Path reference to this machine. * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/projects/{projectName}/machines/{machineName} - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [name] Name of the machine. It is a GUID which is unique - * identifier of machine in private data center. For user-readable name, we - * have a displayName property on this machine. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Name of the machine. It is a GUID which is unique identifier of machine in private data + * center. For user-readable name, we have a displayName property on this machine. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [eTag] For optimistic concurrency control. + * For optimistic concurrency control. */ eTag?: string; /** - * @member {string} [type] Type of the object = - * [Microsoft.Migrate/projects/machines]. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Type of the object = [Microsoft.Migrate/projects/machines]. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; /** - * @member {MachineBootType} [bootType] Boot type of the machine. Possible - * values include: 'Unknown', 'EFI', 'BIOS' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Boot type of the machine. Possible values include: 'Unknown', 'EFI', 'BIOS' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly bootType?: MachineBootType; /** - * @member {string} [datacenterContainer] Container defined in the management - * solution that this machine is part of in the datacenter. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Container defined in the management solution that this machine is part of in the datacenter. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly datacenterContainer?: string; /** - * @member {string} [datacenterManagementServer] Name of the server hosting - * the datacenter management solution. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Name of the server hosting the datacenter management solution. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly datacenterManagementServer?: string; /** - * @member {string} [datacenterMachineId] ID of the machine as tracked by the - * datacenter management solution. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * ID of the machine as tracked by the datacenter management solution. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly datacenterMachineId?: string; /** - * @member {string} [datacenterManagementServerId] ID of the server hosting - * the datacenter management solution. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * ID of the server hosting the datacenter management solution. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly datacenterManagementServerId?: string; /** - * @member {string} [description] Description of the machine - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Description of the machine + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly description?: string; /** - * @member {string} [displayName] User readable name of the machine as - * defined by the user in their private datacenter. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * User readable name of the machine as defined by the user in their private datacenter. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly displayName?: string; /** - * @member {number} [megabytesOfMemory] Memory in Megabytes. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Memory in Megabytes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly megabytesOfMemory?: number; /** - * @member {number} [numberOfCores] Processor count. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Processor count. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly numberOfCores?: number; /** - * @member {string} [operatingSystem] Operating System of the machine. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Operating System of the machine. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly operatingSystem?: string; /** - * @member {string[]} [groups] List of references to the groups that the - * machine is member of. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * List of references to the groups that the machine is member of. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly groups?: string[]; /** - * @member {Date} [createdTimestamp] Time when this machine was created. - * Date-Time represented in ISO-8601 format. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Time when this machine was created. Date-Time represented in ISO-8601 format. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly createdTimestamp?: Date; /** - * @member {Date} [updatedTimestamp] Time when this machine was last updated. - * Date-Time represented in ISO-8601 format. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Time when this machine was last updated. Date-Time represented in ISO-8601 format. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly updatedTimestamp?: Date; /** - * @member {Date} [discoveredTimestamp] Time when this machine was discovered - * by Azure Migrate agent. Date-Time represented in ISO-8601 format. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Time when this machine was discovered by Azure Migrate agent. Date-Time represented in + * ISO-8601 format. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly discoveredTimestamp?: Date; /** - * @member {{ [propertyName: string]: Disk }} [disks] Dictionary of disks - * attached to the machine. Key is ID of disk. Value is a disk object - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Dictionary of disks attached to the machine. Key is ID of disk. Value is a disk object + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly disks?: { [propertyName: string]: Disk }; /** - * @member {{ [propertyName: string]: NetworkAdapter }} [networkAdapters] - * Dictionary of network adapters attached to the machine. Key is ID of - * network adapter. Value is a network adapter object - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Dictionary of network adapters attached to the machine. Key is ID of network adapter. Value is + * a network adapter object + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly networkAdapters?: { [propertyName: string]: NetworkAdapter }; } /** - * @interface - * An interface representing AssessedDisk. * A disk assessed for an assessment. - * */ export interface AssessedDisk { /** - * @member {string} [name] Name of the assessed disk. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Name of the assessed disk. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {number} [gigabytesProvisioned] Gigabytes of storage provisioned - * for this disk. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gigabytes of storage provisioned for this disk. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly gigabytesProvisioned?: number; /** - * @member {number} [gigabytesConsumed] Gigabytes of storage consumed by this - * disk. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gigabytes of storage consumed by this disk. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly gigabytesConsumed?: number; /** - * @member {number} [megabytesPerSecondOfRead] Disk throughput in MegaBytes - * per second. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Disk throughput in MegaBytes per second. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly megabytesPerSecondOfRead?: number; /** - * @member {number} [megabytesPerSecondOfReadDataPointsExpected] Expected - * data points for MegaBytes per second of read. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Expected data points for MegaBytes per second of read. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly megabytesPerSecondOfReadDataPointsExpected?: number; /** - * @member {number} [megabytesPerSecondOfReadDataPointsReceived] Received - * data points for MegaBytes per second of read. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Received data points for MegaBytes per second of read. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly megabytesPerSecondOfReadDataPointsReceived?: number; /** - * @member {number} [megabytesPerSecondOfWrite] Disk throughput in MegaBytes - * per second. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Disk throughput in MegaBytes per second. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly megabytesPerSecondOfWrite?: number; /** - * @member {number} [megabytesPerSecondOfWriteDataPointsExpected] Expected - * data points for MegaBytes per second of write. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Expected data points for MegaBytes per second of write. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly megabytesPerSecondOfWriteDataPointsExpected?: number; /** - * @member {number} [megabytesPerSecondOfWriteDataPointsReceived] Received - * data points for MegaBytes per second of write. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Received data points for MegaBytes per second of write. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly megabytesPerSecondOfWriteDataPointsReceived?: number; /** - * @member {number} [numberOfReadOperationsPerSecond] Number of read - * operations per second for the disk. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Number of read operations per second for the disk. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly numberOfReadOperationsPerSecond?: number; /** - * @member {number} [numberOfReadOperationsPerSecondDataPointsExpected] * Expected number of data points for read operations per second. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly numberOfReadOperationsPerSecondDataPointsExpected?: number; /** - * @member {number} [numberOfReadOperationsPerSecondDataPointsReceived] * Received number of data points for read operations per second. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly numberOfReadOperationsPerSecondDataPointsReceived?: number; /** - * @member {number} [numberOfWriteOperationsPerSecond] Number of read and - * write operations per second for the disk. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Number of read and write operations per second for the disk. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly numberOfWriteOperationsPerSecond?: number; /** - * @member {number} [numberOfWriteOperationsPerSecondDataPointsExpected] * Expected number of data points for write operations per second. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly numberOfWriteOperationsPerSecondDataPointsExpected?: number; /** - * @member {number} [numberOfWriteOperationsPerSecondDataPointsReceived] * Received number of data points for write operations per second. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly numberOfWriteOperationsPerSecondDataPointsReceived?: number; /** - * @member {number} [monthlyStorageCost] Estimated aggregate storage cost for - * a 31-day month for this disk. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Estimated aggregate storage cost for a 31-day month for this disk. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly monthlyStorageCost?: number; /** - * @member {AzureDiskType} [recommendedDiskType] Storage type selected for - * this disk. Possible values include: 'Unknown', 'Standard', 'Premium' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Storage type selected for this disk. Possible values include: 'Unknown', 'Standard', 'Premium' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly recommendedDiskType?: AzureDiskType; /** - * @member {AzureDiskSize} [recommendedDiskSize] Recommended Azure size for - * the disk, given utilization data and preferences set on Assessment. - * Possible values include: 'Unknown', 'Standard_S4', 'Standard_S6', - * 'Standard_S10', 'Standard_S20', 'Standard_S30', 'Standard_S40', - * 'Standard_S50', 'Premium_P4', 'Premium_P6', 'Premium_P10', 'Premium_P20', - * 'Premium_P30', 'Premium_P40', 'Premium_P50' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Recommended Azure size for the disk, given utilization data and preferences set on Assessment. + * Possible values include: 'Unknown', 'Standard_S4', 'Standard_S6', 'Standard_S10', + * 'Standard_S20', 'Standard_S30', 'Standard_S40', 'Standard_S50', 'Premium_P4', 'Premium_P6', + * 'Premium_P10', 'Premium_P20', 'Premium_P30', 'Premium_P40', 'Premium_P50' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly recommendedDiskSize?: AzureDiskSize; /** - * @member {number} [gigabytesForRecommendedDiskSize] Gigabytes of storage - * provided by the recommended Azure disk size. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gigabytes of storage provided by the recommended Azure disk size. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly gigabytesForRecommendedDiskSize?: number; /** - * @member {CloudSuitability} [suitability] Whether this disk is suitable for - * Azure. Possible values include: 'Unknown', 'NotSuitable', 'Suitable', - * 'ConditionallySuitable', 'ReadinessUnknown' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Whether this disk is suitable for Azure. Possible values include: 'Unknown', 'NotSuitable', + * 'Suitable', 'ConditionallySuitable', 'ReadinessUnknown' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly suitability?: CloudSuitability; /** - * @member {AzureDiskSuitabilityExplanation} [suitabilityExplanation] If disk - * is suitable, this explains the reasons and mitigation steps. Possible - * values include: 'Unknown', 'NotApplicable', - * 'DiskSizeGreaterThanSupported', 'NoSuitableDiskSizeForIops', + * If disk is suitable, this explains the reasons and mitigation steps. Possible values include: + * 'Unknown', 'NotApplicable', 'DiskSizeGreaterThanSupported', 'NoSuitableDiskSizeForIops', * 'NoSuitableDiskSizeForThroughput', 'NoDiskSizeFoundInSelectedLocation', - * 'NoDiskSizeFoundForSelectedRedundancy', - * 'InternalErrorOccurredForDiskEvaluation' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * 'NoDiskSizeFoundForSelectedRedundancy', 'InternalErrorOccurredForDiskEvaluation' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly suitabilityExplanation?: AzureDiskSuitabilityExplanation; } /** - * @interface - * An interface representing AssessedNetworkAdapter. * A network adapter assessed for an assessment. - * */ export interface AssessedNetworkAdapter { /** - * @member {string} [macAddress] MAC Address of the network adapter. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * MAC Address of the network adapter. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly macAddress?: string; /** - * @member {string[]} [ipAddresses] List of IP Addresses on the network - * adapter. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * List of IP Addresses on the network adapter. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly ipAddresses?: string[]; /** - * @member {number} [monthlyBandwidthCosts] Monthly cost estimate for network - * bandwidth used by this network adapter. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Monthly cost estimate for network bandwidth used by this network adapter. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly monthlyBandwidthCosts?: number; /** - * @member {number} [megabytesPerSecondReceived] Adapter throughput for - * incoming traffic in MegaBytes per second. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Adapter throughput for incoming traffic in MegaBytes per second. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly megabytesPerSecondReceived?: number; /** - * @member {number} [megabytesPerSecondReceivedDataPointsExpected] Expected - * data points for incoming traffic in MegaBytes per second. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Expected data points for incoming traffic in MegaBytes per second. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly megabytesPerSecondReceivedDataPointsExpected?: number; /** - * @member {number} [megabytesPerSecondOfReadDataPointsReceived] Received - * data points for incoming traffic in MegaBytes per second. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Received data points for incoming traffic in MegaBytes per second. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly megabytesPerSecondOfReadDataPointsReceived?: number; /** - * @member {number} [megabytesPerSecondTransmitted] Adapter throughput for - * outgoing traffic in MegaBytes per second. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Adapter throughput for outgoing traffic in MegaBytes per second. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly megabytesPerSecondTransmitted?: number; /** - * @member {number} [megabytesPerSecondTransmittedDataPointsExpected] * Expected data points for outgoing traffic in MegaBytes per second. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly megabytesPerSecondTransmittedDataPointsExpected?: number; /** - * @member {number} [megabytesPerSecondTransmittedDataPointsReceived] * Received data points for outgoing traffic in MegaBytes per second. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly megabytesPerSecondTransmittedDataPointsReceived?: number; /** - * @member {number} [netGigabytesTransmittedPerMonth] Gigabytes transmitted - * through this adapter each month. + * Gigabytes transmitted through this adapter each month. */ netGigabytesTransmittedPerMonth?: number; /** - * @member {CloudSuitability} [suitability] Whether this adapter is suitable - * for Azure. Possible values include: 'Unknown', 'NotSuitable', 'Suitable', - * 'ConditionallySuitable', 'ReadinessUnknown' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Whether this adapter is suitable for Azure. Possible values include: 'Unknown', 'NotSuitable', + * 'Suitable', 'ConditionallySuitable', 'ReadinessUnknown' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly suitability?: CloudSuitability; /** - * @member {AzureNetworkAdapterSuitabilityExplanation} - * [suitabilityExplanation] If network adapter is suitable, this explains the - * reasons and mitigation steps. Possible values include: 'Unknown', - * 'NotApplicable', 'InternalErrorOccured' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * If network adapter is suitable, this explains the reasons and mitigation steps. Possible + * values include: 'Unknown', 'NotApplicable', 'InternalErrorOccured' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly suitabilityExplanation?: AzureNetworkAdapterSuitabilityExplanation; } /** - * @interface - * An interface representing AssessedMachine. * A machine evaluated as part of an assessment. - * - * @extends BaseResource */ export interface AssessedMachine extends BaseResource { /** - * @member {string} [id] Path reference to this assessed machine. + * Path reference to this assessed machine. * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/projects/{projectName}/groups/{groupName}/assessments/{assessmentName}/assessedMachines/{assessedMachineName} - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [name] Name of the machine. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Name of the machine. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [eTag] For optimistic concurrency control. + * For optimistic concurrency control. */ eTag?: string; /** - * @member {string} [type] Type of the object = - * [Microsoft.Migrate/projects/groups/assessments/assessedMachines]. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Type of the object = [Microsoft.Migrate/projects/groups/assessments/assessedMachines]. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; /** - * @member {string[]} [groups] List of references to the groups that the - * machine is member of. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * List of references to the groups that the machine is member of. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly groups?: string[]; /** - * @member {Date} [discoveredTimestamp] Time when this machine was discovered - * by Azure Migrate agent. Date-Time represented in ISO-8601 format. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Time when this machine was discovered by Azure Migrate agent. Date-Time represented in + * ISO-8601 format. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly discoveredTimestamp?: Date; /** - * @member {MachineBootType} [bootType] Boot type of the machine. Possible - * values include: 'Unknown', 'EFI', 'BIOS' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Boot type of the machine. Possible values include: 'Unknown', 'EFI', 'BIOS' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly bootType?: MachineBootType; /** - * @member {string} [datacenterContainer] Container defined in the management - * solution that this machine is part of in the datacenter. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Container defined in the management solution that this machine is part of in the datacenter. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly datacenterContainer?: string; /** - * @member {string} [datacenterManagementServer] Name of the server hosting - * the datacenter management solution. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Name of the server hosting the datacenter management solution. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly datacenterManagementServer?: string; /** - * @member {string} [datacenterMachineId] ID of the machine as tracked by the - * datacenter management solution. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * ID of the machine as tracked by the datacenter management solution. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly datacenterMachineId?: string; /** - * @member {string} [datacenterManagementServerId] ID of the server hosting - * the datacenter management solution. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * ID of the server hosting the datacenter management solution. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly datacenterManagementServerId?: string; /** - * @member {string} [description] Description of the machine - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Description of the machine + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly description?: string; /** - * @member {string} [displayName] User readable name of the machine as - * defined by the user in their private datacenter. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * User readable name of the machine as defined by the user in their private datacenter. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly displayName?: string; /** - * @member {number} [megabytesOfMemory] Memory in Megabytes. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Memory in Megabytes. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly megabytesOfMemory?: number; /** - * @member {number} [numberOfCores] Processor count. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Processor count. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly numberOfCores?: number; /** - * @member {string} [operatingSystem] Operating System of the machine. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Operating System of the machine. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly operatingSystem?: string; /** - * @member {number} [monthlyBandwidthCost] Monthly network cost estimate for - * the network adapters that are attached to this machine as a group, for a - * 31-day month. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Monthly network cost estimate for the network adapters that are attached to this machine as a + * group, for a 31-day month. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly monthlyBandwidthCost?: number; /** - * @member {number} [monthlyStorageCost] Monthly storage cost estimate for - * the disks that are attached to this machine as a group, for a 31-day - * month. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Monthly storage cost estimate for the disks that are attached to this machine as a group, for + * a 31-day month. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly monthlyStorageCost?: number; /** - * @member {{ [propertyName: string]: AssessedDisk }} [disks] Dictionary of - * disks attached to the machine. Key is ID of disk. Value is a disk object. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Dictionary of disks attached to the machine. Key is ID of disk. Value is a disk object. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly disks?: { [propertyName: string]: AssessedDisk }; /** - * @member {{ [propertyName: string]: AssessedNetworkAdapter }} - * [networkAdapters] Dictionary of network adapters attached to the machine. - * Key is name of the adapter. Value is a network adapter object. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Dictionary of network adapters attached to the machine. Key is name of the adapter. Value is a + * network adapter object. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly networkAdapters?: { [propertyName: string]: AssessedNetworkAdapter }; /** - * @member {AzureVmSize} [recommendedSize] Recommended Azure size for this - * machine. Possible values include: 'Unknown', 'Basic_A0', 'Basic_A1', - * 'Basic_A2', 'Basic_A3', 'Basic_A4', 'Standard_A0', 'Standard_A1', - * 'Standard_A2', 'Standard_A3', 'Standard_A4', 'Standard_A5', 'Standard_A6', - * 'Standard_A7', 'Standard_A8', 'Standard_A9', 'Standard_A10', - * 'Standard_A11', 'Standard_A1_v2', 'Standard_A2_v2', 'Standard_A4_v2', - * 'Standard_A8_v2', 'Standard_A2m_v2', 'Standard_A4m_v2', 'Standard_A8m_v2', - * 'Standard_D1', 'Standard_D2', 'Standard_D3', 'Standard_D4', - * 'Standard_D11', 'Standard_D12', 'Standard_D13', 'Standard_D14', - * 'Standard_D1_v2', 'Standard_D2_v2', 'Standard_D3_v2', 'Standard_D4_v2', - * 'Standard_D5_v2', 'Standard_D11_v2', 'Standard_D12_v2', 'Standard_D13_v2', - * 'Standard_D14_v2', 'Standard_D15_v2', 'Standard_DS1', 'Standard_DS2', - * 'Standard_DS3', 'Standard_DS4', 'Standard_DS11', 'Standard_DS12', - * 'Standard_DS13', 'Standard_DS14', 'Standard_DS1_v2', 'Standard_DS2_v2', - * 'Standard_DS3_v2', 'Standard_DS4_v2', 'Standard_DS5_v2', - * 'Standard_DS11_v2', 'Standard_DS12_v2', 'Standard_DS13_v2', - * 'Standard_DS14_v2', 'Standard_DS15_v2', 'Standard_F1', 'Standard_F2', - * 'Standard_F4', 'Standard_F8', 'Standard_F16', 'Standard_F1s', - * 'Standard_F2s', 'Standard_F4s', 'Standard_F8s', 'Standard_F16s', - * 'Standard_G1', 'Standard_G2', 'Standard_G3', 'Standard_G4', 'Standard_G5', - * 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', - * 'Standard_GS5', 'Standard_H8', 'Standard_H16', 'Standard_H8m', - * 'Standard_H16m', 'Standard_H16r', 'Standard_H16mr', 'Standard_L4s', - * 'Standard_L8s', 'Standard_L16s', 'Standard_L32s' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Recommended Azure size for this machine. Possible values include: 'Unknown', 'Basic_A0', + * 'Basic_A1', 'Basic_A2', 'Basic_A3', 'Basic_A4', 'Standard_A0', 'Standard_A1', 'Standard_A2', + * 'Standard_A3', 'Standard_A4', 'Standard_A5', 'Standard_A6', 'Standard_A7', 'Standard_A8', + * 'Standard_A9', 'Standard_A10', 'Standard_A11', 'Standard_A1_v2', 'Standard_A2_v2', + * 'Standard_A4_v2', 'Standard_A8_v2', 'Standard_A2m_v2', 'Standard_A4m_v2', 'Standard_A8m_v2', + * 'Standard_D1', 'Standard_D2', 'Standard_D3', 'Standard_D4', 'Standard_D11', 'Standard_D12', + * 'Standard_D13', 'Standard_D14', 'Standard_D1_v2', 'Standard_D2_v2', 'Standard_D3_v2', + * 'Standard_D4_v2', 'Standard_D5_v2', 'Standard_D11_v2', 'Standard_D12_v2', 'Standard_D13_v2', + * 'Standard_D14_v2', 'Standard_D15_v2', 'Standard_DS1', 'Standard_DS2', 'Standard_DS3', + * 'Standard_DS4', 'Standard_DS11', 'Standard_DS12', 'Standard_DS13', 'Standard_DS14', + * 'Standard_DS1_v2', 'Standard_DS2_v2', 'Standard_DS3_v2', 'Standard_DS4_v2', 'Standard_DS5_v2', + * 'Standard_DS11_v2', 'Standard_DS12_v2', 'Standard_DS13_v2', 'Standard_DS14_v2', + * 'Standard_DS15_v2', 'Standard_F1', 'Standard_F2', 'Standard_F4', 'Standard_F8', + * 'Standard_F16', 'Standard_F1s', 'Standard_F2s', 'Standard_F4s', 'Standard_F8s', + * 'Standard_F16s', 'Standard_G1', 'Standard_G2', 'Standard_G3', 'Standard_G4', 'Standard_G5', + * 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', 'Standard_GS5', 'Standard_H8', + * 'Standard_H16', 'Standard_H8m', 'Standard_H16m', 'Standard_H16r', 'Standard_H16mr', + * 'Standard_L4s', 'Standard_L8s', 'Standard_L16s', 'Standard_L32s' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly recommendedSize?: AzureVmSize; /** - * @member {number} [numberOfCoresForRecommendedSize] Number of CPU cores in - * the Recommended Azure VM Size. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Number of CPU cores in the Recommended Azure VM Size. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly numberOfCoresForRecommendedSize?: number; /** - * @member {number} [megabytesOfMemoryForRecommendedSize] Megabytes of memory - * in the Recommended Azure VM Size. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Megabytes of memory in the Recommended Azure VM Size. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly megabytesOfMemoryForRecommendedSize?: number; /** - * @member {number} [monthlyComputeCostForRecommendedSize] Compute Cost for a - * 31-day month, if the machine is migrated to Azure with the Recommended + * Compute Cost for a 31-day month, if the machine is migrated to Azure with the Recommended * Size. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly monthlyComputeCostForRecommendedSize?: number; /** - * @member {number} [percentageCoresUtilization] Utilization percentage of - * the processor core as observed in the private data center, in the Time - * Range selected on Assessment, reported as the Percentile value based on - * the percentile number selected in assessment. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Utilization percentage of the processor core as observed in the private data center, in the + * Time Range selected on Assessment, reported as the Percentile value based on the percentile + * number selected in assessment. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly percentageCoresUtilization?: number; /** - * @member {number} [percentageMemoryUtilization] Utilization percentage of - * the memory as observed in the private data center, in the Time Range - * selected on Assessment, reported as the Percentile value based on the - * percentile number selected in assessment. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Utilization percentage of the memory as observed in the private data center, in the Time Range + * selected on Assessment, reported as the Percentile value based on the percentile number + * selected in assessment. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly percentageMemoryUtilization?: number; /** - * @member {number} [percentageCoresUtilizationDataPointsExpected] Expected - * data points for percentage of cores utilization. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Expected data points for percentage of cores utilization. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly percentageCoresUtilizationDataPointsExpected?: number; /** - * @member {number} [percentageCoresUtilizationDataPointsReceived] Received - * data points for percentage of cores utilization. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Received data points for percentage of cores utilization. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly percentageCoresUtilizationDataPointsReceived?: number; /** - * @member {number} [percentageMemoryUtilizationDataPointsExpected] Expected - * data points for percentage of memory utilization. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Expected data points for percentage of memory utilization. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly percentageMemoryUtilizationDataPointsExpected?: number; /** - * @member {number} [percentageMemoryUtilizationDataPointsReceived] Received - * data points for percentage of memory utilization. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Received data points for percentage of memory utilization. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly percentageMemoryUtilizationDataPointsReceived?: number; /** - * @member {CloudSuitability} [suitability] Whether machine is suitable for - * migration to Azure. Possible values include: 'Unknown', 'NotSuitable', - * 'Suitable', 'ConditionallySuitable', 'ReadinessUnknown' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Whether machine is suitable for migration to Azure. Possible values include: 'Unknown', + * 'NotSuitable', 'Suitable', 'ConditionallySuitable', 'ReadinessUnknown' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly suitability?: CloudSuitability; /** - * @member {AzureVmSuitabilityExplanation} [suitabilityExplanation] If - * machine is not ready to be migrated, this explains the reasons and - * mitigation steps. Possible values include: 'Unknown', 'NotApplicable', - * 'GuestOperatingSystemArchitectureNotSupported', - * 'GuestOperatingSystemNotSupported', 'BootTypeNotSupported', - * 'MoreDisksThanSupported', 'NoSuitableVmSizeFound', + * If machine is not ready to be migrated, this explains the reasons and mitigation steps. + * Possible values include: 'Unknown', 'NotApplicable', + * 'GuestOperatingSystemArchitectureNotSupported', 'GuestOperatingSystemNotSupported', + * 'BootTypeNotSupported', 'MoreDisksThanSupported', 'NoSuitableVmSizeFound', * 'OneOrMoreDisksNotSuitable', 'OneOrMoreAdaptersNotSuitable', - * 'InternalErrorOccuredDuringComputeEvaluation', - * 'InternalErrorOccuredDuringStorageEvaluation', - * 'InternalErrorOccuredDuringNetworkEvaluation', - * 'NoVmSizeSupportsStoragePerformance', + * 'InternalErrorOccuredDuringComputeEvaluation', 'InternalErrorOccuredDuringStorageEvaluation', + * 'InternalErrorOccuredDuringNetworkEvaluation', 'NoVmSizeSupportsStoragePerformance', * 'NoVmSizeSupportsNetworkPerformance', 'NoVmSizeForSelectedPricingTier', - * 'NoVmSizeForSelectedAzureLocation', 'CheckRedHatLinuxVersion', - * 'CheckOpenSuseLinuxVersion', 'CheckWindowsServer2008R2Version', - * 'CheckCentOsVersion', 'CheckDebianLinuxVersion', 'CheckSuseLinuxVersion', - * 'CheckOracleLinuxVersion', 'CheckUbuntuLinuxVersion', + * 'NoVmSizeForSelectedAzureLocation', 'CheckRedHatLinuxVersion', 'CheckOpenSuseLinuxVersion', + * 'CheckWindowsServer2008R2Version', 'CheckCentOsVersion', 'CheckDebianLinuxVersion', + * 'CheckSuseLinuxVersion', 'CheckOracleLinuxVersion', 'CheckUbuntuLinuxVersion', * 'CheckCoreOsLinuxVersion', 'WindowsServerVersionConditionallySupported', - * 'NoGuestOperatingSystemConditionallySupported', - * 'WindowsClientVersionsConditionallySupported', 'BootTypeUnknown', - * 'GuestOperatingSystemUnknown', 'WindowsServerVersionsSupportedWithCaveat', - * 'WindowsOSNoLongerUnderMSSupport', - * 'EndorsedWithConditionsLinuxDistributions', + * 'NoGuestOperatingSystemConditionallySupported', 'WindowsClientVersionsConditionallySupported', + * 'BootTypeUnknown', 'GuestOperatingSystemUnknown', 'WindowsServerVersionsSupportedWithCaveat', + * 'WindowsOSNoLongerUnderMSSupport', 'EndorsedWithConditionsLinuxDistributions', * 'UnendorsedLinuxDistributions', 'NoVmSizeForStandardPricingTier', * 'NoVmSizeForBasicPricingTier' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly suitabilityExplanation?: AzureVmSuitabilityExplanation; /** - * @member {Date} [createdTimestamp] Time when this machine was created. - * Date-Time represented in ISO-8601 format. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Time when this machine was created. Date-Time represented in ISO-8601 format. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly createdTimestamp?: Date; /** - * @member {Date} [updatedTimestamp] Time when this machine was last updated. - * Date-Time represented in ISO-8601 format. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Time when this machine was last updated. Date-Time represented in ISO-8601 format. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly updatedTimestamp?: Date; } /** - * @interface - * An interface representing ProjectKey. * ID and Key for Migration Project. - * - * @extends BaseResource */ export interface ProjectKey extends BaseResource { /** - * @member {string} [workspaceId] ID of Migration Project. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * ID of Migration Project. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly workspaceId?: string; /** - * @member {string} [workspaceKey] Key of Migration Project. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Key of Migration Project. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly workspaceKey?: string; } /** - * @interface - * An interface representing OperationDisplay. * Displayable properties of the operation. - * */ export interface OperationDisplay { /** - * @member {string} [provider] Provider of the operation. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Provider of the operation. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provider?: string; /** - * @member {string} [resource] Resource operated on by the operation. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Resource operated on by the operation. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly resource?: string; /** - * @member {string} [operation] Operation Type. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Operation Type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly operation?: string; /** - * @member {string} [description] Description of the operation. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Description of the operation. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly description?: string; } /** - * @interface - * An interface representing Operation. * A REST API operation supported by the provider. - * */ export interface Operation { /** - * @member {string} [name] Name of the operation. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Name of the operation. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {OperationDisplay} [display] Displayable properties of the - * operation. + * Displayable properties of the operation. */ display?: OperationDisplay; /** - * @member {string} [origin] Origin of the operation. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Origin of the operation. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly origin?: string; } /** - * @interface - * An interface representing DownloadUrl. * Download URL for assessment report. - * */ export interface DownloadUrl { /** - * @member {string} [assessmentReportUrl] Hyperlink to download report. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Hyperlink to download report. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly assessmentReportUrl?: string; /** - * @member {Date} [expirationTime] Expiry date of download url. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Expiry date of download url. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly expirationTime?: Date; } /** - * @interface - * An interface representing VmFamily. - * VM family name, the list of targeted azure locations and the category of the - * family. - * + * VM family name, the list of targeted azure locations and the category of the family. */ export interface VmFamily { /** - * @member {string} [familyName] Name of the VM family. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Name of the VM family. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly familyName?: string; /** - * @member {string[]} [targetLocations] List of Azure regions. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * List of Azure regions. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly targetLocations?: string[]; /** - * @member {string[]} [category] Category of the VM family. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Category of the VM family. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly category?: string[]; } /** - * @interface - * An interface representing AssessmentOptionsResultList. * List of assessment options. - * */ export interface AssessmentOptionsResultList { /** - * @member {VmFamily[]} [vmFamilies] Dictionary of VM families grouped by vm - * family name describing the targeted azure locations of VM family and the - * category of the family. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Dictionary of VM families grouped by vm family name describing the targeted azure locations of + * VM family and the category of the family. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly vmFamilies?: VmFamily[]; /** - * @member {string[]} [reservedInstanceVmFamilies] List of supported VM - * Families. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * List of supported VM Families. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly reservedInstanceVmFamilies?: string[]; } /** - * @interface - * An interface representing CheckNameAvailabilityParameters. * Parameters for a check name availability request. - * */ export interface CheckNameAvailabilityParameters { /** - * @member {string} name The name to check for availability + * The name to check for availability */ name: string; } /** - * @interface - * An interface representing CheckNameAvailabilityResult. * The CheckNameAvailability operation response. - * */ export interface CheckNameAvailabilityResult { /** - * @member {boolean} [nameAvailable] Gets a boolean value that indicates - * whether the name is available for you to use. If true, the name is - * available. If false, the name has already been taken or invalid and cannot - * be used. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets a boolean value that indicates whether the name is available for you to use. If true, the + * name is available. If false, the name has already been taken or invalid and cannot be used. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly nameAvailable?: boolean; /** - * @member {NameAvailabilityReason} [reason] Gets the reason that a project - * name could not be used. The Reason element is only returned if - * NameAvailable is false. Possible values include: 'Available', 'Invalid', - * 'AlreadyExists' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets the reason that a project name could not be used. The Reason element is only returned if + * NameAvailable is false. Possible values include: 'Available', 'Invalid', 'AlreadyExists' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly reason?: NameAvailabilityReason; /** - * @member {string} [message] Gets an error message explaining the Reason - * value in more detail. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * Gets an error message explaining the Reason value in more detail. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly message?: string; } /** - * @interface - * An interface representing ProjectsCreateOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface ProjectsCreateOptionalParams extends msRest.RequestOptionsBase { /** - * @member {Project} [project] New or Updated project object. + * New or Updated project object. */ project?: Project; } /** - * @interface - * An interface representing ProjectsUpdateOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface ProjectsUpdateOptionalParams extends msRest.RequestOptionsBase { /** - * @member {Project} [project] Updated project object. + * Updated project object. */ project?: Project; } /** - * @interface - * An interface representing GroupsCreateOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface GroupsCreateOptionalParams extends msRest.RequestOptionsBase { /** - * @member {Group} [group] New or Updated Group object. + * New or Updated Group object. */ group?: Group; } /** - * @interface - * An interface representing AssessmentsCreateOptionalParams. * Optional Parameters. - * - * @extends RequestOptionsBase */ export interface AssessmentsCreateOptionalParams extends msRest.RequestOptionsBase { /** - * @member {Assessment} [assessment] New or Updated Assessment object. + * New or Updated Assessment object. */ assessment?: Assessment; } /** - * @interface * An interface representing AzureMigrateOptions. - * @extends AzureServiceClientOptions */ export interface AzureMigrateOptions extends AzureServiceClientOptions { - /** - * @member {string} [baseUri] - */ baseUri?: string; } /** - * @interface - * An interface representing ProjectsListBySubscriptionHeaders. * Defines headers for ListBySubscription operation. - * */ export interface ProjectsListBySubscriptionHeaders { /** - * @member {string} [xMsRequestId] Service generated Request ID. + * Service generated Request ID. */ xMsRequestId: string; } /** - * @interface - * An interface representing ProjectsListByResourceGroupHeaders. * Defines headers for ListByResourceGroup operation. - * */ export interface ProjectsListByResourceGroupHeaders { /** - * @member {string} [xMsRequestId] Service generated Request ID. + * Service generated Request ID. */ xMsRequestId: string; } /** - * @interface - * An interface representing ProjectsGetHeaders. * Defines headers for Get operation. - * */ export interface ProjectsGetHeaders { /** - * @member {string} [xMsRequestId] Service generated Request ID. + * Service generated Request ID. */ xMsRequestId: string; } /** - * @interface - * An interface representing ProjectsCreateHeaders. * Defines headers for Create operation. - * */ export interface ProjectsCreateHeaders { /** - * @member {string} [xMsRequestId] Service generated Request ID. + * Service generated Request ID. */ xMsRequestId: string; } /** - * @interface - * An interface representing ProjectsUpdateHeaders. * Defines headers for Update operation. - * */ export interface ProjectsUpdateHeaders { /** - * @member {string} [xMsRequestId] Service generated Request ID. + * Service generated Request ID. */ xMsRequestId: string; } /** - * @interface - * An interface representing ProjectsDeleteHeaders. * Defines headers for Delete operation. - * */ export interface ProjectsDeleteHeaders { /** - * @member {string} [xMsRequestId] Service generated Request ID. + * Service generated Request ID. */ xMsRequestId: string; } /** - * @interface - * An interface representing ProjectsGetKeysHeaders. * Defines headers for GetKeys operation. - * */ export interface ProjectsGetKeysHeaders { /** - * @member {string} [xMsRequestId] Service generated Request ID. + * Service generated Request ID. */ xMsRequestId: string; } /** - * @interface - * An interface representing MachinesListByProjectHeaders. * Defines headers for ListByProject operation. - * */ export interface MachinesListByProjectHeaders { /** - * @member {string} [xMsRequestId] Service generated Request ID. + * Service generated Request ID. */ xMsRequestId: string; } /** - * @interface - * An interface representing MachinesGetHeaders. * Defines headers for Get operation. - * */ export interface MachinesGetHeaders { /** - * @member {string} [xMsRequestId] Service generated Request ID. + * Service generated Request ID. */ xMsRequestId: string; } /** - * @interface - * An interface representing GroupsListByProjectHeaders. * Defines headers for ListByProject operation. - * */ export interface GroupsListByProjectHeaders { /** - * @member {string} [xMsRequestId] Service generated Request ID. + * Service generated Request ID. */ xMsRequestId: string; } /** - * @interface - * An interface representing GroupsGetHeaders. * Defines headers for Get operation. - * */ export interface GroupsGetHeaders { /** - * @member {string} [xMsRequestId] Service generated Request ID. + * Service generated Request ID. */ xMsRequestId: string; } /** - * @interface - * An interface representing GroupsCreateHeaders. * Defines headers for Create operation. - * */ export interface GroupsCreateHeaders { /** - * @member {string} [xMsRequestId] Service generated Request ID. + * Service generated Request ID. */ xMsRequestId: string; } /** - * @interface - * An interface representing GroupsDeleteHeaders. * Defines headers for Delete operation. - * */ export interface GroupsDeleteHeaders { /** - * @member {string} [xMsRequestId] Service generated Request ID. + * Service generated Request ID. */ xMsRequestId: string; } /** - * @interface - * An interface representing AssessmentsListByGroupHeaders. * Defines headers for ListByGroup operation. - * */ export interface AssessmentsListByGroupHeaders { /** - * @member {string} [xMsRequestId] Service generated Request ID. + * Service generated Request ID. */ xMsRequestId: string; } /** - * @interface - * An interface representing AssessmentsListByProjectHeaders. * Defines headers for ListByProject operation. - * */ export interface AssessmentsListByProjectHeaders { /** - * @member {string} [xMsRequestId] Service generated Request ID. + * Service generated Request ID. */ xMsRequestId: string; } /** - * @interface - * An interface representing AssessmentsGetHeaders. * Defines headers for Get operation. - * */ export interface AssessmentsGetHeaders { /** - * @member {string} [xMsRequestId] Service generated Request ID. + * Service generated Request ID. */ xMsRequestId: string; } /** - * @interface - * An interface representing AssessmentsCreateHeaders. * Defines headers for Create operation. - * */ export interface AssessmentsCreateHeaders { /** - * @member {string} [xMsRequestId] Service generated Request ID. + * Service generated Request ID. */ xMsRequestId: string; } /** - * @interface - * An interface representing AssessmentsDeleteHeaders. * Defines headers for Delete operation. - * */ export interface AssessmentsDeleteHeaders { /** - * @member {string} [xMsRequestId] Service generated Request ID. + * Service generated Request ID. */ xMsRequestId: string; } /** - * @interface - * An interface representing AssessmentsGetReportDownloadUrlHeaders. * Defines headers for GetReportDownloadUrl operation. - * */ export interface AssessmentsGetReportDownloadUrlHeaders { /** - * @member {string} [xMsRequestId] Service generated Request ID. + * Service generated Request ID. */ xMsRequestId: string; } /** - * @interface - * An interface representing AssessedMachinesListByAssessmentHeaders. * Defines headers for ListByAssessment operation. - * */ export interface AssessedMachinesListByAssessmentHeaders { /** - * @member {string} [xMsRequestId] Service generated Request ID. + * Service generated Request ID. */ xMsRequestId: string; } /** - * @interface - * An interface representing AssessedMachinesGetHeaders. * Defines headers for Get operation. - * */ export interface AssessedMachinesGetHeaders { /** - * @member {string} [xMsRequestId] Service generated Request ID. + * Service generated Request ID. */ xMsRequestId: string; } - /** * @interface - * An interface representing the ProjectResultList. * List of projects. - * * @extends Array */ export interface ProjectResultList extends Array { @@ -1674,9 +1255,7 @@ export interface ProjectResultList extends Array { /** * @interface - * An interface representing the MachineResultList. * List of machines. - * * @extends Array */ export interface MachineResultList extends Array { @@ -1684,9 +1263,7 @@ export interface MachineResultList extends Array { /** * @interface - * An interface representing the GroupResultList. * List of groups. - * * @extends Array */ export interface GroupResultList extends Array { @@ -1694,9 +1271,7 @@ export interface GroupResultList extends Array { /** * @interface - * An interface representing the AssessmentResultList. * List of assessments. - * * @extends Array */ export interface AssessmentResultList extends Array { @@ -1704,9 +1279,7 @@ export interface AssessmentResultList extends Array { /** * @interface - * An interface representing the AssessedMachineResultList. * List of assessed machines. - * * @extends Array */ export interface AssessedMachineResultList extends Array { @@ -1714,9 +1287,7 @@ export interface AssessedMachineResultList extends Array { /** * @interface - * An interface representing the OperationResultList. * List of API operations. - * * @extends Array */ export interface OperationResultList extends Array { @@ -1960,6 +1531,7 @@ export type LocationCheckNameAvailabilityResponse = CheckNameAvailabilityResult * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -1979,6 +1551,7 @@ export type AssessmentOptionsGetResponse = AssessmentOptionsResultList & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -1998,10 +1571,12 @@ export type ProjectsListBySubscriptionResponse = ProjectResultList & ProjectsLis * The parsed HTTP response headers. */ parsedHeaders: ProjectsListBySubscriptionHeaders; + /** * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2021,10 +1596,12 @@ export type ProjectsListByResourceGroupResponse = ProjectResultList & ProjectsLi * The parsed HTTP response headers. */ parsedHeaders: ProjectsListByResourceGroupHeaders; + /** * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2044,10 +1621,12 @@ export type ProjectsGetResponse = Project & ProjectsGetHeaders & { * The parsed HTTP response headers. */ parsedHeaders: ProjectsGetHeaders; + /** * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2067,10 +1646,12 @@ export type ProjectsCreateResponse = Project & ProjectsCreateHeaders & { * The parsed HTTP response headers. */ parsedHeaders: ProjectsCreateHeaders; + /** * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2090,10 +1671,12 @@ export type ProjectsUpdateResponse = Project & ProjectsUpdateHeaders & { * The parsed HTTP response headers. */ parsedHeaders: ProjectsUpdateHeaders; + /** * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2128,10 +1711,12 @@ export type ProjectsGetKeysResponse = ProjectKey & ProjectsGetKeysHeaders & { * The parsed HTTP response headers. */ parsedHeaders: ProjectsGetKeysHeaders; + /** * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2151,10 +1736,12 @@ export type MachinesListByProjectResponse = MachineResultList & MachinesListByPr * The parsed HTTP response headers. */ parsedHeaders: MachinesListByProjectHeaders; + /** * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2174,10 +1761,12 @@ export type MachinesGetResponse = Machine & MachinesGetHeaders & { * The parsed HTTP response headers. */ parsedHeaders: MachinesGetHeaders; + /** * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2197,10 +1786,12 @@ export type GroupsListByProjectResponse = GroupResultList & GroupsListByProjectH * The parsed HTTP response headers. */ parsedHeaders: GroupsListByProjectHeaders; + /** * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2220,10 +1811,12 @@ export type GroupsGetResponse = Group & GroupsGetHeaders & { * The parsed HTTP response headers. */ parsedHeaders: GroupsGetHeaders; + /** * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2243,10 +1836,12 @@ export type GroupsCreateResponse = Group & GroupsCreateHeaders & { * The parsed HTTP response headers. */ parsedHeaders: GroupsCreateHeaders; + /** * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2281,10 +1876,12 @@ export type AssessmentsListByGroupResponse = AssessmentResultList & AssessmentsL * The parsed HTTP response headers. */ parsedHeaders: AssessmentsListByGroupHeaders; + /** * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2304,10 +1901,12 @@ export type AssessmentsListByProjectResponse = AssessmentResultList & Assessment * The parsed HTTP response headers. */ parsedHeaders: AssessmentsListByProjectHeaders; + /** * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2327,10 +1926,12 @@ export type AssessmentsGetResponse = Assessment & AssessmentsGetHeaders & { * The parsed HTTP response headers. */ parsedHeaders: AssessmentsGetHeaders; + /** * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2350,10 +1951,12 @@ export type AssessmentsCreateResponse = Assessment & AssessmentsCreateHeaders & * The parsed HTTP response headers. */ parsedHeaders: AssessmentsCreateHeaders; + /** * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2388,10 +1991,12 @@ export type AssessmentsGetReportDownloadUrlResponse = DownloadUrl & AssessmentsG * The parsed HTTP response headers. */ parsedHeaders: AssessmentsGetReportDownloadUrlHeaders; + /** * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2411,10 +2016,12 @@ export type AssessedMachinesListByAssessmentResponse = AssessedMachineResultList * The parsed HTTP response headers. */ parsedHeaders: AssessedMachinesListByAssessmentHeaders; + /** * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2434,10 +2041,12 @@ export type AssessedMachinesGetResponse = AssessedMachine & AssessedMachinesGetH * The parsed HTTP response headers. */ parsedHeaders: AssessedMachinesGetHeaders; + /** * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ @@ -2457,6 +2066,7 @@ export type OperationsListResponse = OperationResultList & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ diff --git a/sdk/migrate/arm-migrate/src/models/locationMappers.ts b/sdk/migrate/arm-migrate/src/models/locationMappers.ts index c53441ea5d95..bb135c9660b1 100644 --- a/sdk/migrate/arm-migrate/src/models/locationMappers.ts +++ b/sdk/migrate/arm-migrate/src/models/locationMappers.ts @@ -1,11 +1,9 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { @@ -13,4 +11,3 @@ export { CheckNameAvailabilityResult, CloudError } from "../models/mappers"; - diff --git a/sdk/migrate/arm-migrate/src/models/machinesMappers.ts b/sdk/migrate/arm-migrate/src/models/machinesMappers.ts index 3dc7b4efa43b..4975b46fbd44 100644 --- a/sdk/migrate/arm-migrate/src/models/machinesMappers.ts +++ b/sdk/migrate/arm-migrate/src/models/machinesMappers.ts @@ -1,28 +1,25 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - MachineResultList, - Machine, + AssessedDisk, + AssessedMachine, + AssessedNetworkAdapter, + Assessment, BaseResource, - Disk, - NetworkAdapter, - MachinesListByProjectHeaders, CloudError, + Disk, + Group, + Machine, + MachineResultList, MachinesGetHeaders, + MachinesListByProjectHeaders, + NetworkAdapter, Project, - Group, - Assessment, - AssessedMachine, - AssessedDisk, - AssessedNetworkAdapter, ProjectKey } from "../models/mappers"; - diff --git a/sdk/migrate/arm-migrate/src/models/mappers.ts b/sdk/migrate/arm-migrate/src/models/mappers.ts index 8c7c268ffbb9..32e0fc54f09d 100644 --- a/sdk/migrate/arm-migrate/src/models/mappers.ts +++ b/sdk/migrate/arm-migrate/src/models/mappers.ts @@ -1,11 +1,9 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js"; diff --git a/sdk/migrate/arm-migrate/src/models/operationsMappers.ts b/sdk/migrate/arm-migrate/src/models/operationsMappers.ts index 4dded67fb929..02b7fca5fb60 100644 --- a/sdk/migrate/arm-migrate/src/models/operationsMappers.ts +++ b/sdk/migrate/arm-migrate/src/models/operationsMappers.ts @@ -1,17 +1,14 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - OperationResultList, + CloudError, Operation, OperationDisplay, - CloudError + OperationResultList } from "../models/mappers"; - diff --git a/sdk/migrate/arm-migrate/src/models/projectsMappers.ts b/sdk/migrate/arm-migrate/src/models/projectsMappers.ts index f21710cc6261..05223c7fee0a 100644 --- a/sdk/migrate/arm-migrate/src/models/projectsMappers.ts +++ b/sdk/migrate/arm-migrate/src/models/projectsMappers.ts @@ -1,33 +1,30 @@ /* * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Licensed under the MIT License. See License.txt in the project root for license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - ProjectResultList, - Project, + AssessedDisk, + AssessedMachine, + AssessedNetworkAdapter, + Assessment, BaseResource, - ProjectsListBySubscriptionHeaders, CloudError, - ProjectsListByResourceGroupHeaders, - ProjectsGetHeaders, - ProjectsCreateHeaders, - ProjectsUpdateHeaders, - ProjectsDeleteHeaders, - ProjectKey, - ProjectsGetKeysHeaders, + Disk, Group, - Assessment, Machine, - Disk, NetworkAdapter, - AssessedMachine, - AssessedDisk, - AssessedNetworkAdapter + Project, + ProjectKey, + ProjectResultList, + ProjectsCreateHeaders, + ProjectsDeleteHeaders, + ProjectsGetHeaders, + ProjectsGetKeysHeaders, + ProjectsListByResourceGroupHeaders, + ProjectsListBySubscriptionHeaders, + ProjectsUpdateHeaders } from "../models/mappers"; - diff --git a/sdk/migrate/arm-migrate/src/operations/assessedMachines.ts b/sdk/migrate/arm-migrate/src/operations/assessedMachines.ts index 505c9c19c2fa..fa57f05f623a 100644 --- a/sdk/migrate/arm-migrate/src/operations/assessedMachines.ts +++ b/sdk/migrate/arm-migrate/src/operations/assessedMachines.ts @@ -74,7 +74,7 @@ export class AssessedMachines { } /** - * Get an assessed machine with its size & cost estimnate that was evaluated in the specified + * Get an assessed machine with its size & cost estimate that was evaluated in the specified * assessment. * @summary Get an assessed machine. * @param resourceGroupName Name of the Azure Resource Group that project is part of. diff --git a/sdk/migrate/arm-migrate/src/operations/assessments.ts b/sdk/migrate/arm-migrate/src/operations/assessments.ts index 839f1b3d5677..2da9fbbdf159 100644 --- a/sdk/migrate/arm-migrate/src/operations/assessments.ts +++ b/sdk/migrate/arm-migrate/src/operations/assessments.ts @@ -144,7 +144,7 @@ export class Assessments { /** * Create a new assessment with the given name and the specified settings. Since name of an - * assessment in a project is a unique identiefier, if an assessment with the name provided already + * assessment in a project is a unique identifier, if an assessment with the name provided already * exists, then the existing assessment is updated. * * Any PUT operation, resulting in either create or update on an assessment, will cause the diff --git a/sdk/migrate/arm-migrate/tsconfig.json b/sdk/migrate/arm-migrate/tsconfig.json index 87bbf5b5fa49..422b584abd5e 100644 --- a/sdk/migrate/arm-migrate/tsconfig.json +++ b/sdk/migrate/arm-migrate/tsconfig.json @@ -9,7 +9,7 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6"], + "lib": ["es6", "dom"], "declaration": true, "outDir": "./esm", "importHelpers": true