From f2acee0d775a07f31fe91470ee7083ba6c4d43a5 Mon Sep 17 00:00:00 2001 From: sumukha100 <70937296+sumukha100@users.noreply.github.com> Date: Wed, 8 Feb 2023 15:41:20 +0530 Subject: [PATCH] =?UTF-8?q?Adding=20new=20Tracked=20Resource=20Type=20for?= =?UTF-8?q?=20Microsoft.Migrate=20RP=20with=20new=20Ap=E2=80=A6=20(#19045)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Adding new Tracked Resource Type for Microsoft.Migrate RP with new Api Version * Adding tag in readme and IISAKS to custom words * Restructuring example files * Renaming files * Fixing Avocado error * Rectifying swagger model validation * Addressing code style and validation issues * Implementing review comment * fixing prettier check * Deleting patch operations for proxy resources * Modifying readme.md to accomodate new resourcetype * Resolving errors * Resolving errors * Chankging tracked resource name from migrateDataCenter to modernizeProject * Reverting addition of id fiels in migrate and hubmigrate.json * . * Delete non-existing x-ms-examples from swagger * Auto-generate examples * run prettier changes * . * prettier * fix: Deleting and modifying examples * fix: Generated new examples to remove some errors * fix: Added x-ms-long-running-operation-options * refactor: Ran prettier fix * fix: Spell check error * fix: Removed 2 unnecessary filenames from inputfiles section under 'package-2022-05' tag. * feat: Latest Swagger updated. New examples generated. * fix: Resolving LintDiff Errors * fix: Ran prettier fix * fix: fixing model validation errors * fix: model validation error fix * fix: Removed patch operation and updated camelCase * fix: updated 'name' and restore readme.md * fix: removed tag: package-2022-05 and reverted the default tag to 2019-10 * fix: OperationsAPIImplementation * fix: OperationsAPI Implementaiton shifted to migrateEngine file * fix: ran prettier fix on 2 new example files * fix: updated package-2019 with package-migrate-2019 * refactor: Changed random guid to reopen the PR * fix: Updated the swagger till date 19Jan * fix: added 'fareast' in custom-words * fix: Recreated examples * fix: ran prettier command * fix: camelCase at 3 places * fix: Re generated examples * fix: Removed the Loglink from ContainerImageProperties * fix: Regenerated examples * Added GMSA Configuration State * fix: Added two DeployedResourcesProperties: isCleanUpDone, isTestMigration * fix: Removed spellcheck * fix: Added Produces in operations * fix: schema error * fix: Removed unnecessary configurations --------- Co-authored-by: Shishir Gupta Co-authored-by: Shreyas Mali Co-authored-by: shishir-msft <55269898+shishir-msft@users.noreply.github.com> Co-authored-by: shreyasmalims <117085373+shreyasmalims@users.noreply.github.com> --- custom-words.txt | 2 + package-lock.json | 2 +- package.json | 2 +- .../DeployedResource_Get_MaximumSet_Gen.json | 46 + .../DeployedResource_Get_MinimumSet_Gen.json | 14 + .../DeployedResource_List_MaximumSet_Gen.json | 50 + .../DeployedResource_List_MinimumSet_Gen.json | 13 + ...entOperationStatus_Get_MaximumSet_Gen.json | 21 + ...entOperationStatus_Get_MinimumSet_Gen.json | 15 + .../MigrateAgent_Create_MaximumSet_Gen.json | 103 + .../MigrateAgent_Create_MinimumSet_Gen.json | 14 + .../MigrateAgent_Delete_MaximumSet_Gen.json | 17 + .../MigrateAgent_Delete_MinimumSet_Gen.json | 17 + .../MigrateAgent_Get_MaximumSet_Gen.json | 84 + .../MigrateAgent_Get_MinimumSet_Gen.json | 14 + .../MigrateAgent_List_MaximumSet_Gen.json | 88 + .../MigrateAgent_List_MinimumSet_Gen.json | 13 + .../MigrateAgent_Refresh_MaximumSet_Gen.json | 16 + .../MigrateAgent_Refresh_MinimumSet_Gen.json | 16 + ...ectOperationStatus_Get_MaximumSet_Gen.json | 21 + ...ectOperationStatus_Get_MinimumSet_Gen.json | 14 + ...eProjectStatistics_Get_MaximumSet_Gen.json | 142 + ...eProjectStatistics_Get_MinimumSet_Gen.json | 13 + ...odernizeProject_Create_MaximumSet_Gen.json | 74 + ...odernizeProject_Create_MinimumSet_Gen.json | 13 + ...odernizeProject_Delete_MaximumSet_Gen.json | 16 + ...odernizeProject_Delete_MinimumSet_Gen.json | 16 + .../ModernizeProject_Get_MaximumSet_Gen.json | 50 + .../ModernizeProject_Get_MinimumSet_Gen.json | 13 + ...ect_ListBySubscription_MaximumSet_Gen.json | 54 + ...ect_ListBySubscription_MinimumSet_Gen.json | 11 + .../ModernizeProject_List_MaximumSet_Gen.json | 55 + .../ModernizeProject_List_MinimumSet_Gen.json | 12 + ...odernizeProject_Update_MaximumSet_Gen.json | 69 + ...odernizeProject_Update_MinimumSet_Gen.json | 16 + .../Operations_List_MaximumSet_Gen.json | 26 + .../Operations_List_MinimumSet_Gen.json | 10 + ...lowOperationStatus_Get_MaximumSet_Gen.json | 21 + ...lowOperationStatus_Get_MinimumSet_Gen.json | 15 + .../examples/Workflow_Get_MaximumSet_Gen.json | 76 + .../examples/Workflow_Get_MinimumSet_Gen.json | 14 + .../Workflow_List_MaximumSet_Gen.json | 82 + .../Workflow_List_MinimumSet_Gen.json | 13 + ...entOperationStatus_Get_MaximumSet_Gen.json | 21 + ...entOperationStatus_Get_MinimumSet_Gen.json | 15 + ...nt_BuildContainerImage_MaximumSet_Gen.json | 31 + ...nt_BuildContainerImage_MinimumSet_Gen.json | 16 + ...kloadDeployment_Create_MaximumSet_Gen.json | 185 + ...kloadDeployment_Create_MinimumSet_Gen.json | 14 + ...kloadDeployment_Delete_MaximumSet_Gen.json | 18 + ...kloadDeployment_Delete_MinimumSet_Gen.json | 17 + ...etSecretConfigurations_MaximumSet_Gen.json | 160 + ...etSecretConfigurations_MinimumSet_Gen.json | 14 + ...WorkloadDeployment_Get_MaximumSet_Gen.json | 160 + ...WorkloadDeployment_Get_MinimumSet_Gen.json | 14 + ...orkloadDeployment_List_MaximumSet_Gen.json | 164 + ...orkloadDeployment_List_MinimumSet_Gen.json | 13 + ...loadDeployment_Migrate_MaximumSet_Gen.json | 23 + ...loadDeployment_Migrate_MinimumSet_Gen.json | 16 + ...ent_TestMigrateCleanup_MaximumSet_Gen.json | 21 + ...ent_TestMigrateCleanup_MinimumSet_Gen.json | 16 + ...Deployment_TestMigrate_MaximumSet_Gen.json | 23 + ...Deployment_TestMigrate_MinimumSet_Gen.json | 16 + ...nceOperationStatus_Get_MaximumSet_Gen.json | 21 + ...nceOperationStatus_Get_MinimumSet_Gen.json | 15 + ...orkloadInstance_Create_MaximumSet_Gen.json | 113 + ...orkloadInstance_Create_MinimumSet_Gen.json | 14 + ...orkloadInstance_Delete_MaximumSet_Gen.json | 17 + ...orkloadInstance_Delete_MinimumSet_Gen.json | 17 + .../WorkloadInstance_Get_MaximumSet_Gen.json | 95 + .../WorkloadInstance_Get_MinimumSet_Gen.json | 14 + .../WorkloadInstance_List_MaximumSet_Gen.json | 99 + .../WorkloadInstance_List_MinimumSet_Gen.json | 13 + ...stance_MigrateComplete_MaximumSet_Gen.json | 16 + ...stance_MigrateComplete_MinimumSet_Gen.json | 16 + ...Instance_StopReplicate_MaximumSet_Gen.json | 16 + ...Instance_StopReplicate_MinimumSet_Gen.json | 16 + .../2022-05-01-preview/migrateEngine.json | 5530 +++++++++++++++++ .../stable/2020-05-01/hubmigrate.json | 1 + .../stable/2020-07-07/migrate.json | 8 +- .../migrate/resource-manager/readme.md | 99 +- 81 files changed, 8433 insertions(+), 37 deletions(-) create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/DeployedResource_Get_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/DeployedResource_Get_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/DeployedResource_List_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/DeployedResource_List_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgentOperationStatus_Get_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgentOperationStatus_Get_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Create_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Create_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Delete_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Delete_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Get_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Get_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_List_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_List_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Refresh_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Refresh_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProjectOperationStatus_Get_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProjectOperationStatus_Get_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProjectStatistics_Get_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProjectStatistics_Get_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Create_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Create_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Delete_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Delete_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Get_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Get_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_ListBySubscription_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_List_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_List_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Update_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Update_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Operations_List_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Operations_List_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkflowOperationStatus_Get_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkflowOperationStatus_Get_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Workflow_Get_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Workflow_Get_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Workflow_List_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Workflow_List_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeploymentOperationStatus_Get_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeploymentOperationStatus_Get_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_BuildContainerImage_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_BuildContainerImage_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Create_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Create_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Delete_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Delete_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_GetSecretConfigurations_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_GetSecretConfigurations_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Get_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Get_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_List_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_List_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Migrate_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Migrate_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrateCleanup_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrateCleanup_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrate_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrate_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstanceOperationStatus_Get_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstanceOperationStatus_Get_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Create_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Create_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Delete_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Delete_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Get_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Get_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_List_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_List_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_MigrateComplete_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_MigrateComplete_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_StopReplicate_MaximumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_StopReplicate_MinimumSet_Gen.json create mode 100644 specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/migrateEngine.json diff --git a/custom-words.txt b/custom-words.txt index bceddc941be2..65df2cbdf294 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -752,6 +752,7 @@ Failback failover Fairplay Fanout +fareast farmBeats FarmBeats fatherable @@ -953,6 +954,7 @@ IDNS IDPs IDRG IKEV +IISAKS ilearner illumos iloveyou diff --git a/package-lock.json b/package-lock.json index b420236240e4..5c53a8a4fe8a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,7 @@ "js-yaml": "^3.13.1", "json-schema-ref-parser": "^6.1.0", "mocha": "^9.1.2", - "prettier": "^2.6.2", + "prettier": "^2.7.1", "ts-node": "^10.1.0", "tslib": "^1.10.0", "typescript": "^3.5.3" diff --git a/package.json b/package.json index c96a4693c2f4..cbbb9b0aa710 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "js-yaml": "^3.13.1", "json-schema-ref-parser": "^6.1.0", "mocha": "^9.1.2", - "prettier": "^2.6.2", + "prettier": "^2.7.1", "ts-node": "^10.1.0", "tslib": "^1.10.0", "typescript": "^3.5.3" diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/DeployedResource_Get_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/DeployedResource_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..2507b7c0d504 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/DeployedResource_Get_MaximumSet_Gen.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "p", + "deployedResourceName": "x", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "resourcesDeployed": { + "key3537": "flrnxbqphg" + }, + "workloadDeploymentId": "yonvfgrejwtbtvywlxyyhozil", + "displayName": "bhaboraghcmdznewqwzwlso", + "deploymentTimestamp": "2023-01-24T09:33:20.423Z", + "targetAzureService": "AzureKubernetesService", + "containerRegistryId": "ahfhvdcugvbobqhf", + "imageName": "oqnegtykufkpzb", + "imageTag": "jjmajbhdlcorshzzardkuocmfhj", + "appIp": "emlodrp", + "secretStoreId": "zqtanxxzcdawftq", + "customProperties": { + "key6623": "dqvkmvytgpbeat" + } + }, + "id": "byupcjbeg", + "name": "e", + "type": "ppnjjicvguxdeelfbpexyphvoyjrfd", + "systemData": { + "createdBy": "vyzbchfdtfybrxoszxjngqxme", + "createdByType": "dkvwaxkkdiuzfwdtwupzmpuxssurz", + "createdAt": "2023-01-24T09:33:20.423Z", + "lastModifiedBy": "lwymfhok", + "lastModifiedByType": "ycxifqgaihtjadtubsbrdgatitje", + "lastModifiedAt": "2023-01-24T09:33:20.423Z" + }, + "tags": { + "key8593": "qwajwvgsbbrogygqkasckw" + } + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/DeployedResource_Get_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/DeployedResource_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..25187eebbfd4 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/DeployedResource_Get_MinimumSet_Gen.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "c5", + "deployedResourceName": "nbsprsfn", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/DeployedResource_List_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/DeployedResource_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..54ecfb030290 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/DeployedResource_List_MaximumSet_Gen.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "d3n", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "resourcesDeployed": { + "key3537": "flrnxbqphg" + }, + "workloadDeploymentId": "yonvfgrejwtbtvywlxyyhozil", + "displayName": "bhaboraghcmdznewqwzwlso", + "deploymentTimestamp": "2023-01-24T09:33:20.423Z", + "targetAzureService": "AzureKubernetesService", + "containerRegistryId": "ahfhvdcugvbobqhf", + "imageName": "oqnegtykufkpzb", + "imageTag": "jjmajbhdlcorshzzardkuocmfhj", + "appIp": "emlodrp", + "secretStoreId": "zqtanxxzcdawftq", + "customProperties": { + "key6623": "dqvkmvytgpbeat" + } + }, + "id": "byupcjbeg", + "name": "e", + "type": "ppnjjicvguxdeelfbpexyphvoyjrfd", + "systemData": { + "createdBy": "vyzbchfdtfybrxoszxjngqxme", + "createdByType": "dkvwaxkkdiuzfwdtwupzmpuxssurz", + "createdAt": "2023-01-24T09:33:20.423Z", + "lastModifiedBy": "lwymfhok", + "lastModifiedByType": "ycxifqgaihtjadtubsbrdgatitje", + "lastModifiedAt": "2023-01-24T09:33:20.423Z" + }, + "tags": { + "key8593": "qwajwvgsbbrogygqkasckw" + } + } + ], + "nextLink": "sutrwyjnjrsaannakxoatrfkk" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/DeployedResource_List_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/DeployedResource_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..e37c06749331 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/DeployedResource_List_MinimumSet_Gen.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "fm3", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgentOperationStatus_Get_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgentOperationStatus_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..6c67667702a1 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgentOperationStatus_Get_MaximumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "sa", + "agentName": "s7", + "operationId": "gwvaselnojb", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "jgqitwpxtxk", + "name": "uyfnwey", + "status": "khffzhqwigjqyxlijuzdsy", + "startTime": "pczzugftmougphynzofsxaj", + "endTime": "sjrmdhmfwplekzezydk" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgentOperationStatus_Get_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgentOperationStatus_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..f0836e722fa0 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgentOperationStatus_Get_MinimumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "b4gt", + "agentName": "dh4", + "operationId": "wv", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Create_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..31f6638f9fee --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Create_MaximumSet_Gen.json @@ -0,0 +1,103 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "rq1yec", + "agentName": "l", + "api-version": "2022-05-01-preview", + "body": { + "properties": { + "machineId": "sihoniqzqfz", + "machineName": "glhejppirkiamgxxro", + "authenticationIdentity": { + "tenantId": "uwceuawplakwjswbvllffbsz", + "applicationId": "dibfqwjrnzikktkwe", + "objectId": "xfhhdosr", + "audience": "yrfxszjhkczoyfi", + "aadAuthority": "isbicanvfefdaci" + }, + "customProperties": { + "instanceType": "IISWorkload" + } + }, + "tags": { + "key5560": "jgffrfcgjrm" + } + } + }, + "responses": { + "201": { + "body": { + "properties": { + "correlationId": "aivwmxdmrcokskqsbeeduwdenaedrf", + "machineId": "sihoniqzqfz", + "machineName": "glhejppirkiamgxxro", + "authenticationIdentity": { + "tenantId": "uwceuawplakwjswbvllffbsz", + "applicationId": "dibfqwjrnzikktkwe", + "objectId": "xfhhdosr", + "audience": "yrfxszjhkczoyfi", + "aadAuthority": "isbicanvfefdaci" + }, + "isResponsive": true, + "lastHeartbeat": "2023-01-24T09:33:21.619Z", + "versionNumber": "qqmdkznttd", + "provisioningState": "Canceled", + "healthErrors": [ + { + "affectedResourceType": "xssq", + "affectedResourceCorrelationIds": [ + "wtucifuccildj" + ], + "childErrors": [ + { + "id": "jvwflcnwvlqwvmr", + "code": "zuvywsndznfq", + "healthCategory": "rzet", + "category": "ggvzo", + "severity": "vaf", + "source": "hzygxkktcjnafnusdndoukyxp", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "pcghybpilafzkoitsniduzubf", + "message": "zrggie", + "causes": "hgjszh", + "recommendation": "mghdbkeldgomzrhshz" + } + ], + "id": "ofiqmyuh", + "code": "ufsfaxfksjxu", + "healthCategory": "wdcnvrzuqvnfamzwxamrlofajlbxya", + "category": "apkwsicsnhedlqmu", + "severity": "sadbfjcqiom", + "source": "hcjdggdbjnogme", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "oppswboqrqhhxvzk", + "message": "ipggpyzwbmifnuehekkvhammin", + "causes": "xroezoejvidtni", + "recommendation": "nywcbkdlsmxllsdsvawjvfcpjsntl" + } + ], + "customProperties": { + "instanceType": "IISWorkload" + } + }, + "id": "bjmro", + "name": "icysfvhjjgwhxx", + "type": "uqhwlmmigjsra", + "systemData": { + "createdBy": "hgfokdrrdbggphhoz", + "createdByType": "wgljjdulrjrjlhlalkdwaqxefsbgtw", + "createdAt": "2023-01-24T09:33:21.620Z", + "lastModifiedBy": "yenkcinirlkkskendnm", + "lastModifiedByType": "ijogaskmjjqhpdjtmiize", + "lastModifiedAt": "2023-01-24T09:33:21.620Z" + }, + "tags": { + "key5560": "jgffrfcgjrm" + } + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Create_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Create_MinimumSet_Gen.json new file mode 100644 index 000000000000..ae559d4f87e0 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Create_MinimumSet_Gen.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "l77ak", + "agentName": "e85v", + "api-version": "2022-05-01-preview" + }, + "responses": { + "201": { + "body": {} + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Delete_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..47083ab5f047 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Delete_MaximumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "eg", + "agentName": "m", + "api-version": "2022-05-01-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Delete_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..45552fd9be6c --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Delete_MinimumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "zw1hy5", + "agentName": "cm", + "api-version": "2022-05-01-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Get_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..5f81cb0ee380 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Get_MaximumSet_Gen.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "wp5", + "agentName": "g4j", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "correlationId": "aivwmxdmrcokskqsbeeduwdenaedrf", + "machineId": "sihoniqzqfz", + "machineName": "glhejppirkiamgxxro", + "authenticationIdentity": { + "tenantId": "uwceuawplakwjswbvllffbsz", + "applicationId": "dibfqwjrnzikktkwe", + "objectId": "xfhhdosr", + "audience": "yrfxszjhkczoyfi", + "aadAuthority": "isbicanvfefdaci" + }, + "isResponsive": true, + "lastHeartbeat": "2023-01-24T09:33:21.619Z", + "versionNumber": "qqmdkznttd", + "provisioningState": "Canceled", + "healthErrors": [ + { + "affectedResourceType": "xssq", + "affectedResourceCorrelationIds": [ + "wtucifuccildj" + ], + "childErrors": [ + { + "id": "jvwflcnwvlqwvmr", + "code": "zuvywsndznfq", + "healthCategory": "rzet", + "category": "ggvzo", + "severity": "vaf", + "source": "hzygxkktcjnafnusdndoukyxp", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "pcghybpilafzkoitsniduzubf", + "message": "zrggie", + "causes": "hgjszh", + "recommendation": "mghdbkeldgomzrhshz" + } + ], + "id": "ofiqmyuh", + "code": "ufsfaxfksjxu", + "healthCategory": "wdcnvrzuqvnfamzwxamrlofajlbxya", + "category": "apkwsicsnhedlqmu", + "severity": "sadbfjcqiom", + "source": "hcjdggdbjnogme", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "oppswboqrqhhxvzk", + "message": "ipggpyzwbmifnuehekkvhammin", + "causes": "xroezoejvidtni", + "recommendation": "nywcbkdlsmxllsdsvawjvfcpjsntl" + } + ], + "customProperties": { + "instanceType": "IISWorkload" + } + }, + "id": "bjmro", + "name": "icysfvhjjgwhxx", + "type": "uqhwlmmigjsra", + "systemData": { + "createdBy": "hgfokdrrdbggphhoz", + "createdByType": "wgljjdulrjrjlhlalkdwaqxefsbgtw", + "createdAt": "2023-01-24T09:33:21.620Z", + "lastModifiedBy": "yenkcinirlkkskendnm", + "lastModifiedByType": "ijogaskmjjqhpdjtmiize", + "lastModifiedAt": "2023-01-24T09:33:21.620Z" + }, + "tags": { + "key5560": "jgffrfcgjrm" + } + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Get_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..2e84f12e0f8a --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Get_MinimumSet_Gen.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "i", + "agentName": "ha5ru", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_List_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..ad134ab4fcab --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_List_MaximumSet_Gen.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "p", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "correlationId": "aivwmxdmrcokskqsbeeduwdenaedrf", + "machineId": "sihoniqzqfz", + "machineName": "glhejppirkiamgxxro", + "authenticationIdentity": { + "tenantId": "uwceuawplakwjswbvllffbsz", + "applicationId": "dibfqwjrnzikktkwe", + "objectId": "xfhhdosr", + "audience": "yrfxszjhkczoyfi", + "aadAuthority": "isbicanvfefdaci" + }, + "isResponsive": true, + "lastHeartbeat": "2023-01-24T09:33:21.619Z", + "versionNumber": "qqmdkznttd", + "provisioningState": "Canceled", + "healthErrors": [ + { + "affectedResourceType": "xssq", + "affectedResourceCorrelationIds": [ + "wtucifuccildj" + ], + "childErrors": [ + { + "id": "jvwflcnwvlqwvmr", + "code": "zuvywsndznfq", + "healthCategory": "rzet", + "category": "ggvzo", + "severity": "vaf", + "source": "hzygxkktcjnafnusdndoukyxp", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "pcghybpilafzkoitsniduzubf", + "message": "zrggie", + "causes": "hgjszh", + "recommendation": "mghdbkeldgomzrhshz" + } + ], + "id": "ofiqmyuh", + "code": "ufsfaxfksjxu", + "healthCategory": "wdcnvrzuqvnfamzwxamrlofajlbxya", + "category": "apkwsicsnhedlqmu", + "severity": "sadbfjcqiom", + "source": "hcjdggdbjnogme", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "oppswboqrqhhxvzk", + "message": "ipggpyzwbmifnuehekkvhammin", + "causes": "xroezoejvidtni", + "recommendation": "nywcbkdlsmxllsdsvawjvfcpjsntl" + } + ], + "customProperties": { + "instanceType": "IISWorkload" + } + }, + "id": "bjmro", + "name": "icysfvhjjgwhxx", + "type": "uqhwlmmigjsra", + "systemData": { + "createdBy": "hgfokdrrdbggphhoz", + "createdByType": "wgljjdulrjrjlhlalkdwaqxefsbgtw", + "createdAt": "2023-01-24T09:33:21.620Z", + "lastModifiedBy": "yenkcinirlkkskendnm", + "lastModifiedByType": "ijogaskmjjqhpdjtmiize", + "lastModifiedAt": "2023-01-24T09:33:21.620Z" + }, + "tags": { + "key5560": "jgffrfcgjrm" + } + } + ], + "nextLink": "tpsrkmqqdnamjdhww" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_List_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..26686cefd2bc --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_List_MinimumSet_Gen.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "v3", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Refresh_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Refresh_MaximumSet_Gen.json new file mode 100644 index 000000000000..6a5fd796f773 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Refresh_MaximumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "koy", + "agentName": "y4", + "api-version": "2022-05-01-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Refresh_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Refresh_MinimumSet_Gen.json new file mode 100644 index 000000000000..8c27196a2c13 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/MigrateAgent_Refresh_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "o2mb1", + "agentName": "j0", + "api-version": "2022-05-01-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProjectOperationStatus_Get_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProjectOperationStatus_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..6447e56444ea --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProjectOperationStatus_Get_MaximumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "tk5k", + "operationId": "vcwmbymmshcf", + "OperationType": "boptg", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "jgqitwpxtxk", + "name": "uyfnwey", + "status": "khffzhqwigjqyxlijuzdsy", + "startTime": "pczzugftmougphynzofsxaj", + "endTime": "sjrmdhmfwplekzezydk" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProjectOperationStatus_Get_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProjectOperationStatus_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..cda7c0ea7a51 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProjectOperationStatus_Get_MinimumSet_Gen.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "q0", + "operationId": "gitivknqofnqdkhemkkwphvt", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProjectStatistics_Get_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProjectStatistics_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..8e9acea380c7 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProjectStatistics_Get_MaximumSet_Gen.json @@ -0,0 +1,142 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "i", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "workloadDeploymentStatistics": { + "healthErrors": [ + { + "affectedResourceType": "xssq", + "affectedResourceCorrelationIds": [ + "wtucifuccildj" + ], + "childErrors": [ + { + "id": "jvwflcnwvlqwvmr", + "code": "zuvywsndznfq", + "healthCategory": "rzet", + "category": "ggvzo", + "severity": "vaf", + "source": "hzygxkktcjnafnusdndoukyxp", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "pcghybpilafzkoitsniduzubf", + "message": "zrggie", + "causes": "hgjszh", + "recommendation": "mghdbkeldgomzrhshz" + } + ], + "id": "ofiqmyuh", + "code": "ufsfaxfksjxu", + "healthCategory": "wdcnvrzuqvnfamzwxamrlofajlbxya", + "category": "apkwsicsnhedlqmu", + "severity": "sadbfjcqiom", + "source": "hcjdggdbjnogme", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "oppswboqrqhhxvzk", + "message": "ipggpyzwbmifnuehekkvhammin", + "causes": "xroezoejvidtni", + "recommendation": "nywcbkdlsmxllsdsvawjvfcpjsntl" + } + ], + "count": 28, + "categorizedCounts": { + "key6871": 26 + } + }, + "jobStatistics": { + "count": 12, + "categorizedCounts": { + "key4230": 9 + } + }, + "workloadInstanceStatistics": { + "healthErrors": [ + { + "affectedResourceType": "xssq", + "affectedResourceCorrelationIds": [ + "wtucifuccildj" + ], + "childErrors": [ + { + "id": "jvwflcnwvlqwvmr", + "code": "zuvywsndznfq", + "healthCategory": "rzet", + "category": "ggvzo", + "severity": "vaf", + "source": "hzygxkktcjnafnusdndoukyxp", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "pcghybpilafzkoitsniduzubf", + "message": "zrggie", + "causes": "hgjszh", + "recommendation": "mghdbkeldgomzrhshz" + } + ], + "id": "ofiqmyuh", + "code": "ufsfaxfksjxu", + "healthCategory": "wdcnvrzuqvnfamzwxamrlofajlbxya", + "category": "apkwsicsnhedlqmu", + "severity": "sadbfjcqiom", + "source": "hcjdggdbjnogme", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "oppswboqrqhhxvzk", + "message": "ipggpyzwbmifnuehekkvhammin", + "causes": "xroezoejvidtni", + "recommendation": "nywcbkdlsmxllsdsvawjvfcpjsntl" + } + ], + "count": 25, + "categorizedCounts": { + "key7563": 27 + } + }, + "modernizeProjectErrors": [ + { + "affectedResourceType": "xssq", + "affectedResourceCorrelationIds": [ + "wtucifuccildj" + ], + "childErrors": [ + { + "id": "jvwflcnwvlqwvmr", + "code": "zuvywsndznfq", + "healthCategory": "rzet", + "category": "ggvzo", + "severity": "vaf", + "source": "hzygxkktcjnafnusdndoukyxp", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "pcghybpilafzkoitsniduzubf", + "message": "zrggie", + "causes": "hgjszh", + "recommendation": "mghdbkeldgomzrhshz" + } + ], + "id": "ofiqmyuh", + "code": "ufsfaxfksjxu", + "healthCategory": "wdcnvrzuqvnfamzwxamrlofajlbxya", + "category": "apkwsicsnhedlqmu", + "severity": "sadbfjcqiom", + "source": "hcjdggdbjnogme", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "oppswboqrqhhxvzk", + "message": "ipggpyzwbmifnuehekkvhammin", + "causes": "xroezoejvidtni", + "recommendation": "nywcbkdlsmxllsdsvawjvfcpjsntl" + } + ] + } + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProjectStatistics_Get_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProjectStatistics_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..897d189f7c35 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProjectStatistics_Get_MinimumSet_Gen.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "w03ky", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Create_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..5a4b99c7e320 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Create_MaximumSet_Gen.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "b", + "api-version": "2022-05-01-preview", + "body": { + "location": "nbqyuxrgrlhx", + "properties": { + "migrationConfiguration": { + "storageAccountResourceId": "dgcoticysafrpynyoxkgrspooiia", + "keyVaultResourceId": "vekhittkyogvwnqmggknv", + "migrationSolutionResourceId": "bglfkwtzvqmhwpddwpvtdzaleaioxo" + } + }, + "identity": { + "principalId": "ins", + "tenantId": "fjnu", + "type": "None", + "userAssignedIdentities": { + "key6848": { + "principalId": "lumkynazsspljxiiwvz", + "clientId": "lvlngepacjdjryqmxuvfdxwtkc" + } + } + }, + "tags": { + "key8644": "wfyi" + } + } + }, + "responses": { + "201": { + "body": { + "location": "nbqyuxrgrlhx", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "ddzkwzqogb", + "serviceEndpoint": "chyksppv", + "migrationConfiguration": { + "storageAccountResourceId": "dgcoticysafrpynyoxkgrspooiia", + "keyVaultResourceId": "vekhittkyogvwnqmggknv", + "migrationSolutionResourceId": "bglfkwtzvqmhwpddwpvtdzaleaioxo" + } + }, + "identity": { + "principalId": "ins", + "tenantId": "fjnu", + "type": "None", + "userAssignedIdentities": { + "key6848": { + "principalId": "lumkynazsspljxiiwvz", + "clientId": "lvlngepacjdjryqmxuvfdxwtkc" + } + } + }, + "id": "lkjycagzvem", + "name": "qjtgfttacnihw", + "type": "hthqrdzzfjxxz", + "systemData": { + "createdBy": "wy", + "createdByType": "tusbvanyciqzsmxxsgtq", + "createdAt": "2023-01-24T09:33:24.942Z", + "lastModifiedBy": "iswewfoqublzdfjczshraau", + "lastModifiedByType": "iduvzounkdnzloeoyngurc", + "lastModifiedAt": "2023-01-24T09:33:24.942Z" + }, + "tags": { + "key8644": "wfyi" + } + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Create_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Create_MinimumSet_Gen.json new file mode 100644 index 000000000000..e10a8b17c0e3 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Create_MinimumSet_Gen.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "j", + "api-version": "2022-05-01-preview" + }, + "responses": { + "201": { + "body": {} + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Delete_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..721422cbac99 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Delete_MaximumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "w51d", + "api-version": "2022-05-01-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Delete_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..402719ee23ac --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Delete_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "s3n29", + "api-version": "2022-05-01-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Get_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..6f5425b99781 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Get_MaximumSet_Gen.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "m47i", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": { + "location": "nbqyuxrgrlhx", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "ddzkwzqogb", + "serviceEndpoint": "chyksppv", + "migrationConfiguration": { + "storageAccountResourceId": "dgcoticysafrpynyoxkgrspooiia", + "keyVaultResourceId": "vekhittkyogvwnqmggknv", + "migrationSolutionResourceId": "bglfkwtzvqmhwpddwpvtdzaleaioxo" + } + }, + "identity": { + "principalId": "ins", + "tenantId": "fjnu", + "type": "None", + "userAssignedIdentities": { + "key6848": { + "principalId": "lumkynazsspljxiiwvz", + "clientId": "lvlngepacjdjryqmxuvfdxwtkc" + } + } + }, + "id": "lkjycagzvem", + "name": "qjtgfttacnihw", + "type": "hthqrdzzfjxxz", + "systemData": { + "createdBy": "wy", + "createdByType": "tusbvanyciqzsmxxsgtq", + "createdAt": "2023-01-24T09:33:24.942Z", + "lastModifiedBy": "iswewfoqublzdfjczshraau", + "lastModifiedByType": "iduvzounkdnzloeoyngurc", + "lastModifiedAt": "2023-01-24T09:33:24.942Z" + }, + "tags": { + "key8644": "wfyi" + } + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Get_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..eaa4b460b0fd --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Get_MinimumSet_Gen.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "j453k", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_ListBySubscription_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..39d800e7d95d --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "continuationToken": "rqsn", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "nbqyuxrgrlhx", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "ddzkwzqogb", + "serviceEndpoint": "chyksppv", + "migrationConfiguration": { + "storageAccountResourceId": "dgcoticysafrpynyoxkgrspooiia", + "keyVaultResourceId": "vekhittkyogvwnqmggknv", + "migrationSolutionResourceId": "bglfkwtzvqmhwpddwpvtdzaleaioxo" + } + }, + "identity": { + "principalId": "ins", + "tenantId": "fjnu", + "type": "None", + "userAssignedIdentities": { + "key6848": { + "principalId": "lumkynazsspljxiiwvz", + "clientId": "lvlngepacjdjryqmxuvfdxwtkc" + } + } + }, + "id": "lkjycagzvem", + "name": "qjtgfttacnihw", + "type": "hthqrdzzfjxxz", + "systemData": { + "createdBy": "wy", + "createdByType": "tusbvanyciqzsmxxsgtq", + "createdAt": "2023-01-24T09:33:24.942Z", + "lastModifiedBy": "iswewfoqublzdfjczshraau", + "lastModifiedByType": "iduvzounkdnzloeoyngurc", + "lastModifiedAt": "2023-01-24T09:33:24.942Z" + }, + "tags": { + "key8644": "wfyi" + } + } + ], + "nextLink": "wmijjubqw" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_ListBySubscription_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..d6ad9be42ff6 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_List_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..b5d26dff2d25 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_List_MaximumSet_Gen.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "continuationToken": "anjsqaqhjqhfiksoajfzl", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "nbqyuxrgrlhx", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "ddzkwzqogb", + "serviceEndpoint": "chyksppv", + "migrationConfiguration": { + "storageAccountResourceId": "dgcoticysafrpynyoxkgrspooiia", + "keyVaultResourceId": "vekhittkyogvwnqmggknv", + "migrationSolutionResourceId": "bglfkwtzvqmhwpddwpvtdzaleaioxo" + } + }, + "identity": { + "principalId": "ins", + "tenantId": "fjnu", + "type": "None", + "userAssignedIdentities": { + "key6848": { + "principalId": "lumkynazsspljxiiwvz", + "clientId": "lvlngepacjdjryqmxuvfdxwtkc" + } + } + }, + "id": "lkjycagzvem", + "name": "qjtgfttacnihw", + "type": "hthqrdzzfjxxz", + "systemData": { + "createdBy": "wy", + "createdByType": "tusbvanyciqzsmxxsgtq", + "createdAt": "2023-01-24T09:33:24.942Z", + "lastModifiedBy": "iswewfoqublzdfjczshraau", + "lastModifiedByType": "iduvzounkdnzloeoyngurc", + "lastModifiedAt": "2023-01-24T09:33:24.942Z" + }, + "tags": { + "key8644": "wfyi" + } + } + ], + "nextLink": "wmijjubqw" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_List_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..af0b5a647496 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_List_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Update_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..269ff718f304 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Update_MaximumSet_Gen.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "gfb4", + "api-version": "2022-05-01-preview", + "body": { + "tags": { + "key8017": "ormem" + }, + "identity": { + "principalId": "ins", + "tenantId": "fjnu", + "type": "None", + "userAssignedIdentities": { + "key6848": { + "principalId": "lumkynazsspljxiiwvz", + "clientId": "lvlngepacjdjryqmxuvfdxwtkc" + } + } + } + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": { + "location": "nbqyuxrgrlhx", + "properties": { + "provisioningState": "Canceled", + "serviceResourceId": "ddzkwzqogb", + "serviceEndpoint": "chyksppv", + "migrationConfiguration": { + "storageAccountResourceId": "dgcoticysafrpynyoxkgrspooiia", + "keyVaultResourceId": "vekhittkyogvwnqmggknv", + "migrationSolutionResourceId": "bglfkwtzvqmhwpddwpvtdzaleaioxo" + } + }, + "identity": { + "principalId": "ins", + "tenantId": "fjnu", + "type": "None", + "userAssignedIdentities": { + "key6848": { + "principalId": "lumkynazsspljxiiwvz", + "clientId": "lvlngepacjdjryqmxuvfdxwtkc" + } + } + }, + "id": "lkjycagzvem", + "name": "qjtgfttacnihw", + "type": "hthqrdzzfjxxz", + "systemData": { + "createdBy": "wy", + "createdByType": "tusbvanyciqzsmxxsgtq", + "createdAt": "2023-01-24T09:33:24.942Z", + "lastModifiedBy": "iswewfoqublzdfjczshraau", + "lastModifiedByType": "iduvzounkdnzloeoyngurc", + "lastModifiedAt": "2023-01-24T09:33:24.942Z" + }, + "tags": { + "key8644": "wfyi" + } + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Update_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..745b32fcf0a1 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/ModernizeProject_Update_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "n", + "api-version": "2022-05-01-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + }, + "body": {} + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Operations_List_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..6fc36be3cc8a --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "somanoqzzffvkyyeuggifelpekat", + "isDataAction": true, + "display": { + "provider": "ptyenjgjxgusua", + "resource": "tukrlapaoatkgyj", + "operation": "twajgqiuylfbzll", + "description": "ptf" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "kwunh" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Operations_List_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Operations_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..af3e219c74e3 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Operations_List_MinimumSet_Gen.json @@ -0,0 +1,10 @@ +{ + "parameters": { + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkflowOperationStatus_Get_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkflowOperationStatus_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..3f95291c7a3c --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkflowOperationStatus_Get_MaximumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "wqd", + "workflowName": "q7f", + "operationId": "jcaifne", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "jgqitwpxtxk", + "name": "uyfnwey", + "status": "khffzhqwigjqyxlijuzdsy", + "startTime": "pczzugftmougphynzofsxaj", + "endTime": "sjrmdhmfwplekzezydk" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkflowOperationStatus_Get_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkflowOperationStatus_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..79ca142a35b4 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkflowOperationStatus_Get_MinimumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "ve", + "workflowName": "e5", + "operationId": "bwrgscm", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Workflow_Get_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Workflow_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..bbf847dd5aa8 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Workflow_Get_MaximumSet_Gen.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "hc5", + "workflowName": "cck5", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "displayName": "eguwlcfbmorazt", + "state": "Pending", + "startTime": "2023-01-24T09:33:32.423Z", + "endTime": "2023-01-24T09:33:32.423Z", + "objectId": "iohgvjjpglwqejwongfzyspa", + "objectName": "tuzaliwwct", + "objectInternalId": "atmkftuucnjx", + "objectInternalName": "rexbgriwoawxzxtizbtyjecdyohv", + "objectType": "ModernizeProject", + "workloadInstanceProviderId": "yrmccwkxmjdwsjfzbtlcnanpernzs", + "workloadDeploymentProviderId": "vhs", + "allowedActions": [ + "jrr" + ], + "activityId": "rtn", + "tasks": [ + { + "id": "bnhdlfsqffpxlodjdbdaheohmitkgh", + "taskName": "ixtniibnoxcdwiygqdsbqzx", + "state": "Pending", + "startTime": "2023-01-24T09:33:32.423Z", + "endTime": "2023-01-24T09:33:32.423Z", + "customProperties": { + "instanceType": "rdxheayfouexznjkcvxwyyyntw" + } + } + ], + "errors": [ + { + "id": "hcubxvumfxynczfyxotuwjoukdo", + "code": "cwmcbptjgdlgdkmfdvgpxz", + "type": "zwvmmgs", + "severity": "slktf", + "creationTime": "2023-01-24T09:33:32.423Z", + "message": "ddcntrsjjppeswqrdtnirmu", + "causes": "dmtwaqfmbhnzitbvtivvrpzgmb", + "recommendation": "jysudhcue" + } + ], + "customProperties": { + "instanceType": "SampleWorkflow", + "affectedObjectDetails": { + "key5568": "xrtsewzycvbmj" + } + } + }, + "id": "hfdliyanefbl", + "name": "vxjbyxp", + "type": "ikihjajtnqeacqlhr", + "systemData": { + "createdBy": "hujjhqnwywy", + "createdByType": "kxdmedwqpnfsquwsnxmzwjyzm", + "createdAt": "2023-01-24T09:33:32.423Z", + "lastModifiedBy": "jeeveefvrhcczxpolkapgrqunu", + "lastModifiedByType": "dhtk", + "lastModifiedAt": "2023-01-24T09:33:32.423Z" + }, + "tags": { + "key7844": "olhlfmehjwai" + } + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Workflow_Get_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Workflow_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..cfca779640e9 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Workflow_Get_MinimumSet_Gen.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "x8", + "workflowName": "wi71tan4", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Workflow_List_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Workflow_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..d41c28aea7f1 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Workflow_List_MaximumSet_Gen.json @@ -0,0 +1,82 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "mo", + "$filter": "uiamyygybsvsborrhtvnylpuu", + "continuationToken": "xnexbtwnixreeh", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "displayName": "eguwlcfbmorazt", + "state": "Pending", + "startTime": "2023-01-24T09:33:32.423Z", + "endTime": "2023-01-24T09:33:32.423Z", + "objectId": "iohgvjjpglwqejwongfzyspa", + "objectName": "tuzaliwwct", + "objectInternalId": "atmkftuucnjx", + "objectInternalName": "rexbgriwoawxzxtizbtyjecdyohv", + "objectType": "ModernizeProject", + "workloadInstanceProviderId": "yrmccwkxmjdwsjfzbtlcnanpernzs", + "workloadDeploymentProviderId": "vhs", + "allowedActions": [ + "jrr" + ], + "activityId": "rtn", + "tasks": [ + { + "id": "bnhdlfsqffpxlodjdbdaheohmitkgh", + "taskName": "ixtniibnoxcdwiygqdsbqzx", + "state": "Pending", + "startTime": "2023-01-24T09:33:32.423Z", + "endTime": "2023-01-24T09:33:32.423Z", + "customProperties": { + "instanceType": "rdxheayfouexznjkcvxwyyyntw" + } + } + ], + "errors": [ + { + "id": "hcubxvumfxynczfyxotuwjoukdo", + "code": "cwmcbptjgdlgdkmfdvgpxz", + "type": "zwvmmgs", + "severity": "slktf", + "creationTime": "2023-01-24T09:33:32.423Z", + "message": "ddcntrsjjppeswqrdtnirmu", + "causes": "dmtwaqfmbhnzitbvtivvrpzgmb", + "recommendation": "jysudhcue" + } + ], + "customProperties": { + "instanceType": "SampleWorkflow", + "affectedObjectDetails": { + "key5568": "xrtsewzycvbmj" + } + } + }, + "id": "hfdliyanefbl", + "name": "vxjbyxp", + "type": "ikihjajtnqeacqlhr", + "systemData": { + "createdBy": "hujjhqnwywy", + "createdByType": "kxdmedwqpnfsquwsnxmzwjyzm", + "createdAt": "2023-01-24T09:33:32.423Z", + "lastModifiedBy": "jeeveefvrhcczxpolkapgrqunu", + "lastModifiedByType": "dhtk", + "lastModifiedAt": "2023-01-24T09:33:32.423Z" + }, + "tags": { + "key7844": "olhlfmehjwai" + } + } + ], + "nextLink": "pmxtwpnyea" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Workflow_List_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Workflow_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..0ef940c005f6 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/Workflow_List_MinimumSet_Gen.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "cn", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeploymentOperationStatus_Get_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeploymentOperationStatus_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..6f2080396abf --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeploymentOperationStatus_Get_MaximumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "i0", + "workloadDeploymentName": "x6", + "operationId": "fao", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "jgqitwpxtxk", + "name": "uyfnwey", + "status": "khffzhqwigjqyxlijuzdsy", + "startTime": "pczzugftmougphynzofsxaj", + "endTime": "sjrmdhmfwplekzezydk" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeploymentOperationStatus_Get_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeploymentOperationStatus_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..f76d4171590e --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeploymentOperationStatus_Get_MinimumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "n5f0b7", + "workloadDeploymentName": "pj15", + "operationId": "vtgwxe", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_BuildContainerImage_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_BuildContainerImage_MaximumSet_Gen.json new file mode 100644 index 000000000000..87620d04a6f6 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_BuildContainerImage_MaximumSet_Gen.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "f", + "workloadDeploymentName": "j", + "api-version": "2022-05-01-preview", + "body": { + "properties": { + "dockerfile": "sjpprawcsxggzogxhvzn", + "registryProperties": { + "registryName": "tnzhskcravzwlokqqxyqmn", + "tenantId": "vetsklcmqevv", + "subscriptionId": "ibaapautcgvob", + "resourceGroup": "p" + }, + "imageTag": "pbvlnivxnxlggfpizwsjaqkhhs", + "imageName": "tdheuxcovbynrnuzassvqdu", + "runId": "rweyh", + "runStatus": "pxttxleqrzvuqtsmvpklkixfsn" + } + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_BuildContainerImage_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_BuildContainerImage_MinimumSet_Gen.json new file mode 100644 index 000000000000..3a12ac9cdcfa --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_BuildContainerImage_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "n8r", + "workloadDeploymentName": "cn1t", + "api-version": "2022-05-01-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Create_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..fe805ffd77c7 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Create_MaximumSet_Gen.json @@ -0,0 +1,185 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "l6r8", + "workloadDeploymentName": "l4t", + "api-version": "2022-05-01-preview", + "body": { + "properties": { + "displayName": "wqe", + "targetPlatform": "AzureKubernetesService", + "workloadInstanceProperties": { + "name": "wonkuhgsafzviuwqerzdmme", + "migrateAgentId": "aqgzsxqbk", + "displayName": "juoorbubchvk", + "sourcePlatform": "eh", + "sourceName": "weuxcqzwpeyzsjhdgqflhxlwjhbz", + "masterSiteName": "ubks", + "customProperties": { + "instanceType": "IISWorkload", + "webAppArmId": "xseseqsrzdiga", + "webAppSiteName": "mirgzmy" + } + }, + "customProperties": { + "instanceType": "IISAKSWorkloadDeployment" + } + }, + "tags": { + "key8241": "gcyxztzr" + } + } + }, + "responses": { + "201": { + "body": { + "properties": { + "provisioningState": "Canceled", + "status": "None", + "statusDescription": "jifvcrwovhwgskbumtebfbsdoo", + "testMigrationStatus": "None", + "testMigrationStatusDescription": "wpsowyctqtko", + "migrationStatus": "None", + "migrationStatusDescription": "qbbsrrddcuigrbppcppdcp", + "displayName": "wqe", + "targetPlatform": "AzureKubernetesService", + "workloadInstanceProperties": { + "name": "wonkuhgsafzviuwqerzdmme", + "provisioningState": "Canceled", + "migrateAgentId": "aqgzsxqbk", + "displayName": "juoorbubchvk", + "sourcePlatform": "eh", + "sourceName": "weuxcqzwpeyzsjhdgqflhxlwjhbz", + "replicationHealth": "Normal", + "replicationStatus": "None", + "replicationStatusDescription": "naut", + "lastSuccessfulReplicationCycleTime": "2023-01-24T09:33:35.386Z", + "healthErrors": [ + { + "affectedResourceType": "xssq", + "affectedResourceCorrelationIds": [ + "wtucifuccildj" + ], + "childErrors": [ + { + "id": "jvwflcnwvlqwvmr", + "code": "zuvywsndznfq", + "healthCategory": "rzet", + "category": "ggvzo", + "severity": "vaf", + "source": "hzygxkktcjnafnusdndoukyxp", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "pcghybpilafzkoitsniduzubf", + "message": "zrggie", + "causes": "hgjszh", + "recommendation": "mghdbkeldgomzrhshz" + } + ], + "id": "ofiqmyuh", + "code": "ufsfaxfksjxu", + "healthCategory": "wdcnvrzuqvnfamzwxamrlofajlbxya", + "category": "apkwsicsnhedlqmu", + "severity": "sadbfjcqiom", + "source": "hcjdggdbjnogme", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "oppswboqrqhhxvzk", + "message": "ipggpyzwbmifnuehekkvhammin", + "causes": "xroezoejvidtni", + "recommendation": "nywcbkdlsmxllsdsvawjvfcpjsntl" + } + ], + "currentJob": { + "scenarioName": "f", + "id": "fctiznagbvtonm", + "name": "ucyhmgsnkb", + "displayName": "tzirwcymdyggbbry", + "state": "mqbfghricdulot", + "startTime": "2023-01-24T09:33:35.386Z", + "endTime": "2023-01-24T09:33:35.386Z" + }, + "allowedOperations": [ + "gafhxcryrocxihzqsscjycuwcgtpk" + ], + "masterSiteName": "ubks", + "customProperties": { + "instanceType": "IISWorkload", + "webAppArmId": "xseseqsrzdiga", + "webAppSiteName": "mirgzmy" + } + }, + "correlationId": "di", + "lastSuccessfulMigrateTime": "2023-01-24T09:33:35.386Z", + "lastSuccessfulTestMigrateTime": "2023-01-24T09:33:35.386Z", + "currentJob": { + "scenarioName": "bm", + "id": "jh", + "name": "dzpglkgd", + "displayName": "buqqxkeb", + "state": "dwvwwairbuahksuuqq", + "startTime": "2023-01-24T09:33:35.386Z", + "endTime": "2023-01-24T09:33:35.386Z" + }, + "allowedOperations": [ + "EnableReplication" + ], + "healthErrors": [ + { + "affectedResourceType": "xssq", + "affectedResourceCorrelationIds": [ + "wtucifuccildj" + ], + "childErrors": [ + { + "id": "jvwflcnwvlqwvmr", + "code": "zuvywsndznfq", + "healthCategory": "rzet", + "category": "ggvzo", + "severity": "vaf", + "source": "hzygxkktcjnafnusdndoukyxp", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "pcghybpilafzkoitsniduzubf", + "message": "zrggie", + "causes": "hgjszh", + "recommendation": "mghdbkeldgomzrhshz" + } + ], + "id": "ofiqmyuh", + "code": "ufsfaxfksjxu", + "healthCategory": "wdcnvrzuqvnfamzwxamrlofajlbxya", + "category": "apkwsicsnhedlqmu", + "severity": "sadbfjcqiom", + "source": "hcjdggdbjnogme", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "oppswboqrqhhxvzk", + "message": "ipggpyzwbmifnuehekkvhammin", + "causes": "xroezoejvidtni", + "recommendation": "nywcbkdlsmxllsdsvawjvfcpjsntl" + } + ], + "customProperties": { + "instanceType": "IISAKSWorkloadDeployment" + } + }, + "id": "jvwgspagsnmigxvl", + "name": "obqwiueoajtezyusejl", + "type": "yuskckbugfy", + "systemData": { + "createdBy": "nectgwfefwdpricqhupccnt", + "createdByType": "ttzwiapmukndmjebgobbfnhgfxxcqn", + "createdAt": "2023-01-24T09:33:35.387Z", + "lastModifiedBy": "mpw", + "lastModifiedByType": "jgqeughbtzs", + "lastModifiedAt": "2023-01-24T09:33:35.387Z" + }, + "tags": { + "key8241": "gcyxztzr" + } + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Create_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Create_MinimumSet_Gen.json new file mode 100644 index 000000000000..0b2cb4268bfd --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Create_MinimumSet_Gen.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "tc", + "workloadDeploymentName": "wo2rs4", + "api-version": "2022-05-01-preview" + }, + "responses": { + "201": { + "body": {} + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Delete_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..8330f2841437 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Delete_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "b27467", + "workloadDeploymentName": "o35uo", + "forceDelete": true, + "api-version": "2022-05-01-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Delete_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..3ffcca9e02fb --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Delete_MinimumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "q953", + "workloadDeploymentName": "e", + "api-version": "2022-05-01-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_GetSecretConfigurations_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_GetSecretConfigurations_MaximumSet_Gen.json new file mode 100644 index 000000000000..38715b95fb35 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_GetSecretConfigurations_MaximumSet_Gen.json @@ -0,0 +1,160 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "widk", + "workloadDeploymentName": "l3", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Canceled", + "status": "None", + "statusDescription": "jifvcrwovhwgskbumtebfbsdoo", + "testMigrationStatus": "None", + "testMigrationStatusDescription": "wpsowyctqtko", + "migrationStatus": "None", + "migrationStatusDescription": "qbbsrrddcuigrbppcppdcp", + "displayName": "wqe", + "targetPlatform": "AzureKubernetesService", + "workloadInstanceProperties": { + "name": "wonkuhgsafzviuwqerzdmme", + "provisioningState": "Canceled", + "migrateAgentId": "aqgzsxqbk", + "displayName": "juoorbubchvk", + "sourcePlatform": "eh", + "sourceName": "weuxcqzwpeyzsjhdgqflhxlwjhbz", + "replicationHealth": "Normal", + "replicationStatus": "None", + "replicationStatusDescription": "naut", + "lastSuccessfulReplicationCycleTime": "2023-01-24T09:33:35.386Z", + "healthErrors": [ + { + "affectedResourceType": "xssq", + "affectedResourceCorrelationIds": [ + "wtucifuccildj" + ], + "childErrors": [ + { + "id": "jvwflcnwvlqwvmr", + "code": "zuvywsndznfq", + "healthCategory": "rzet", + "category": "ggvzo", + "severity": "vaf", + "source": "hzygxkktcjnafnusdndoukyxp", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "pcghybpilafzkoitsniduzubf", + "message": "zrggie", + "causes": "hgjszh", + "recommendation": "mghdbkeldgomzrhshz" + } + ], + "id": "ofiqmyuh", + "code": "ufsfaxfksjxu", + "healthCategory": "wdcnvrzuqvnfamzwxamrlofajlbxya", + "category": "apkwsicsnhedlqmu", + "severity": "sadbfjcqiom", + "source": "hcjdggdbjnogme", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "oppswboqrqhhxvzk", + "message": "ipggpyzwbmifnuehekkvhammin", + "causes": "xroezoejvidtni", + "recommendation": "nywcbkdlsmxllsdsvawjvfcpjsntl" + } + ], + "currentJob": { + "scenarioName": "f", + "id": "fctiznagbvtonm", + "name": "ucyhmgsnkb", + "displayName": "tzirwcymdyggbbry", + "state": "mqbfghricdulot", + "startTime": "2023-01-24T09:33:35.386Z", + "endTime": "2023-01-24T09:33:35.386Z" + }, + "allowedOperations": [ + "gafhxcryrocxihzqsscjycuwcgtpk" + ], + "masterSiteName": "ubks", + "customProperties": { + "instanceType": "IISWorkload", + "webAppArmId": "xseseqsrzdiga", + "webAppSiteName": "mirgzmy" + } + }, + "correlationId": "di", + "lastSuccessfulMigrateTime": "2023-01-24T09:33:35.386Z", + "lastSuccessfulTestMigrateTime": "2023-01-24T09:33:35.386Z", + "currentJob": { + "scenarioName": "bm", + "id": "jh", + "name": "dzpglkgd", + "displayName": "buqqxkeb", + "state": "dwvwwairbuahksuuqq", + "startTime": "2023-01-24T09:33:35.386Z", + "endTime": "2023-01-24T09:33:35.386Z" + }, + "allowedOperations": [ + "EnableReplication" + ], + "healthErrors": [ + { + "affectedResourceType": "xssq", + "affectedResourceCorrelationIds": [ + "wtucifuccildj" + ], + "childErrors": [ + { + "id": "jvwflcnwvlqwvmr", + "code": "zuvywsndznfq", + "healthCategory": "rzet", + "category": "ggvzo", + "severity": "vaf", + "source": "hzygxkktcjnafnusdndoukyxp", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "pcghybpilafzkoitsniduzubf", + "message": "zrggie", + "causes": "hgjszh", + "recommendation": "mghdbkeldgomzrhshz" + } + ], + "id": "ofiqmyuh", + "code": "ufsfaxfksjxu", + "healthCategory": "wdcnvrzuqvnfamzwxamrlofajlbxya", + "category": "apkwsicsnhedlqmu", + "severity": "sadbfjcqiom", + "source": "hcjdggdbjnogme", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "oppswboqrqhhxvzk", + "message": "ipggpyzwbmifnuehekkvhammin", + "causes": "xroezoejvidtni", + "recommendation": "nywcbkdlsmxllsdsvawjvfcpjsntl" + } + ], + "customProperties": { + "instanceType": "IISAKSWorkloadDeployment" + } + }, + "id": "jvwgspagsnmigxvl", + "name": "obqwiueoajtezyusejl", + "type": "yuskckbugfy", + "systemData": { + "createdBy": "nectgwfefwdpricqhupccnt", + "createdByType": "ttzwiapmukndmjebgobbfnhgfxxcqn", + "createdAt": "2023-01-24T09:33:35.387Z", + "lastModifiedBy": "mpw", + "lastModifiedByType": "jgqeughbtzs", + "lastModifiedAt": "2023-01-24T09:33:35.387Z" + }, + "tags": { + "key8241": "gcyxztzr" + } + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_GetSecretConfigurations_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_GetSecretConfigurations_MinimumSet_Gen.json new file mode 100644 index 000000000000..34092987a3bf --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_GetSecretConfigurations_MinimumSet_Gen.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "iu5us", + "workloadDeploymentName": "fnro", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Get_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..f7cb4e61156e --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Get_MaximumSet_Gen.json @@ -0,0 +1,160 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "h1", + "workloadDeploymentName": "gp", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Canceled", + "status": "None", + "statusDescription": "jifvcrwovhwgskbumtebfbsdoo", + "testMigrationStatus": "None", + "testMigrationStatusDescription": "wpsowyctqtko", + "migrationStatus": "None", + "migrationStatusDescription": "qbbsrrddcuigrbppcppdcp", + "displayName": "wqe", + "targetPlatform": "AzureKubernetesService", + "workloadInstanceProperties": { + "name": "wonkuhgsafzviuwqerzdmme", + "provisioningState": "Canceled", + "migrateAgentId": "aqgzsxqbk", + "displayName": "juoorbubchvk", + "sourcePlatform": "eh", + "sourceName": "weuxcqzwpeyzsjhdgqflhxlwjhbz", + "replicationHealth": "Normal", + "replicationStatus": "None", + "replicationStatusDescription": "naut", + "lastSuccessfulReplicationCycleTime": "2023-01-24T09:33:35.386Z", + "healthErrors": [ + { + "affectedResourceType": "xssq", + "affectedResourceCorrelationIds": [ + "wtucifuccildj" + ], + "childErrors": [ + { + "id": "jvwflcnwvlqwvmr", + "code": "zuvywsndznfq", + "healthCategory": "rzet", + "category": "ggvzo", + "severity": "vaf", + "source": "hzygxkktcjnafnusdndoukyxp", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "pcghybpilafzkoitsniduzubf", + "message": "zrggie", + "causes": "hgjszh", + "recommendation": "mghdbkeldgomzrhshz" + } + ], + "id": "ofiqmyuh", + "code": "ufsfaxfksjxu", + "healthCategory": "wdcnvrzuqvnfamzwxamrlofajlbxya", + "category": "apkwsicsnhedlqmu", + "severity": "sadbfjcqiom", + "source": "hcjdggdbjnogme", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "oppswboqrqhhxvzk", + "message": "ipggpyzwbmifnuehekkvhammin", + "causes": "xroezoejvidtni", + "recommendation": "nywcbkdlsmxllsdsvawjvfcpjsntl" + } + ], + "currentJob": { + "scenarioName": "f", + "id": "fctiznagbvtonm", + "name": "ucyhmgsnkb", + "displayName": "tzirwcymdyggbbry", + "state": "mqbfghricdulot", + "startTime": "2023-01-24T09:33:35.386Z", + "endTime": "2023-01-24T09:33:35.386Z" + }, + "allowedOperations": [ + "gafhxcryrocxihzqsscjycuwcgtpk" + ], + "masterSiteName": "ubks", + "customProperties": { + "instanceType": "IISWorkload", + "webAppArmId": "xseseqsrzdiga", + "webAppSiteName": "mirgzmy" + } + }, + "correlationId": "di", + "lastSuccessfulMigrateTime": "2023-01-24T09:33:35.386Z", + "lastSuccessfulTestMigrateTime": "2023-01-24T09:33:35.386Z", + "currentJob": { + "scenarioName": "bm", + "id": "jh", + "name": "dzpglkgd", + "displayName": "buqqxkeb", + "state": "dwvwwairbuahksuuqq", + "startTime": "2023-01-24T09:33:35.386Z", + "endTime": "2023-01-24T09:33:35.386Z" + }, + "allowedOperations": [ + "EnableReplication" + ], + "healthErrors": [ + { + "affectedResourceType": "xssq", + "affectedResourceCorrelationIds": [ + "wtucifuccildj" + ], + "childErrors": [ + { + "id": "jvwflcnwvlqwvmr", + "code": "zuvywsndznfq", + "healthCategory": "rzet", + "category": "ggvzo", + "severity": "vaf", + "source": "hzygxkktcjnafnusdndoukyxp", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "pcghybpilafzkoitsniduzubf", + "message": "zrggie", + "causes": "hgjszh", + "recommendation": "mghdbkeldgomzrhshz" + } + ], + "id": "ofiqmyuh", + "code": "ufsfaxfksjxu", + "healthCategory": "wdcnvrzuqvnfamzwxamrlofajlbxya", + "category": "apkwsicsnhedlqmu", + "severity": "sadbfjcqiom", + "source": "hcjdggdbjnogme", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "oppswboqrqhhxvzk", + "message": "ipggpyzwbmifnuehekkvhammin", + "causes": "xroezoejvidtni", + "recommendation": "nywcbkdlsmxllsdsvawjvfcpjsntl" + } + ], + "customProperties": { + "instanceType": "IISAKSWorkloadDeployment" + } + }, + "id": "jvwgspagsnmigxvl", + "name": "obqwiueoajtezyusejl", + "type": "yuskckbugfy", + "systemData": { + "createdBy": "nectgwfefwdpricqhupccnt", + "createdByType": "ttzwiapmukndmjebgobbfnhgfxxcqn", + "createdAt": "2023-01-24T09:33:35.387Z", + "lastModifiedBy": "mpw", + "lastModifiedByType": "jgqeughbtzs", + "lastModifiedAt": "2023-01-24T09:33:35.387Z" + }, + "tags": { + "key8241": "gcyxztzr" + } + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Get_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..b421b8998118 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Get_MinimumSet_Gen.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "ienj", + "workloadDeploymentName": "d4", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_List_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..de29269265af --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_List_MaximumSet_Gen.json @@ -0,0 +1,164 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "y7", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Canceled", + "status": "None", + "statusDescription": "jifvcrwovhwgskbumtebfbsdoo", + "testMigrationStatus": "None", + "testMigrationStatusDescription": "wpsowyctqtko", + "migrationStatus": "None", + "migrationStatusDescription": "qbbsrrddcuigrbppcppdcp", + "displayName": "wqe", + "targetPlatform": "AzureKubernetesService", + "workloadInstanceProperties": { + "name": "wonkuhgsafzviuwqerzdmme", + "provisioningState": "Canceled", + "migrateAgentId": "aqgzsxqbk", + "displayName": "juoorbubchvk", + "sourcePlatform": "eh", + "sourceName": "weuxcqzwpeyzsjhdgqflhxlwjhbz", + "replicationHealth": "Normal", + "replicationStatus": "None", + "replicationStatusDescription": "naut", + "lastSuccessfulReplicationCycleTime": "2023-01-24T09:33:35.386Z", + "healthErrors": [ + { + "affectedResourceType": "xssq", + "affectedResourceCorrelationIds": [ + "wtucifuccildj" + ], + "childErrors": [ + { + "id": "jvwflcnwvlqwvmr", + "code": "zuvywsndznfq", + "healthCategory": "rzet", + "category": "ggvzo", + "severity": "vaf", + "source": "hzygxkktcjnafnusdndoukyxp", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "pcghybpilafzkoitsniduzubf", + "message": "zrggie", + "causes": "hgjszh", + "recommendation": "mghdbkeldgomzrhshz" + } + ], + "id": "ofiqmyuh", + "code": "ufsfaxfksjxu", + "healthCategory": "wdcnvrzuqvnfamzwxamrlofajlbxya", + "category": "apkwsicsnhedlqmu", + "severity": "sadbfjcqiom", + "source": "hcjdggdbjnogme", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "oppswboqrqhhxvzk", + "message": "ipggpyzwbmifnuehekkvhammin", + "causes": "xroezoejvidtni", + "recommendation": "nywcbkdlsmxllsdsvawjvfcpjsntl" + } + ], + "currentJob": { + "scenarioName": "f", + "id": "fctiznagbvtonm", + "name": "ucyhmgsnkb", + "displayName": "tzirwcymdyggbbry", + "state": "mqbfghricdulot", + "startTime": "2023-01-24T09:33:35.386Z", + "endTime": "2023-01-24T09:33:35.386Z" + }, + "allowedOperations": [ + "gafhxcryrocxihzqsscjycuwcgtpk" + ], + "masterSiteName": "ubks", + "customProperties": { + "instanceType": "IISWorkload", + "webAppArmId": "xseseqsrzdiga", + "webAppSiteName": "mirgzmy" + } + }, + "correlationId": "di", + "lastSuccessfulMigrateTime": "2023-01-24T09:33:35.386Z", + "lastSuccessfulTestMigrateTime": "2023-01-24T09:33:35.386Z", + "currentJob": { + "scenarioName": "bm", + "id": "jh", + "name": "dzpglkgd", + "displayName": "buqqxkeb", + "state": "dwvwwairbuahksuuqq", + "startTime": "2023-01-24T09:33:35.386Z", + "endTime": "2023-01-24T09:33:35.386Z" + }, + "allowedOperations": [ + "EnableReplication" + ], + "healthErrors": [ + { + "affectedResourceType": "xssq", + "affectedResourceCorrelationIds": [ + "wtucifuccildj" + ], + "childErrors": [ + { + "id": "jvwflcnwvlqwvmr", + "code": "zuvywsndznfq", + "healthCategory": "rzet", + "category": "ggvzo", + "severity": "vaf", + "source": "hzygxkktcjnafnusdndoukyxp", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "pcghybpilafzkoitsniduzubf", + "message": "zrggie", + "causes": "hgjszh", + "recommendation": "mghdbkeldgomzrhshz" + } + ], + "id": "ofiqmyuh", + "code": "ufsfaxfksjxu", + "healthCategory": "wdcnvrzuqvnfamzwxamrlofajlbxya", + "category": "apkwsicsnhedlqmu", + "severity": "sadbfjcqiom", + "source": "hcjdggdbjnogme", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "oppswboqrqhhxvzk", + "message": "ipggpyzwbmifnuehekkvhammin", + "causes": "xroezoejvidtni", + "recommendation": "nywcbkdlsmxllsdsvawjvfcpjsntl" + } + ], + "customProperties": { + "instanceType": "IISAKSWorkloadDeployment" + } + }, + "id": "jvwgspagsnmigxvl", + "name": "obqwiueoajtezyusejl", + "type": "yuskckbugfy", + "systemData": { + "createdBy": "nectgwfefwdpricqhupccnt", + "createdByType": "ttzwiapmukndmjebgobbfnhgfxxcqn", + "createdAt": "2023-01-24T09:33:35.387Z", + "lastModifiedBy": "mpw", + "lastModifiedByType": "jgqeughbtzs", + "lastModifiedAt": "2023-01-24T09:33:35.387Z" + }, + "tags": { + "key8241": "gcyxztzr" + } + } + ], + "nextLink": "szebezhdyywwopimndlvsasmg" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_List_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..6734070a944b --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_List_MinimumSet_Gen.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "hvb69", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Migrate_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Migrate_MaximumSet_Gen.json new file mode 100644 index 000000000000..e6b733835f54 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Migrate_MaximumSet_Gen.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "v", + "workloadDeploymentName": "q5", + "api-version": "2022-05-01-preview", + "body": { + "properties": { + "customProperties": { + "instanceType": "ysj" + } + } + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Migrate_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Migrate_MinimumSet_Gen.json new file mode 100644 index 000000000000..262e16e82a87 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_Migrate_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "wwbv", + "workloadDeploymentName": "sm84", + "api-version": "2022-05-01-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrateCleanup_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrateCleanup_MaximumSet_Gen.json new file mode 100644 index 000000000000..8475e0eca363 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrateCleanup_MaximumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "qr", + "workloadDeploymentName": "ka4", + "api-version": "2022-05-01-preview", + "body": { + "properties": { + "comments": "cxvfmeseodiisuvggumdhferfgwcijftziisuvymocsmvxouyuroundqujemkxzpzqsvvecewfqbnkkqersvnsbyzqwgeihzuggvutqdutxuntjvvqbavwovzjipllzttppodfimvnipnmvjwvpzawcvwwpafxcjxbrppnvjvnpxiuubbxrxwiqhimqhlicdjlecubvquqgoytgtvulqeqkuuikizhcuiggrhdbbyadqkwyhmerpyjhfxfrrhixitrzutzxdimycskxivrfaqtsdiaokrziwoppshimiwoifyrwjobynawlmmgodgddiuzqzmdnozptvtbcdjptlhwdidsmtvjpzyjsnpfalxaomowbybxruilqllrchvcjodmscbzwhqfgnlkfvygngxvwrmlfbejrlbzezwtbtvgnvtqedlxavqodwhvvcpztsnblwftiqmzrmczthxwfalzaelntzngirjypvufjnpqpbjoowwroenoenfklyamh" + } + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrateCleanup_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrateCleanup_MinimumSet_Gen.json new file mode 100644 index 000000000000..16442d755299 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrateCleanup_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "y8", + "workloadDeploymentName": "cwm", + "api-version": "2022-05-01-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrate_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrate_MaximumSet_Gen.json new file mode 100644 index 000000000000..bf0e78f816eb --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrate_MaximumSet_Gen.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "x8", + "workloadDeploymentName": "to3nv3t", + "api-version": "2022-05-01-preview", + "body": { + "properties": { + "customProperties": { + "instanceType": "IISAKSWorkloadDeployment" + } + } + } + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrate_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrate_MinimumSet_Gen.json new file mode 100644 index 000000000000..f36837b90796 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadDeployment_TestMigrate_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "vxcl", + "workloadDeploymentName": "e86n", + "api-version": "2022-05-01-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstanceOperationStatus_Get_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstanceOperationStatus_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..38c7829a8d9a --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstanceOperationStatus_Get_MaximumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "f3d", + "workloadInstanceName": "eto6ws5", + "operationId": "wjdimddwwrkqfuueupfrtlxfdhtwp", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "jgqitwpxtxk", + "name": "uyfnwey", + "status": "khffzhqwigjqyxlijuzdsy", + "startTime": "pczzugftmougphynzofsxaj", + "endTime": "sjrmdhmfwplekzezydk" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstanceOperationStatus_Get_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstanceOperationStatus_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..2213cd4b8243 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstanceOperationStatus_Get_MinimumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "p", + "workloadInstanceName": "e", + "operationId": "ux", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Create_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Create_MaximumSet_Gen.json new file mode 100644 index 000000000000..9d117465b63b --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Create_MaximumSet_Gen.json @@ -0,0 +1,113 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "mx8", + "workloadInstanceName": "m", + "api-version": "2022-05-01-preview", + "body": { + "properties": { + "name": "wonkuhgsafzviuwqerzdmme", + "migrateAgentId": "aqgzsxqbk", + "displayName": "juoorbubchvk", + "sourcePlatform": "eh", + "sourceName": "weuxcqzwpeyzsjhdgqflhxlwjhbz", + "masterSiteName": "ubks", + "customProperties": { + "instanceType": "IISWorkload", + "webAppArmId": "xseseqsrzdiga", + "webAppSiteName": "mirgzmy" + } + }, + "tags": { + "key2836": "biqip" + } + } + }, + "responses": { + "201": { + "body": { + "properties": { + "name": "wonkuhgsafzviuwqerzdmme", + "provisioningState": "Canceled", + "migrateAgentId": "aqgzsxqbk", + "displayName": "juoorbubchvk", + "sourcePlatform": "eh", + "sourceName": "weuxcqzwpeyzsjhdgqflhxlwjhbz", + "replicationHealth": "Normal", + "replicationStatus": "None", + "replicationStatusDescription": "naut", + "lastSuccessfulReplicationCycleTime": "2023-01-24T09:33:35.386Z", + "healthErrors": [ + { + "affectedResourceType": "xssq", + "affectedResourceCorrelationIds": [ + "wtucifuccildj" + ], + "childErrors": [ + { + "id": "jvwflcnwvlqwvmr", + "code": "zuvywsndznfq", + "healthCategory": "rzet", + "category": "ggvzo", + "severity": "vaf", + "source": "hzygxkktcjnafnusdndoukyxp", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "pcghybpilafzkoitsniduzubf", + "message": "zrggie", + "causes": "hgjszh", + "recommendation": "mghdbkeldgomzrhshz" + } + ], + "id": "ofiqmyuh", + "code": "ufsfaxfksjxu", + "healthCategory": "wdcnvrzuqvnfamzwxamrlofajlbxya", + "category": "apkwsicsnhedlqmu", + "severity": "sadbfjcqiom", + "source": "hcjdggdbjnogme", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "oppswboqrqhhxvzk", + "message": "ipggpyzwbmifnuehekkvhammin", + "causes": "xroezoejvidtni", + "recommendation": "nywcbkdlsmxllsdsvawjvfcpjsntl" + } + ], + "currentJob": { + "scenarioName": "f", + "id": "fctiznagbvtonm", + "name": "ucyhmgsnkb", + "displayName": "tzirwcymdyggbbry", + "state": "mqbfghricdulot", + "startTime": "2023-01-24T09:33:35.386Z", + "endTime": "2023-01-24T09:33:35.386Z" + }, + "allowedOperations": [ + "gafhxcryrocxihzqsscjycuwcgtpk" + ], + "masterSiteName": "ubks", + "customProperties": { + "instanceType": "IISWorkload", + "webAppArmId": "xseseqsrzdiga", + "webAppSiteName": "mirgzmy" + } + }, + "id": "tin", + "name": "piu", + "type": "akmtuxdmcteywxwnydzqrtcx", + "systemData": { + "createdBy": "afcuhtnzgyuqxdj", + "createdByType": "smcpqhegrsguo", + "createdAt": "2023-01-24T09:33:43.508Z", + "lastModifiedBy": "abavkzqhhxncuzachyvwjdmqwom", + "lastModifiedByType": "fkvgtkzkeuscsvzr", + "lastModifiedAt": "2023-01-24T09:33:43.508Z" + }, + "tags": { + "key2836": "biqip" + } + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Create_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Create_MinimumSet_Gen.json new file mode 100644 index 000000000000..8a749182e6de --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Create_MinimumSet_Gen.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "tv39", + "workloadInstanceName": "io", + "api-version": "2022-05-01-preview" + }, + "responses": { + "201": { + "body": {} + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Delete_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..0a117fab589b --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Delete_MaximumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "f7", + "workloadInstanceName": "ns48", + "api-version": "2022-05-01-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Delete_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..4e7de5fbf5a1 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Delete_MinimumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "bt6", + "workloadInstanceName": "i5dc2", + "api-version": "2022-05-01-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Get_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..9a18f79960be --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Get_MaximumSet_Gen.json @@ -0,0 +1,95 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "yr62", + "workloadInstanceName": "b180", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "name": "wonkuhgsafzviuwqerzdmme", + "provisioningState": "Canceled", + "migrateAgentId": "aqgzsxqbk", + "displayName": "juoorbubchvk", + "sourcePlatform": "eh", + "sourceName": "weuxcqzwpeyzsjhdgqflhxlwjhbz", + "replicationHealth": "Normal", + "replicationStatus": "None", + "replicationStatusDescription": "naut", + "lastSuccessfulReplicationCycleTime": "2023-01-24T09:33:35.386Z", + "healthErrors": [ + { + "affectedResourceType": "xssq", + "affectedResourceCorrelationIds": [ + "wtucifuccildj" + ], + "childErrors": [ + { + "id": "jvwflcnwvlqwvmr", + "code": "zuvywsndznfq", + "healthCategory": "rzet", + "category": "ggvzo", + "severity": "vaf", + "source": "hzygxkktcjnafnusdndoukyxp", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "pcghybpilafzkoitsniduzubf", + "message": "zrggie", + "causes": "hgjszh", + "recommendation": "mghdbkeldgomzrhshz" + } + ], + "id": "ofiqmyuh", + "code": "ufsfaxfksjxu", + "healthCategory": "wdcnvrzuqvnfamzwxamrlofajlbxya", + "category": "apkwsicsnhedlqmu", + "severity": "sadbfjcqiom", + "source": "hcjdggdbjnogme", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "oppswboqrqhhxvzk", + "message": "ipggpyzwbmifnuehekkvhammin", + "causes": "xroezoejvidtni", + "recommendation": "nywcbkdlsmxllsdsvawjvfcpjsntl" + } + ], + "currentJob": { + "scenarioName": "f", + "id": "fctiznagbvtonm", + "name": "ucyhmgsnkb", + "displayName": "tzirwcymdyggbbry", + "state": "mqbfghricdulot", + "startTime": "2023-01-24T09:33:35.386Z", + "endTime": "2023-01-24T09:33:35.386Z" + }, + "allowedOperations": [ + "gafhxcryrocxihzqsscjycuwcgtpk" + ], + "masterSiteName": "ubks", + "customProperties": { + "instanceType": "IISWorkload", + "webAppArmId": "xseseqsrzdiga", + "webAppSiteName": "mirgzmy" + } + }, + "id": "tin", + "name": "piu", + "type": "akmtuxdmcteywxwnydzqrtcx", + "systemData": { + "createdBy": "afcuhtnzgyuqxdj", + "createdByType": "smcpqhegrsguo", + "createdAt": "2023-01-24T09:33:43.508Z", + "lastModifiedBy": "abavkzqhhxncuzachyvwjdmqwom", + "lastModifiedByType": "fkvgtkzkeuscsvzr", + "lastModifiedAt": "2023-01-24T09:33:43.508Z" + }, + "tags": { + "key2836": "biqip" + } + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Get_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..de83e455f32d --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_Get_MinimumSet_Gen.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "h2", + "workloadInstanceName": "c5h7", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_List_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..1b98f76323d0 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_List_MaximumSet_Gen.json @@ -0,0 +1,99 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "i6", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "name": "wonkuhgsafzviuwqerzdmme", + "provisioningState": "Canceled", + "migrateAgentId": "aqgzsxqbk", + "displayName": "juoorbubchvk", + "sourcePlatform": "eh", + "sourceName": "weuxcqzwpeyzsjhdgqflhxlwjhbz", + "replicationHealth": "Normal", + "replicationStatus": "None", + "replicationStatusDescription": "naut", + "lastSuccessfulReplicationCycleTime": "2023-01-24T09:33:35.386Z", + "healthErrors": [ + { + "affectedResourceType": "xssq", + "affectedResourceCorrelationIds": [ + "wtucifuccildj" + ], + "childErrors": [ + { + "id": "jvwflcnwvlqwvmr", + "code": "zuvywsndznfq", + "healthCategory": "rzet", + "category": "ggvzo", + "severity": "vaf", + "source": "hzygxkktcjnafnusdndoukyxp", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "pcghybpilafzkoitsniduzubf", + "message": "zrggie", + "causes": "hgjszh", + "recommendation": "mghdbkeldgomzrhshz" + } + ], + "id": "ofiqmyuh", + "code": "ufsfaxfksjxu", + "healthCategory": "wdcnvrzuqvnfamzwxamrlofajlbxya", + "category": "apkwsicsnhedlqmu", + "severity": "sadbfjcqiom", + "source": "hcjdggdbjnogme", + "creationTime": "2023-01-24T09:33:21.619Z", + "isCustomerResolvable": true, + "summary": "oppswboqrqhhxvzk", + "message": "ipggpyzwbmifnuehekkvhammin", + "causes": "xroezoejvidtni", + "recommendation": "nywcbkdlsmxllsdsvawjvfcpjsntl" + } + ], + "currentJob": { + "scenarioName": "f", + "id": "fctiznagbvtonm", + "name": "ucyhmgsnkb", + "displayName": "tzirwcymdyggbbry", + "state": "mqbfghricdulot", + "startTime": "2023-01-24T09:33:35.386Z", + "endTime": "2023-01-24T09:33:35.386Z" + }, + "allowedOperations": [ + "gafhxcryrocxihzqsscjycuwcgtpk" + ], + "masterSiteName": "ubks", + "customProperties": { + "instanceType": "IISWorkload", + "webAppArmId": "xseseqsrzdiga", + "webAppSiteName": "mirgzmy" + } + }, + "id": "tin", + "name": "piu", + "type": "akmtuxdmcteywxwnydzqrtcx", + "systemData": { + "createdBy": "afcuhtnzgyuqxdj", + "createdByType": "smcpqhegrsguo", + "createdAt": "2023-01-24T09:33:43.508Z", + "lastModifiedBy": "abavkzqhhxncuzachyvwjdmqwom", + "lastModifiedByType": "fkvgtkzkeuscsvzr", + "lastModifiedAt": "2023-01-24T09:33:43.508Z" + }, + "tags": { + "key2836": "biqip" + } + } + ], + "nextLink": "cjewhwqxeyclhbgmxrfwbyeqjr" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_List_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..7c4b3b34db8d --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_List_MinimumSet_Gen.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "sq9k", + "api-version": "2022-05-01-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_MigrateComplete_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_MigrateComplete_MaximumSet_Gen.json new file mode 100644 index 000000000000..52b6850761b4 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_MigrateComplete_MaximumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "tc", + "workloadInstanceName": "nwdd2", + "api-version": "2022-05-01-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_MigrateComplete_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_MigrateComplete_MinimumSet_Gen.json new file mode 100644 index 000000000000..cfedfcc3053f --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_MigrateComplete_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "f2bih", + "workloadInstanceName": "u00", + "api-version": "2022-05-01-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_StopReplicate_MaximumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_StopReplicate_MaximumSet_Gen.json new file mode 100644 index 000000000000..8da45540eb48 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_StopReplicate_MaximumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "kq", + "workloadInstanceName": "l8", + "api-version": "2022-05-01-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_StopReplicate_MinimumSet_Gen.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_StopReplicate_MinimumSet_Gen.json new file mode 100644 index 000000000000..c6eb2af73d10 --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/examples/WorkloadInstance_StopReplicate_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "foksiqislfdsagudxqqxxbe", + "resourceGroupName": "rgmigrateEngine", + "modernizeProjectName": "s5", + "workloadInstanceName": "r2ey", + "api-version": "2022-05-01-preview" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/migrateEngine.json b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/migrateEngine.json new file mode 100644 index 000000000000..043f30bf7cdc --- /dev/null +++ b/specification/migrate/resource-manager/Microsoft.Migrate/preview/2022-05-01-preview/migrateEngine.json @@ -0,0 +1,5530 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Migrate Engine APIs", + "description": "A first party Azure service for modernizing workloads.", + "version": "2022-05-01-preview" + }, + "paths": { + "/providers/Microsoft.Migrate/operations": { + "get": { + "tags": [ + "Operations" + ], + "description": "Lists all the available API operations under this PR", + "operationId": "Operations_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "Resource provider error response about the failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Operations_List_MaximumSet_Gen": { + "$ref": "./examples/Operations_List_MaximumSet_Gen.json" + }, + "Operations_List_MinimumSet_Gen": { + "$ref": "./examples/Operations_List_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/modernizeProjects/{modernizeProjectName}/deployedResources/{deployedResourceName}": { + "get": { + "tags": [ + "DeployedResource" + ], + "summary": "Gets the deployed resource.", + "description": "Gets the details of the deployed resource.", + "operationId": "DeployedResource_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "deployedResourceName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "Workload deployment name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DeployedResourceModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "DeployedResource_Get_MaximumSet_Gen": { + "$ref": "./examples/DeployedResource_Get_MaximumSet_Gen.json" + }, + "DeployedResource_Get_MinimumSet_Gen": { + "$ref": "./examples/DeployedResource_Get_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/modernizeProjects/{modernizeProjectName}/deployedResources": { + "get": { + "tags": [ + "DeployedResource" + ], + "summary": "Lists the deployed resources.", + "description": "Gets the list of deployed resources in the given modernizeProject.", + "operationId": "DeployedResource_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DeployedResourceModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "DeployedResource_List_MaximumSet_Gen": { + "$ref": "./examples/DeployedResource_List_MaximumSet_Gen.json" + }, + "DeployedResource_List_MinimumSet_Gen": { + "$ref": "./examples/DeployedResource_List_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/modernizeProjects/{modernizeProjectName}/migrateAgents/{agentName}": { + "get": { + "tags": [ + "MigrateAgent" + ], + "summary": "Gets the MigrateAgent.", + "description": "Gets the details of the modernizeProject agent.", + "operationId": "MigrateAgent_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "agentName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "MigrateAgent name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/MigrateAgentModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "MigrateAgent_Get_MaximumSet_Gen": { + "$ref": "./examples/MigrateAgent_Get_MaximumSet_Gen.json" + }, + "MigrateAgent_Get_MinimumSet_Gen": { + "$ref": "./examples/MigrateAgent_Get_MinimumSet_Gen.json" + } + } + }, + "put": { + "tags": [ + "MigrateAgent" + ], + "summary": "Puts the MigrateAgent.", + "description": "Creates the modernizeProject agent.", + "operationId": "MigrateAgent_Create", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "agentName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "MigrateAgent name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "in": "body", + "name": "body", + "description": "MigrateAgent model.", + "schema": { + "$ref": "#/definitions/MigrateAgentModel" + } + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/MigrateAgentModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "MigrateAgent_Create_MaximumSet_Gen": { + "$ref": "./examples/MigrateAgent_Create_MaximumSet_Gen.json" + }, + "MigrateAgent_Create_MinimumSet_Gen": { + "$ref": "./examples/MigrateAgent_Create_MinimumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "MigrateAgent" + ], + "summary": "Deletes the MigrateAgent.", + "description": "Deletes the modernizeProject agent.", + "operationId": "MigrateAgent_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject Name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "agentName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "MigrateAgent Name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "MigrateAgent_Delete_MaximumSet_Gen": { + "$ref": "./examples/MigrateAgent_Delete_MaximumSet_Gen.json" + }, + "MigrateAgent_Delete_MinimumSet_Gen": { + "$ref": "./examples/MigrateAgent_Delete_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/modernizeProjects/{modernizeProjectName}/migrateAgents": { + "get": { + "tags": [ + "MigrateAgent" + ], + "summary": "Lists the MigrateAgents.", + "description": "Gets the list of modernizeProject agents in the given modernizeProject.", + "operationId": "MigrateAgent_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/MigrateAgentModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "MigrateAgent_List_MaximumSet_Gen": { + "$ref": "./examples/MigrateAgent_List_MaximumSet_Gen.json" + }, + "MigrateAgent_List_MinimumSet_Gen": { + "$ref": "./examples/MigrateAgent_List_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/modernizeProjects/{modernizeProjectName}/migrateAgents/{agentName}/refresh": { + "post": { + "tags": [ + "MigrateAgent" + ], + "summary": "Refreshes the MigrateAgent.", + "description": "Refreshes the modernizeProject agent.", + "operationId": "MigrateAgent_Refresh", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "agentName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "MigrateAgent name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "MigrateAgent_Refresh_MaximumSet_Gen": { + "$ref": "./examples/MigrateAgent_Refresh_MaximumSet_Gen.json" + }, + "MigrateAgent_Refresh_MinimumSet_Gen": { + "$ref": "./examples/MigrateAgent_Refresh_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/modernizeProjects/{modernizeProjectName}/migrateAgents/{agentName}/operations/{operationId}": { + "get": { + "tags": [ + "MigrateAgent" + ], + "summary": "Gets the MigrateAgent operation status.", + "description": "Tracks the results of an asynchronous operation on the modernizeProject agent.", + "operationId": "MigrateAgentOperationStatus_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "agentName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "MigrateAgent name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "operationId", + "description": "Operation Id.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "MigrateAgentOperationStatus_Get_MaximumSet_Gen": { + "$ref": "./examples/MigrateAgentOperationStatus_Get_MaximumSet_Gen.json" + }, + "MigrateAgentOperationStatus_Get_MinimumSet_Gen": { + "$ref": "./examples/MigrateAgentOperationStatus_Get_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/modernizeProjects/{modernizeProjectName}": { + "get": { + "tags": [ + "ModernizeProject" + ], + "summary": "Gets the modernize project.", + "description": "Gets the details of the modernize project.", + "operationId": "ModernizeProject_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "Modernize project name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ModernizeProjectModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "ModernizeProject_Get_MaximumSet_Gen": { + "$ref": "./examples/ModernizeProject_Get_MaximumSet_Gen.json" + }, + "ModernizeProject_Get_MinimumSet_Gen": { + "$ref": "./examples/ModernizeProject_Get_MinimumSet_Gen.json" + } + } + }, + "put": { + "tags": [ + "ModernizeProject" + ], + "summary": "Puts the modernizeProject.", + "description": "Creates the modernizeProject.", + "operationId": "ModernizeProject_Create", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject Name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "in": "body", + "name": "body", + "description": "ModernizeProject properties.", + "schema": { + "$ref": "#/definitions/ModernizeProjectModel" + } + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ModernizeProjectModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "ModernizeProject_Create_MaximumSet_Gen": { + "$ref": "./examples/ModernizeProject_Create_MaximumSet_Gen.json" + }, + "ModernizeProject_Create_MinimumSet_Gen": { + "$ref": "./examples/ModernizeProject_Create_MinimumSet_Gen.json" + } + } + }, + "patch": { + "tags": [ + "ModernizeProject" + ], + "summary": "Updates the modernizeProject.", + "description": "Performs update on the modernizeProject.", + "operationId": "ModernizeProject_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject Name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "in": "body", + "name": "body", + "description": "ModernizeProject properties.", + "schema": { + "$ref": "#/definitions/UpdateModernizeProjectModel" + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/ModernizeProjectModel" + }, + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "ModernizeProject_Update_MaximumSet_Gen": { + "$ref": "./examples/ModernizeProject_Update_MaximumSet_Gen.json" + }, + "ModernizeProject_Update_MinimumSet_Gen": { + "$ref": "./examples/ModernizeProject_Update_MinimumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "ModernizeProject" + ], + "summary": "Deletes the modernizeProject.", + "description": "Removes the modernizeProject.", + "operationId": "ModernizeProject_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject Name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "ModernizeProject_Delete_MaximumSet_Gen": { + "$ref": "./examples/ModernizeProject_Delete_MaximumSet_Gen.json" + }, + "ModernizeProject_Delete_MinimumSet_Gen": { + "$ref": "./examples/ModernizeProject_Delete_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Migrate/modernizeProjects": { + "get": { + "tags": [ + "ModernizeProject" + ], + "summary": "Lists the modernizeProjects.", + "description": "Gets the list of modernizeProjects in the given subscription.", + "operationId": "ModernizeProject_ListBySubscription", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "in": "query", + "name": "continuationToken", + "description": "Continuation token from the previous call.", + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ModernizeProjectModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ModernizeProject_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/ModernizeProject_ListBySubscription_MaximumSet_Gen.json" + }, + "ModernizeProject_ListBySubscription_MinimumSet_Gen": { + "$ref": "./examples/ModernizeProject_ListBySubscription_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/modernizeProjects": { + "get": { + "tags": [ + "ModernizeProject" + ], + "summary": "Lists the modernizeProjects.", + "description": "Gets the list of modernizeProjects in the given subscription and resource group.", + "operationId": "ModernizeProject_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "query", + "name": "continuationToken", + "description": "Continuation token from the previous call.", + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ModernizeProjectModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ModernizeProject_List_MaximumSet_Gen": { + "$ref": "./examples/ModernizeProject_List_MaximumSet_Gen.json" + }, + "ModernizeProject_List_MinimumSet_Gen": { + "$ref": "./examples/ModernizeProject_List_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/modernizeProjects/{modernizeProjectName}/statistics": { + "get": { + "tags": [ + "ModernizeProject" + ], + "summary": "Gets the modernizeProject statistics.", + "description": "Gets the statistics for the modernizeProject.", + "operationId": "ModernizeProjectStatistics_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ModernizeProjectStatisticsModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "ModernizeProjectStatistics_Get_MaximumSet_Gen": { + "$ref": "./examples/ModernizeProjectStatistics_Get_MaximumSet_Gen.json" + }, + "ModernizeProjectStatistics_Get_MinimumSet_Gen": { + "$ref": "./examples/ModernizeProjectStatistics_Get_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/modernizeProjects/{modernizeProjectName}/operations/{operationId}": { + "get": { + "tags": [ + "ModernizeProject" + ], + "summary": "Gets the modernizeProject operation status.", + "description": "Tracks the results of an asynchronous operation on the modernizeProject.", + "operationId": "ModernizeProjectOperationStatus_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "operationId", + "description": "Operation Id.", + "required": true, + "type": "string" + }, + { + "in": "query", + "name": "OperationType", + "description": "The operation type.", + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "ModernizeProjectOperationStatus_Get_MaximumSet_Gen": { + "$ref": "./examples/ModernizeProjectOperationStatus_Get_MaximumSet_Gen.json" + }, + "ModernizeProjectOperationStatus_Get_MinimumSet_Gen": { + "$ref": "./examples/ModernizeProjectOperationStatus_Get_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/modernizeProjects/{modernizeProjectName}/jobs/{workflowName}": { + "get": { + "tags": [ + "Workflow" + ], + "summary": "Gets the workflow.", + "description": "Gets the details of the job.", + "operationId": "Workflow_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "workflowName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "Workflow name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/WorkflowModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "Workflow_Get_MaximumSet_Gen": { + "$ref": "./examples/Workflow_Get_MaximumSet_Gen.json" + }, + "Workflow_Get_MinimumSet_Gen": { + "$ref": "./examples/Workflow_Get_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/modernizeProjects/{modernizeProjectName}/jobs": { + "get": { + "tags": [ + "Workflow" + ], + "summary": "Lists the workflows.", + "description": "Gets the list of jobs in the given modernizeProject.", + "operationId": "Workflow_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject name.", + "required": true, + "type": "string" + }, + { + "in": "query", + "name": "$filter", + "description": "Filter string.", + "type": "string" + }, + { + "in": "query", + "name": "continuationToken", + "description": "Continuation token.", + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/WorkflowModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Workflow_List_MaximumSet_Gen": { + "$ref": "./examples/Workflow_List_MaximumSet_Gen.json" + }, + "Workflow_List_MinimumSet_Gen": { + "$ref": "./examples/Workflow_List_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/modernizeProjects/{modernizeProjectName}/jobs/{workflowName}/operations/{operationId}": { + "get": { + "tags": [ + "Workflow" + ], + "summary": "Gets the workflow operation status.", + "description": "Tracks the results of an asynchronous operation on the job.", + "operationId": "WorkflowOperationStatus_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "workflowName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "Workflow name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "operationId", + "description": "Operation Id.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "WorkflowOperationStatus_Get_MaximumSet_Gen": { + "$ref": "./examples/WorkflowOperationStatus_Get_MaximumSet_Gen.json" + }, + "WorkflowOperationStatus_Get_MinimumSet_Gen": { + "$ref": "./examples/WorkflowOperationStatus_Get_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/modernizeProjects/{modernizeProjectName}/workloadDeployments/{workloadDeploymentName}": { + "get": { + "tags": [ + "WorkloadDeployment" + ], + "summary": "Gets the workload deployment.", + "description": "Gets the details of the workload deployment.", + "operationId": "WorkloadDeployment_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "workloadDeploymentName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "Workload deployment name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/WorkloadDeploymentModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "WorkloadDeployment_Get_MaximumSet_Gen": { + "$ref": "./examples/WorkloadDeployment_Get_MaximumSet_Gen.json" + }, + "WorkloadDeployment_Get_MinimumSet_Gen": { + "$ref": "./examples/WorkloadDeployment_Get_MinimumSet_Gen.json" + } + } + }, + "put": { + "tags": [ + "WorkloadDeployment" + ], + "summary": "Puts the workload deployment.", + "description": "Creates the workload deployment.", + "operationId": "WorkloadDeployment_Create", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "workloadDeploymentName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "Workload deployment name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "in": "body", + "name": "body", + "description": "Workload deployment model.", + "schema": { + "$ref": "#/definitions/WorkloadDeploymentModel" + } + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/WorkloadDeploymentModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "WorkloadDeployment_Create_MaximumSet_Gen": { + "$ref": "./examples/WorkloadDeployment_Create_MaximumSet_Gen.json" + }, + "WorkloadDeployment_Create_MinimumSet_Gen": { + "$ref": "./examples/WorkloadDeployment_Create_MinimumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "WorkloadDeployment" + ], + "summary": "Deletes the workload deployment.", + "description": "Removes the workload deployment.", + "operationId": "WorkloadDeployment_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "workloadDeploymentName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "Workload deployment name.", + "required": true, + "type": "string" + }, + { + "in": "query", + "name": "forceDelete", + "description": "A flag indicating whether to do force delete or not.", + "type": "boolean" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "WorkloadDeployment_Delete_MaximumSet_Gen": { + "$ref": "./examples/WorkloadDeployment_Delete_MaximumSet_Gen.json" + }, + "WorkloadDeployment_Delete_MinimumSet_Gen": { + "$ref": "./examples/WorkloadDeployment_Delete_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/modernizeProjects/{modernizeProjectName}/workloadDeployments": { + "get": { + "tags": [ + "WorkloadDeployment" + ], + "summary": "Lists the workload deployments.", + "description": "Gets the list of workload deployments in the given modernizeProject.", + "operationId": "WorkloadDeployment_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/WorkloadDeploymentModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "WorkloadDeployment_List_MaximumSet_Gen": { + "$ref": "./examples/WorkloadDeployment_List_MaximumSet_Gen.json" + }, + "WorkloadDeployment_List_MinimumSet_Gen": { + "$ref": "./examples/WorkloadDeployment_List_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/modernizeProjects/{modernizeProjectName}/workloadDeployments/{workloadDeploymentName}/getSecrets": { + "post": { + "tags": [ + "WorkloadDeployment" + ], + "summary": "Gets the workload deployment secrets.", + "description": "Gets the secrets of the workload deployment.", + "operationId": "WorkloadDeployment_GetSecretConfigurations", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "workloadDeploymentName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "Workload deployment name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/WorkloadDeploymentModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "WorkloadDeployment_GetSecretConfigurations_MaximumSet_Gen": { + "$ref": "./examples/WorkloadDeployment_GetSecretConfigurations_MaximumSet_Gen.json" + }, + "WorkloadDeployment_GetSecretConfigurations_MinimumSet_Gen": { + "$ref": "./examples/WorkloadDeployment_GetSecretConfigurations_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/modernizeProjects/{modernizeProjectName}/workloadDeployments/{workloadDeploymentName}/buildContainerImage": { + "post": { + "tags": [ + "WorkloadDeployment" + ], + "summary": "Build container image.", + "description": "Performs the build container image action on the workload deployment.", + "operationId": "WorkloadDeployment_BuildContainerImage", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "workloadDeploymentName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "Workload deployment name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "in": "body", + "name": "body", + "description": "Build container image model.", + "schema": { + "$ref": "#/definitions/BuildContainerImageModel" + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "WorkloadDeployment_BuildContainerImage_MaximumSet_Gen": { + "$ref": "./examples/WorkloadDeployment_BuildContainerImage_MaximumSet_Gen.json" + }, + "WorkloadDeployment_BuildContainerImage_MinimumSet_Gen": { + "$ref": "./examples/WorkloadDeployment_BuildContainerImage_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/modernizeProjects/{modernizeProjectName}/workloadDeployments/{workloadDeploymentName}/testMigrate": { + "post": { + "tags": [ + "WorkloadDeployment" + ], + "summary": "Performs test migrate.", + "description": "Performs the test migrate on the workload deployment.", + "operationId": "WorkloadDeployment_TestMigrate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "workloadDeploymentName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "Workload deployment name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "in": "body", + "name": "body", + "description": "Test migrate model.", + "schema": { + "$ref": "#/definitions/TestMigrateModel" + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "WorkloadDeployment_TestMigrate_MaximumSet_Gen": { + "$ref": "./examples/WorkloadDeployment_TestMigrate_MaximumSet_Gen.json" + }, + "WorkloadDeployment_TestMigrate_MinimumSet_Gen": { + "$ref": "./examples/WorkloadDeployment_TestMigrate_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/modernizeProjects/{modernizeProjectName}/workloadDeployments/{workloadDeploymentName}/testMigrateCleanup": { + "post": { + "tags": [ + "WorkloadDeployment" + ], + "summary": "Performs test migrate cleanup.", + "description": "Performs the test migrate cleanup on the workload deployment.", + "operationId": "WorkloadDeployment_TestMigrateCleanup", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "workloadDeploymentName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "Workload deployment name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "WorkloadDeployment_TestMigrateCleanup_MaximumSet_Gen": { + "$ref": "./examples/WorkloadDeployment_TestMigrateCleanup_MaximumSet_Gen.json" + }, + "WorkloadDeployment_TestMigrateCleanup_MinimumSet_Gen": { + "$ref": "./examples/WorkloadDeployment_TestMigrateCleanup_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/modernizeProjects/{modernizeProjectName}/workloadDeployments/{workloadDeploymentName}/migrate": { + "post": { + "tags": [ + "WorkloadDeployment" + ], + "summary": "Performs migrate.", + "description": "Performs migrate on the workload deployment.", + "operationId": "WorkloadDeployment_Migrate", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "workloadDeploymentName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "Workload deployment name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "WorkloadDeployment_Migrate_MaximumSet_Gen": { + "$ref": "./examples/WorkloadDeployment_Migrate_MaximumSet_Gen.json" + }, + "WorkloadDeployment_Migrate_MinimumSet_Gen": { + "$ref": "./examples/WorkloadDeployment_Migrate_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/modernizeProjects/{modernizeProjectName}/workloadDeployments/{workloadDeploymentName}/operations/{operationId}": { + "get": { + "tags": [ + "WorkloadDeployment" + ], + "summary": "Gets the workload deployment operation status.", + "description": "Tracks the results of an asynchronous operation on the workload deployment.", + "operationId": "WorkloadDeploymentOperationStatus_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "workloadDeploymentName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "Protected Item name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "operationId", + "description": "Operation Id.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "WorkloadDeploymentOperationStatus_Get_MaximumSet_Gen": { + "$ref": "./examples/WorkloadDeploymentOperationStatus_Get_MaximumSet_Gen.json" + }, + "WorkloadDeploymentOperationStatus_Get_MinimumSet_Gen": { + "$ref": "./examples/WorkloadDeploymentOperationStatus_Get_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/modernizeProjects/{modernizeProjectName}/workloadInstances/{workloadInstanceName}": { + "get": { + "tags": [ + "WorkloadInstance" + ], + "summary": "Gets the workload instance.", + "description": "Gets the details of the workload instance.", + "operationId": "WorkloadInstance_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "workloadInstanceName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "Workload instance name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/WorkloadInstanceModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "WorkloadInstance_Get_MaximumSet_Gen": { + "$ref": "./examples/WorkloadInstance_Get_MaximumSet_Gen.json" + }, + "WorkloadInstance_Get_MinimumSet_Gen": { + "$ref": "./examples/WorkloadInstance_Get_MinimumSet_Gen.json" + } + } + }, + "put": { + "tags": [ + "WorkloadInstance" + ], + "summary": "Puts the workload instance.", + "description": "Creates the workload instance in the given modernizeProject.", + "operationId": "WorkloadInstance_Create", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "workloadInstanceName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "Workload instance name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "in": "body", + "name": "body", + "description": "Workload instance model.", + "schema": { + "$ref": "#/definitions/WorkloadInstanceModel" + } + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/WorkloadInstanceModel" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "WorkloadInstance_Create_MaximumSet_Gen": { + "$ref": "./examples/WorkloadInstance_Create_MaximumSet_Gen.json" + }, + "WorkloadInstance_Create_MinimumSet_Gen": { + "$ref": "./examples/WorkloadInstance_Create_MinimumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "WorkloadInstance" + ], + "summary": "Deletes the workload instance.", + "description": "Deletes the workload instance in the given modernizeProject.", + "operationId": "WorkloadInstance_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject Name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "workloadInstanceName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "Workload instance name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "WorkloadInstance_Delete_MaximumSet_Gen": { + "$ref": "./examples/WorkloadInstance_Delete_MaximumSet_Gen.json" + }, + "WorkloadInstance_Delete_MinimumSet_Gen": { + "$ref": "./examples/WorkloadInstance_Delete_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/modernizeProjects/{modernizeProjectName}/workloadInstances": { + "get": { + "tags": [ + "WorkloadInstance" + ], + "summary": "Lists the workload instances.", + "description": "Gets the list of workload instances in the given modernizeProject.", + "operationId": "WorkloadInstance_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/WorkloadInstanceModelCollection" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "WorkloadInstance_List_MaximumSet_Gen": { + "$ref": "./examples/WorkloadInstance_List_MaximumSet_Gen.json" + }, + "WorkloadInstance_List_MinimumSet_Gen": { + "$ref": "./examples/WorkloadInstance_List_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/modernizeProjects/{modernizeProjectName}/workloadInstances/{workloadInstanceName}/operations/{operationId}": { + "get": { + "tags": [ + "WorkloadInstance" + ], + "summary": "Gets the workload instance operation status.", + "description": "Tracks the results of an asynchronous operation on the workload instance.", + "operationId": "WorkloadInstanceOperationStatus_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "workloadInstanceName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "Workload instance name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "operationId", + "description": "Operation Id.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-examples": { + "WorkloadInstanceOperationStatus_Get_MaximumSet_Gen": { + "$ref": "./examples/WorkloadInstanceOperationStatus_Get_MaximumSet_Gen.json" + }, + "WorkloadInstanceOperationStatus_Get_MinimumSet_Gen": { + "$ref": "./examples/WorkloadInstanceOperationStatus_Get_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/modernizeProjects/{modernizeProjectName}/workloadInstances/{workloadInstanceName}/completeMigration": { + "post": { + "tags": [ + "WorkloadInstance" + ], + "summary": "Performs complete migrate.", + "description": "Performs the complete migrate on the workload instance.", + "operationId": "WorkloadInstance_MigrateComplete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "workloadInstanceName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "Workload instance name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "WorkloadInstance_MigrateComplete_MaximumSet_Gen": { + "$ref": "./examples/WorkloadInstance_MigrateComplete_MaximumSet_Gen.json" + }, + "WorkloadInstance_MigrateComplete_MinimumSet_Gen": { + "$ref": "./examples/WorkloadInstance_MigrateComplete_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/modernizeProjects/{modernizeProjectName}/workloadInstances/{workloadInstanceName}/disableReplication": { + "post": { + "tags": [ + "WorkloadInstance" + ], + "summary": "Performs Disable Replicate.", + "description": "Performs the disable replicate on the workload instance.", + "operationId": "WorkloadInstance_StopReplicate", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "in": "path", + "name": "modernizeProjectName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "ModernizeProject name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "workloadInstanceName", + "pattern": "^[a-z][a-z0-9]*$", + "description": "Workload instance name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Azure-AsyncOperation": { + "description": "Tracking URL for long running operation.", + "type": "string" + }, + "Location": { + "type": "string" + } + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "#/definitions/ArmError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "WorkloadInstance_StopReplicate_MaximumSet_Gen": { + "$ref": "./examples/WorkloadInstance_StopReplicate_MaximumSet_Gen.json" + }, + "WorkloadInstance_StopReplicate_MinimumSet_Gen": { + "$ref": "./examples/WorkloadInstance_StopReplicate_MinimumSet_Gen.json" + } + } + } + } + }, + "definitions": { + "ACRProperties": { + "description": "Class for ACR Properties.", + "type": "object", + "properties": { + "registryName": { + "description": "Gets or sets the azure container registry name.", + "type": "string" + }, + "tenantId": { + "description": "Gets or sets the tenant id.", + "type": "string" + }, + "subscriptionId": { + "description": "Gets or sets the subscription id of the resource.", + "type": "string" + }, + "resourceGroup": { + "description": "Gets or sets the resource group of the resource.", + "type": "string" + } + } + }, + "AKSDeploymentProperties": { + "description": "Class for AKSDeployment Properties.", + "type": "object", + "properties": { + "aksClusterName": { + "description": "Gets or sets the AKS cluster name.", + "type": "string" + }, + "tenantId": { + "description": "Gets or sets the tenant id.", + "type": "string" + }, + "subscriptionId": { + "description": "Gets or sets the subscription id of the resource.", + "type": "string" + }, + "resourceGroup": { + "description": "Gets or sets the resource group of the resource.", + "type": "string" + } + } + }, + "AKSDeploymentSpecification": { + "description": "AKS Deployment Specification.", + "type": "object", + "properties": { + "kubernetesObjectsYaml": { + "description": "Gets or sets the Merged Deployment and service Yaml.", + "type": "string" + }, + "replicaCount": { + "description": "Gets or sets the replica count to be created in AKS.", + "type": "string" + }, + "loadBalancerType": { + "description": "Gets or sets the load balancer type.", + "enum": [ + "Private", + "Public" + ], + "type": "string", + "x-ms-enum": { + "name": "LoadBalancerType", + "modelAsString": true + } + } + } + }, + "ApacheTomcatAKSWorkloadDeployment": { + "description": "ApacheTomcat web application.", + "type": "object", + "properties": { + "clusterProperties": { + "$ref": "#/definitions/AKSDeploymentProperties" + }, + "deploymentSpec": { + "$ref": "#/definitions/AKSDeploymentSpecification" + }, + "deploymentHistory": { + "description": "Gets or sets the deployment history.", + "type": "array", + "items": { + "$ref": "#/definitions/DeployedResourcesProperties" + }, + "readOnly": true + }, + "deploymentNamePrefix": { + "description": "Gets or sets the deployment name prefix.", + "type": "string" + }, + "automationArtifactProperties": { + "$ref": "#/definitions/AutomationArtifact" + }, + "directories": { + "description": "Gets or sets application directories.", + "type": "array", + "items": { + "$ref": "#/definitions/WebApplicationDirectory" + } + }, + "configurations": { + "description": "Gets or sets application configuration.", + "type": "array", + "items": { + "$ref": "#/definitions/WebApplicationConfiguration" + } + }, + "containerImageProperties": { + "$ref": "#/definitions/ContainerImageProperties" + }, + "buildContainerImages": { + "description": "Gets or sets the build container images.", + "type": "array", + "items": { + "$ref": "#/definitions/ContainerImageProperties" + } + }, + "bindings": { + "description": "Gets or sets the bindings for the application.", + "type": "array", + "items": { + "$ref": "#/definitions/Binding" + } + }, + "requests": { + "$ref": "#/definitions/ResourceRequirements" + }, + "limits": { + "$ref": "#/definitions/ResourceRequirements" + }, + "targetPlatformIdentity": { + "description": "Gets or sets the target platform managed identity.", + "type": "string" + }, + "monitoringProperties": { + "$ref": "#/definitions/AppInsightMonitoringProperties" + } + } + }, + "ApacheTomcatAKSWorkloadDeploymentModelCustomProperties": { + "description": "ApacheTomcat workload instance model custom properties.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/WorkloadDeploymentModelCustomProperties" + } + ], + "properties": { + "apacheTomcatAksWorkloadDeploymentProperties": { + "$ref": "#/definitions/ApacheTomcatAKSWorkloadDeployment" + } + } + }, + "ApacheTomcatWebApplication": { + "description": "ApacheTomcat web application.", + "type": "object", + "properties": { + "applicationId": { + "description": "Gets or sets the web application id.", + "type": "string" + }, + "applicationName": { + "description": "Gets or sets the web application name.", + "type": "string" + }, + "applicationScratchPath": { + "description": "Gets or sets application scratch path.", + "type": "string" + }, + "webServerId": { + "description": "Gets or sets the web server id.", + "type": "string" + }, + "webServerName": { + "description": "Gets or sets the web server name.", + "type": "string" + }, + "displayName": { + "description": "Gets or sets the display name.", + "type": "string" + }, + "directories": { + "description": "Gets or sets application directories.", + "type": "array", + "items": { + "$ref": "#/definitions/WebApplicationDirectory" + } + }, + "configurations": { + "description": "Gets or sets application configuration.", + "type": "array", + "items": { + "$ref": "#/definitions/WebApplicationConfiguration" + } + }, + "path": { + "$ref": "#/definitions/DirectoryPath" + }, + "bindings": { + "description": "Gets or sets the bindings for the application.", + "type": "array", + "items": { + "$ref": "#/definitions/Binding" + } + }, + "primaryFramework": { + "$ref": "#/definitions/WebApplicationFramework" + }, + "discoveredFrameworks": { + "description": "Gets or sets the discovered frameworks of application.", + "type": "array", + "items": { + "$ref": "#/definitions/WebApplicationFramework" + } + }, + "requests": { + "$ref": "#/definitions/ResourceRequirements" + }, + "limits": { + "$ref": "#/definitions/ResourceRequirements" + } + } + }, + "ApacheTomcatWorkloadInstanceModelCustomProperties": { + "description": "ApacheTomcat workload instance model custom properties.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/WorkloadInstanceModelCustomProperties" + } + ], + "properties": { + "apacheTomcatWebApplication": { + "$ref": "#/definitions/ApacheTomcatWebApplication" + } + } + }, + "AppInsightMonitoringProperties": { + "description": "Class for app insight monitoring properties.", + "type": "object", + "properties": { + "subscriptionId": { + "description": "Gets or sets the subscription id of the resource.", + "type": "string" + }, + "resourceGroup": { + "description": "Gets or sets the resource group of the resource.", + "type": "string" + }, + "appInsightsName": { + "description": "Gets or sets the app insights name.", + "type": "string" + }, + "region": { + "description": "Gets or sets the region.", + "type": "string" + }, + "isEnabled": { + "description": "Gets or sets a value indicating whether monitoring is enabled.", + "type": "boolean" + }, + "secretStoreDetails": { + "$ref": "#/definitions/SecretStoreDetails" + } + } + }, + "AppServiceSettingSecretStoreProperties": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/SecretStoreProperties" + } + ], + "properties": { + "tenantId": { + "type": "string" + }, + "subscriptionId": { + "type": "string" + }, + "resourceGroup": { + "type": "string" + }, + "appServiceName": { + "type": "string" + } + } + }, + "ArmError": { + "description": "ARM error.", + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/ArmErrorInfo" + } + } + }, + "ArmErrorInfo": { + "description": "Arm error information.", + "type": "object", + "properties": { + "code": { + "description": "Gets or sets the error code returned by the service.", + "type": "string" + }, + "message": { + "description": "Gets or sets error Message returned by the service.", + "type": "string" + } + } + }, + "AutomationArtifact": { + "description": "Class for automation artifact.", + "type": "object", + "properties": { + "status": { + "description": "Gets or sets the status of automation artifacts.", + "enum": [ + "NotGenerated", + "Generated" + ], + "type": "string", + "x-ms-enum": { + "name": "AutomationArtifactStatus", + "modelAsString": true + } + }, + "azureFileShareProfile": { + "$ref": "#/definitions/AzureFileShareHydrationProfile" + }, + "artifacts": { + "description": "Gets or sets the artifacts.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "AzureFileShareHydrationProfile": { + "description": "Azure file share profile for hydration of application folders not mounted on\r\nthe container file system.", + "type": "object", + "properties": { + "azureFileShareName": { + "description": "Gets or sets the name of the azure file share.", + "type": "string" + }, + "azureFileShareSubscriptionId": { + "description": "Gets or sets the subscription id of the azure file share.", + "type": "string" + }, + "azureFileShareResourceGroup": { + "description": "Gets or sets the name of the azure file share resource group.", + "type": "string" + }, + "azureFileShareStorageAccount": { + "description": "Gets or sets the name of the azure file share storage account.", + "type": "string" + }, + "azureFileShareDirPath": { + "description": "Gets or sets the cloud directory path of the directory on azure file share.", + "type": "string" + } + } + }, + "Binding": { + "description": "Binding for a web application.", + "type": "object", + "properties": { + "id": { + "description": "Gets the ID.", + "type": "string", + "readOnly": true + }, + "port": { + "description": "Gets or sets the application port.", + "type": "string" + }, + "portMapping": { + "$ref": "#/definitions/PortMapping" + }, + "cert": { + "$ref": "#/definitions/Cert" + }, + "hostName": { + "description": "Gets or sets the binding host name.", + "type": "string" + }, + "protocol": { + "description": "Gets or sets the protocol.", + "type": "string" + }, + "ipAddress": { + "description": "Gets or sets the IP Address.", + "type": "string" + } + } + }, + "BuildContainerImageModel": { + "description": "BuildContainerImage model.", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ContainerImageProperties" + } + } + }, + "BuildContainerImageWorkflowModelCustomProperties": { + "description": "Build container image workflow model custom properties.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/WorkflowModelCustomProperties" + } + ], + "properties": { + "containerImageProperties": { + "allOf": [ + { + "$ref": "#/definitions/ContainerImageProperties" + } + ], + "readOnly": true + } + } + }, + "Cert": { + "description": "WebApplication certificate.", + "type": "object", + "properties": { + "certNeeded": { + "description": "Gets or sets a value indicating whether certificate is needed or not.", + "type": "boolean" + }, + "certProvided": { + "description": "Gets or sets a value indicating whether certificate is provided or not.", + "type": "boolean" + }, + "certData": { + "format": "byte", + "description": "Gets or sets the Certificate data.", + "type": "string" + }, + "secretStore": { + "description": "Gets or sets the type of secret store for the certificate.", + "enum": [ + "None", + "KubeSecret", + "KeyVaultSecret", + "AppServiceAppSettings" + ], + "type": "string", + "x-ms-enum": { + "name": "SecretStoreType", + "modelAsString": true + } + } + } + }, + "ContainerImageProperties": { + "description": "Class for container image properties.", + "type": "object", + "properties": { + "id": { + "description": "Gets the ID.", + "type": "string", + "readOnly": true + }, + "dockerfile": { + "description": "Gets or sets the dockerfile for the container image.", + "type": "string" + }, + "registryProperties": { + "$ref": "#/definitions/ACRProperties" + }, + "imageTag": { + "description": "Gets or sets the container image tag.", + "type": "string" + }, + "imageName": { + "description": "Gets or sets the container image name.", + "type": "string" + }, + "runId": { + "description": "Gets or sets the RunId.", + "type": "string" + }, + "runStatus": { + "description": "Gets or sets the RunStatus.", + "type": "string" + } + } + }, + "DeployedResourceModel": { + "description": "DeployedResource model.", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/DeployedResourceModelProperties" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" + } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "DeployedResourceModelCollection": { + "description": "DeployedResource model collection.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the list of deployedResources.", + "type": "array", + "items": { + "$ref": "#/definitions/DeployedResourceModel" + } + }, + "nextLink": { + "description": "Gets or sets the value of next link.", + "type": "string" + } + } + }, + "DeployedResourceModelProperties": { + "description": "DeployedResource properties.", + "type": "object", + "properties": { + "resourcesDeployed": { + "description": "Gets or sets the list of resources deployed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "workloadDeploymentId": { + "description": "Gets or sets the workload deployment id.", + "type": "string", + "readOnly": true + }, + "displayName": { + "description": "Gets or sets the name of deployed resources.", + "type": "string", + "readOnly": true + }, + "deploymentTimestamp": { + "format": "date-time", + "description": "Gets or sets the deployment timestamp.", + "type": "string", + "readOnly": true + }, + "targetAzureService": { + "description": "Gets or sets the deployment target service.", + "enum": [ + "AzureKubernetesService", + "AzureAppServiceContainer", + "AzureAppServiceNative" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "WorkloadDeploymentTarget", + "modelAsString": true + } + }, + "containerRegistryId": { + "description": "Gets or sets the container registry ARM Id.", + "type": "string", + "readOnly": true + }, + "imageName": { + "description": "Gets or sets the image name.", + "type": "string", + "readOnly": true + }, + "imageTag": { + "description": "Gets or sets the image tag.", + "type": "string", + "readOnly": true + }, + "appIp": { + "description": "Gets or sets the app ip address.", + "type": "string", + "readOnly": true + }, + "secretStoreId": { + "description": "Gets or sets the secret store ARM Id.", + "type": "string" + }, + "customProperties": { + "description": "Gets or sets the custom deployed resource properties.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "DeployedResourcesProperties": { + "description": "Class for deployed resource properties.", + "type": "object", + "properties": { + "id": { + "description": "Gets or sets the ID.", + "type": "string", + "readOnly": true + }, + "deployedResourceId": { + "description": "Gets or sets the deployed resource id.", + "type": "string", + "readOnly": true + }, + "displayName": { + "description": "Gets or sets the name of deployed resources.", + "type": "string", + "readOnly": true + }, + "context": { + "description": "Gets or sets the context of deployed resources.", + "type": "string", + "readOnly": true + }, + "status": { + "description": "Gets or sets the status of deployed resources.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of deployed resources.", + "type": "string", + "readOnly": true + }, + "deploymentTimestamp": { + "format": "date-time", + "description": "Gets or sets the deployment timestamp.", + "type": "string", + "readOnly": true + }, + "isCleanUpDone": { + "description": "Gets or sets a value indicating whether resources are cleaned up from target.", + "type": "boolean", + "readOnly": true + }, + "isTestMigration": { + "description": "Gets or sets a value indicating whether scenario is test migration.", + "type": "boolean", + "readOnly": true + } + } + }, + "DirectoryPath": { + "description": "Second level entity for virtual directories.", + "type": "object", + "properties": { + "id": { + "description": "Gets the ID.", + "type": "string", + "readOnly": true + }, + "virtual": { + "description": "Gets or sets the virtual path for the directory.", + "type": "string" + }, + "physical": { + "description": "Gets or sets the physical path of the directory on the web server.", + "type": "string" + } + } + }, + "EnableReplicationWorkflowModelCustomProperties": { + "description": "Enable replication workflow model custom properties.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/WorkflowModelCustomProperties" + } + ], + "properties": { + "workloadInstanceProperties": { + "allOf": [ + { + "$ref": "#/definitions/WorkloadInstanceModelProperties" + } + ], + "readOnly": true + } + } + }, + "ErrorModel": { + "description": "Error model.", + "type": "object", + "properties": { + "id": { + "description": "Gets the ID.", + "type": "string", + "readOnly": true + }, + "code": { + "description": "Gets or sets the error code.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the error type.", + "type": "string", + "readOnly": true + }, + "severity": { + "description": "Gets or sets the error severity.", + "type": "string", + "readOnly": true + }, + "creationTime": { + "format": "date-time", + "description": "Gets or sets the creation time of error.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "Gets or sets the error message.", + "type": "string", + "readOnly": true + }, + "causes": { + "description": "Gets or sets the possible causes of error.", + "type": "string", + "readOnly": true + }, + "recommendation": { + "description": "Gets or sets the recommended action to resolve error.", + "type": "string", + "readOnly": true + } + } + }, + "GmsaAuthenticationProperties": { + "description": "Class for GMSA authentication details to configure Active Directory connectivity.", + "type": "object", + "properties": { + "configurationState": { + "description": "Gets or sets the current state of GMSA configuration.", + "enum": [ + "NotApplicable", + "Pending", + "InProgress", + "Completed", + "Failed" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "GmsaConfigurationState", + "modelAsString": true + } + }, + "gmsaAccountName": { + "description": "Gets or sets the name to be used for GMSA.", + "type": "string" + }, + "gmsaUsername": { + "description": "Gets or sets username of the user having authorization to access GMSA on Active Directory.", + "type": "string" + }, + "gmsaUserPassword": { + "description": "Gets or sets the password of the user specified by RestApi.Controllers.V2022_05_01_preview.Models.WorkloadDeployment.Gmsa.GmsaAuthenticationProperties.GmsaUsername.", + "type": "string" + }, + "adDomainControllerDns": { + "description": "Gets or sets the list of dns server that can resolve the Active Directory Domain Name/Address.", + "type": "string" + }, + "adDomainFqdn": { + "description": "Gets or sets the FQDN of the Active Directory Domain. For e.g. 'contoso.local', 'fareast.corp.microsoft.com' etc.", + "type": "string" + }, + "domainControllerAddress": { + "description": "Gets or sets the address of the Active Directory Domain Controller running Domain Services.", + "type": "string" + }, + "domainAdminUsername": { + "description": "Gets or sets the name of the user having admin rights on the Active Directory Domain Controller.", + "type": "string" + }, + "domainAdminPassword": { + "description": "Gets or sets the password of the user specified by RestApi.Controllers.V2022_05_01_preview.Models.WorkloadDeployment.Gmsa.GmsaAuthenticationProperties.DomainAdminUsername.", + "type": "string" + }, + "akvProperties": { + "$ref": "#/definitions/KeyVaultSecretStoreProperties" + }, + "gmsaCredSpecName": { + "description": "Gets Cred Spec Name to be used.", + "type": "string", + "readOnly": true + }, + "gmsaSecretName": { + "description": "Gets name of the secret where GMSA secret is stored in the KeyVault.", + "type": "string", + "readOnly": true + } + } + }, + "HealthErrorModel": { + "description": "Health error model.", + "type": "object", + "properties": { + "affectedResourceType": { + "description": "Gets or sets the type of affected resource type.", + "type": "string" + }, + "affectedResourceCorrelationIds": { + "description": "Gets or sets the list of affected resource correlation Ids. This can be used to\r\nuniquely identify the count of items affected by a specific category and severity\r\nas well as count of item affected by an specific issue.", + "type": "array", + "items": { + "type": "string" + } + }, + "childErrors": { + "description": "Gets or sets a list of child health errors associated with this error.", + "type": "array", + "items": { + "$ref": "#/definitions/InnerHealthErrorModel" + } + }, + "id": { + "description": "Gets the ID.", + "type": "string", + "readOnly": true + }, + "code": { + "description": "Gets or sets the error code.", + "type": "string", + "readOnly": true + }, + "healthCategory": { + "description": "Gets or sets the health category.", + "type": "string", + "readOnly": true + }, + "category": { + "description": "Gets or sets the error category.", + "type": "string", + "readOnly": true + }, + "severity": { + "description": "Gets or sets the error severity.", + "type": "string", + "readOnly": true + }, + "source": { + "description": "Gets or sets the error source.", + "type": "string", + "readOnly": true + }, + "creationTime": { + "format": "date-time", + "description": "Gets or sets the error creation time.", + "type": "string", + "readOnly": true + }, + "isCustomerResolvable": { + "description": "Gets or sets a value indicating whether the error is customer resolvable.", + "type": "boolean", + "readOnly": true + }, + "summary": { + "description": "Gets or sets the error summary.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "Gets or sets the error message.", + "type": "string", + "readOnly": true + }, + "causes": { + "description": "Gets or sets possible causes of the error.", + "type": "string", + "readOnly": true + }, + "recommendation": { + "description": "Gets or sets recommended action to resolve the error.", + "type": "string", + "readOnly": true + } + } + }, + "IISAKSWorkloadDeployment": { + "description": "IIS AKS workload deployment.", + "type": "object", + "properties": { + "clusterProperties": { + "$ref": "#/definitions/AKSDeploymentProperties" + }, + "deploymentSpec": { + "$ref": "#/definitions/AKSDeploymentSpecification" + }, + "deploymentHistory": { + "description": "Gets or sets the deployment history.", + "type": "array", + "items": { + "$ref": "#/definitions/DeployedResourcesProperties" + }, + "readOnly": true + }, + "authenticationProperties": { + "$ref": "#/definitions/GmsaAuthenticationProperties" + }, + "deploymentNamePrefix": { + "description": "Gets or sets the deployment name prefix.", + "type": "string" + }, + "automationArtifactProperties": { + "$ref": "#/definitions/AutomationArtifact" + }, + "directories": { + "description": "Gets or sets application directories.", + "type": "array", + "items": { + "$ref": "#/definitions/WebApplicationDirectory" + } + }, + "configurations": { + "description": "Gets or sets application configuration.", + "type": "array", + "items": { + "$ref": "#/definitions/WebApplicationConfiguration" + } + }, + "containerImageProperties": { + "$ref": "#/definitions/ContainerImageProperties" + }, + "buildContainerImages": { + "description": "Gets or sets the build container images.", + "type": "array", + "items": { + "$ref": "#/definitions/ContainerImageProperties" + } + }, + "bindings": { + "description": "Gets or sets the bindings for the application.", + "type": "array", + "items": { + "$ref": "#/definitions/Binding" + } + }, + "requests": { + "$ref": "#/definitions/ResourceRequirements" + }, + "limits": { + "$ref": "#/definitions/ResourceRequirements" + }, + "targetPlatformIdentity": { + "description": "Gets or sets the target platform managed identity.", + "type": "string" + }, + "monitoringProperties": { + "$ref": "#/definitions/AppInsightMonitoringProperties" + } + } + }, + "IISAKSWorkloadDeploymentModelCustomProperties": { + "description": "IIS workload instance model custom properties.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/WorkloadDeploymentModelCustomProperties" + } + ], + "properties": { + "iisAksWorkloadDeploymentProperties": { + "$ref": "#/definitions/IISAKSWorkloadDeployment" + } + } + }, + "IISApplicationDetails": { + "description": "IISApplication details.", + "type": "object", + "properties": { + "id": { + "description": "Gets the ID.", + "type": "string", + "readOnly": true + }, + "applicationPoolName": { + "description": "Gets or sets the application pool name.", + "type": "string" + }, + "managedPipelineMode": { + "description": "Gets or sets the managed pipeline mode.", + "type": "string" + }, + "runtimeVersion": { + "description": "Gets or sets the runtime version.", + "type": "string" + }, + "enable32BitApiOnWin64": { + "description": "Gets or sets a value indicating whether 32 bit applications are allowed to run on 64 bit.", + "type": "boolean" + }, + "path": { + "$ref": "#/definitions/DirectoryPath" + }, + "directories": { + "description": "Gets or sets the list of directories.", + "type": "array", + "items": { + "$ref": "#/definitions/DirectoryPath" + } + } + } + }, + "IISVirtualApplicationDetails": { + "description": "IIS virtual application details.", + "type": "object", + "properties": { + "id": { + "description": "Gets the ID.", + "type": "string", + "readOnly": true + }, + "isVirtualDirectory": { + "description": "Gets a value indicating whether the application corresponds to a directory.", + "type": "boolean", + "readOnly": true + }, + "path": { + "$ref": "#/definitions/DirectoryPath" + }, + "directories": { + "description": "Gets or sets the list of directories.", + "type": "array", + "items": { + "$ref": "#/definitions/DirectoryPath" + } + } + } + }, + "IISWebApplication": { + "description": "IISWeb application.", + "type": "object", + "properties": { + "applications": { + "description": "Gets or sets the list of applications for the IIS web site.", + "type": "array", + "items": { + "$ref": "#/definitions/IISApplicationDetails" + } + }, + "virtualApplications": { + "description": "Gets or sets the list of application units for the web site.", + "type": "array", + "items": { + "$ref": "#/definitions/IISVirtualApplicationDetails" + } + }, + "iisWebServer": { + "$ref": "#/definitions/IISWebServer" + }, + "applicationId": { + "description": "Gets or sets the web application id.", + "type": "string" + }, + "applicationName": { + "description": "Gets or sets the web application name.", + "type": "string" + }, + "applicationScratchPath": { + "description": "Gets or sets application scratch path.", + "type": "string" + }, + "webServerId": { + "description": "Gets or sets the web server id.", + "type": "string" + }, + "webServerName": { + "description": "Gets or sets the web server name.", + "type": "string" + }, + "displayName": { + "description": "Gets or sets the display name.", + "type": "string" + }, + "directories": { + "description": "Gets or sets application directories.", + "type": "array", + "items": { + "$ref": "#/definitions/WebApplicationDirectory" + } + }, + "configurations": { + "description": "Gets or sets application configuration.", + "type": "array", + "items": { + "$ref": "#/definitions/WebApplicationConfiguration" + } + }, + "path": { + "$ref": "#/definitions/DirectoryPath" + }, + "bindings": { + "description": "Gets or sets the bindings for the application.", + "type": "array", + "items": { + "$ref": "#/definitions/Binding" + } + }, + "primaryFramework": { + "$ref": "#/definitions/WebApplicationFramework" + }, + "discoveredFrameworks": { + "description": "Gets or sets the discovered frameworks of application.", + "type": "array", + "items": { + "$ref": "#/definitions/WebApplicationFramework" + } + }, + "requests": { + "$ref": "#/definitions/ResourceRequirements" + }, + "limits": { + "$ref": "#/definitions/ResourceRequirements" + } + } + }, + "IISWebServer": { + "description": "IISWeb server.", + "type": "object", + "properties": { + "serverId": { + "description": "Gets or sets the web server id.", + "type": "string" + }, + "serverName": { + "description": "Gets or sets the web server name.", + "type": "string" + }, + "rootConfigurationLocation": { + "description": "Gets or sets the server root configuration location.", + "type": "string" + }, + "version": { + "description": "Gets or sets the server version.", + "type": "string" + }, + "machines": { + "description": "Gets or sets the list of machines.", + "type": "array", + "items": { + "type": "string" + } + }, + "webApplications": { + "description": "Gets or sets the list of web applications.", + "type": "array", + "items": { + "type": "string" + } + }, + "displayName": { + "description": "Gets or sets the display name.", + "type": "string" + }, + "serverFqdn": { + "description": "Gets or sets the server FQDN.", + "type": "string" + }, + "ipAddresses": { + "description": "Gets or sets list of ip addresses.", + "type": "array", + "items": { + "type": "string" + } + }, + "runAsAccountId": { + "description": "Gets or sets the run as account id.", + "type": "string" + }, + "operatingSystemDetails": { + "$ref": "#/definitions/OperatingSystemDetails" + } + } + }, + "IISWorkloadInstanceModelCustomProperties": { + "description": "IIS workload instance model custom properties.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/WorkloadInstanceModelCustomProperties" + } + ], + "properties": { + "iisWebApplication": { + "$ref": "#/definitions/IISWebApplication" + }, + "containerName": { + "description": "Gets or sets the container Id.", + "type": "string" + }, + "fileshareName": { + "description": "Gets or sets the fileshare name.", + "type": "string" + } + } + }, + "IdentityModel": { + "description": "Identity model.", + "type": "object", + "properties": { + "tenantId": { + "description": "Gets or sets the tenant Id of the SPN with which MigrateAgent communicates to service.", + "type": "string" + }, + "applicationId": { + "description": "Gets or sets the client/application Id of the SPN with which MigrateAgent communicates to\r\nservice.", + "type": "string" + }, + "objectId": { + "description": "Gets or sets the object Id of the SPN with which MigrateAgent communicates to service.", + "type": "string" + }, + "audience": { + "description": "Gets or sets the audience of the SPN with which MigrateAgent communicates to service.", + "type": "string" + }, + "aadAuthority": { + "description": "Gets or sets the authority of the SPN with which MigrateAgent communicates to service.", + "type": "string" + } + } + }, + "InnerHealthErrorModel": { + "description": "Inner health error model.", + "type": "object", + "properties": { + "id": { + "description": "Gets the ID.", + "type": "string", + "readOnly": true + }, + "code": { + "description": "Gets or sets the error code.", + "type": "string", + "readOnly": true + }, + "healthCategory": { + "description": "Gets or sets the health category.", + "type": "string", + "readOnly": true + }, + "category": { + "description": "Gets or sets the error category.", + "type": "string", + "readOnly": true + }, + "severity": { + "description": "Gets or sets the error severity.", + "type": "string", + "readOnly": true + }, + "source": { + "description": "Gets or sets the error source.", + "type": "string", + "readOnly": true + }, + "creationTime": { + "format": "date-time", + "description": "Gets or sets the error creation time.", + "type": "string", + "readOnly": true + }, + "isCustomerResolvable": { + "description": "Gets or sets a value indicating whether the error is customer resolvable.", + "type": "boolean", + "readOnly": true + }, + "summary": { + "description": "Gets or sets the error summary.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "Gets or sets the error message.", + "type": "string", + "readOnly": true + }, + "causes": { + "description": "Gets or sets possible causes of the error.", + "type": "string", + "readOnly": true + }, + "recommendation": { + "description": "Gets or sets recommended action to resolve the error.", + "type": "string", + "readOnly": true + } + } + }, + "KeyVaultSecretStoreProperties": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/SecretStoreProperties" + } + ], + "properties": { + "tenantId": { + "type": "string" + }, + "subscriptionId": { + "type": "string" + }, + "resourceGroup": { + "type": "string" + }, + "keyvaultName": { + "type": "string" + }, + "managedIdentityProperties": { + "$ref": "#/definitions/ManagedIdentityProperties" + } + } + }, + "KubeSecretStoreProperties": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/SecretStoreProperties" + } + ] + }, + "ManagedIdentityProperties": { + "type": "object", + "properties": { + "tenantId": { + "type": "string" + }, + "subscriptionId": { + "type": "string" + }, + "resourceGroup": { + "type": "string" + }, + "managedIdentityName": { + "type": "string" + }, + "clientId": { + "type": "string" + }, + "principalId": { + "type": "string" + } + } + }, + "MigrateAgentModel": { + "description": "MigrateAgent model.", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/MigrateAgentModelProperties" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" + } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "MigrateAgentModelCollection": { + "description": "MigrateAgent model collection.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the list of agents.", + "type": "array", + "items": { + "$ref": "#/definitions/MigrateAgentModel" + } + }, + "nextLink": { + "description": "Gets or sets the value of next link.", + "type": "string" + } + } + }, + "MigrateAgentModelCustomProperties": { + "description": "MigrateAgent model custom properties.", + "required": [ + "instanceType" + ], + "type": "object", + "properties": { + "instanceType": { + "description": "Gets or sets the instance type.", + "type": "string" + } + }, + "x-ms-discriminator-value": "IISWorkload", + "discriminator": "instanceType" + }, + "MigrateAgentModelProperties": { + "description": "MigrateAgent model properties.", + "type": "object", + "properties": { + "correlationId": { + "description": "Gets or sets the MigrateAgent correlation Id.", + "type": "string", + "readOnly": true + }, + "machineId": { + "description": "Gets or sets the machine Id where MigrateAgent is running.", + "type": "string" + }, + "machineName": { + "description": "Gets or sets the machine name where MigrateAgent is running.", + "type": "string" + }, + "authenticationIdentity": { + "$ref": "#/definitions/IdentityModel" + }, + "isResponsive": { + "description": "Gets or sets a value indicating whether MigrateAgent is responsive.", + "type": "boolean", + "readOnly": true + }, + "lastHeartbeat": { + "format": "date-time", + "description": "Gets or sets the time when last heartbeat was sent by the MigrateAgent.", + "type": "string", + "readOnly": true + }, + "versionNumber": { + "description": "Gets or sets the MigrateAgent version.", + "type": "string", + "readOnly": true + }, + "provisioningState": { + "description": "Gets or sets the provisioning state of the MigrateAgent.", + "enum": [ + "Canceled", + "Creating", + "Deleting", + "Deleted", + "Failed", + "Succeeded", + "Updating" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "healthErrors": { + "description": "Gets or sets the list of health errors.", + "type": "array", + "items": { + "$ref": "#/definitions/HealthErrorModel" + }, + "readOnly": true + }, + "customProperties": { + "$ref": "#/definitions/MigrateAgentModelCustomProperties" + } + } + }, + "MigrateWorkflowModelCustomProperties": { + "description": "Migrate workflow model custom properties.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/WorkflowModelCustomProperties" + } + ], + "properties": { + "deployedResourcesProperties": { + "allOf": [ + { + "$ref": "#/definitions/DeployedResourcesProperties" + } + ], + "readOnly": true + } + } + }, + "MigrationConfiguration": { + "description": "MigrationConfiguration properties.", + "type": "object", + "properties": { + "storageAccountResourceId": { + "description": "Gets or sets the storage account resource Id.", + "type": "string" + }, + "keyVaultResourceId": { + "description": "Gets or sets the key vault resource Id.", + "type": "string" + }, + "migrationSolutionResourceId": { + "description": "Gets or sets the migration solution resource Id.", + "type": "string" + } + } + }, + "ModernizeProjectModel": { + "description": "ModernizeProject model.", + "type": "object", + "properties": { + "location": { + "description": "Gets or sets the location of the modernizeProject.", + "type": "string" + }, + "properties": { + "$ref": "#/definitions/ModernizeProjectModelProperties" + }, + "identity": { + "$ref": "#/definitions/ResourceIdentity" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" + } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "ModernizeProjectModelCollection": { + "description": "ModernizeProject model collection.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the list of modernizeProjects.", + "type": "array", + "items": { + "$ref": "#/definitions/ModernizeProjectModel" + } + }, + "nextLink": { + "description": "Gets or sets the value of next link.", + "type": "string" + } + } + }, + "ModernizeProjectModelProperties": { + "description": "ModernizeProject properties.", + "type": "object", + "properties": { + "provisioningState": { + "description": "Gets or sets the provisioning state of the ModernizeProject.", + "enum": [ + "Canceled", + "Creating", + "Deleting", + "Deleted", + "Failed", + "Succeeded", + "Updating" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "serviceResourceId": { + "description": "Gets or sets the service resource Id.", + "type": "string", + "readOnly": true + }, + "serviceEndpoint": { + "description": "Gets or sets the service endpoint.", + "type": "string", + "readOnly": true + }, + "migrationConfiguration": { + "$ref": "#/definitions/MigrationConfiguration" + } + } + }, + "ModernizeProjectStatisticsModel": { + "description": "ModernizeProject statistics model.", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ModernizeProjectStatisticsModelProperties" + } + } + }, + "ModernizeProjectStatisticsModelProperties": { + "description": "ModernizeProject statistics properties.", + "type": "object", + "properties": { + "workloadDeploymentStatistics": { + "allOf": [ + { + "$ref": "#/definitions/WorkloadDeploymentStatisticsModel" + } + ], + "readOnly": true + }, + "jobStatistics": { + "allOf": [ + { + "$ref": "#/definitions/WorkflowStatisticsModel" + } + ], + "readOnly": true + }, + "workloadInstanceStatistics": { + "allOf": [ + { + "$ref": "#/definitions/WorkloadInstanceStatisticsModel" + } + ], + "readOnly": true + }, + "modernizeProjectErrors": { + "description": "Gets or sets the list of modernizeProject health errors.", + "type": "array", + "items": { + "$ref": "#/definitions/HealthErrorModel" + }, + "readOnly": true + } + } + }, + "OperatingSystemDetails": { + "type": "object", + "properties": { + "os": { + "enum": [ + "Windows", + "Linux" + ], + "type": "string", + "x-ms-enum": { + "name": "OperatingSystemType", + "modelAsString": true + } + }, + "osName": { + "type": "string" + }, + "osVersion": { + "type": "string" + }, + "osArchitecture": { + "type": "string" + } + } + }, + "OperationStatus": { + "description": "Defines the operation status.", + "type": "object", + "properties": { + "id": { + "description": "Gets the Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets the operation name.", + "type": "string", + "readOnly": true + }, + "status": { + "description": "Gets the status of the operation. ARM expects the terminal status to be one of\r\nSucceeded/ Failed/ Canceled. All other values imply that the operation is still running.", + "type": "string", + "readOnly": true + }, + "startTime": { + "description": "Gets the start time.", + "type": "string", + "readOnly": true + }, + "endTime": { + "description": "Gets the end time.", + "type": "string", + "readOnly": true + } + } + }, + "PortMapping": { + "description": "WebApplication port mapping.", + "type": "object", + "properties": { + "internalPort": { + "format": "int32", + "description": "Gets or sets the Internal Port.", + "type": "integer" + }, + "externalPort": { + "format": "int32", + "description": "Gets or sets the External Port.", + "type": "integer" + } + } + }, + "ResourceIdentity": { + "type": "object", + "properties": { + "principalId": { + "type": "string" + }, + "tenantId": { + "type": "string" + }, + "type": { + "enum": [ + "None", + "SystemAssigned", + "UserAssigned" + ], + "type": "string", + "x-ms-enum": { + "name": "ResourceIdentityTypes", + "modelAsString": true + } + }, + "userAssignedIdentities": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentity" + } + } + } + }, + "ResourceRequirements": { + "description": "Resource Requirements.", + "type": "object", + "properties": { + "cpu": { + "description": "Gets or sets the Cpu requirement.", + "type": "string" + }, + "memory": { + "description": "Gets or sets the Memory requirement.", + "type": "string" + } + } + }, + "SecretStoreDetails": { + "type": "object", + "properties": { + "secretStore": { + "enum": [ + "None", + "KubeSecret", + "KeyVaultSecret", + "AppServiceAppSettings" + ], + "type": "string", + "x-ms-enum": { + "name": "SecretStoreType", + "modelAsString": true + } + }, + "secretStoreProperties": { + "$ref": "#/definitions/SecretStoreProperties" + } + } + }, + "SecretStoreProperties": { + "type": "object", + "properties": { + "secretStoreId": { + "type": "string" + }, + "inputType": { + "type": "string", + "readOnly": true + } + } + }, + "SystemDataModel": { + "description": "System data required to be defined for Azure resources.", + "type": "object", + "properties": { + "createdBy": { + "description": "Gets or sets identity that created the resource.", + "type": "string" + }, + "createdByType": { + "description": "Gets or sets the type of identity that created the resource: user, application,\r\nmanagedIdentity.", + "type": "string" + }, + "createdAt": { + "format": "date-time", + "description": "Gets or sets the timestamp of resource creation (UTC).", + "type": "string" + }, + "lastModifiedBy": { + "description": "Gets or sets the identity that last modified the resource.", + "type": "string" + }, + "lastModifiedByType": { + "description": "Gets or sets the type of identity that last modified the resource: user, application,\r\nmanagedIdentity.", + "type": "string" + }, + "lastModifiedAt": { + "format": "date-time", + "description": "Gets or sets the timestamp of resource last modification (UTC).", + "type": "string" + } + } + }, + "TargetStorageProfile": { + "description": "Storage profile for the directory on the target container.", + "type": "object", + "properties": { + "storageAccessType": { + "description": "Gets or sets the target storage access type.", + "enum": [ + "Shared", + "Exclusive" + ], + "type": "string", + "x-ms-enum": { + "name": "TargetStorageAccessType", + "modelAsString": true + } + }, + "storageProjectionType": { + "description": "Gets or sets the target projection type.", + "enum": [ + "ContainerFileSystem", + "PersistentVolume" + ], + "type": "string", + "x-ms-enum": { + "name": "TargetStorageProjectionType", + "modelAsString": true + } + }, + "hydrationStorageProviderType": { + "description": "Gets or sets the storage provider type on the target.\r\nApplicable when StorageProjectionType is not ContainerFileSystem.", + "enum": [ + "AzureFileShare" + ], + "type": "string", + "x-ms-enum": { + "name": "TargetHydrationStorageProviderType", + "modelAsString": true + } + }, + "persistentVolumeId": { + "description": "Gets or sets the target persistent volume id.\r\nApplicable when StorageProjectionType is PersistentVolume and on using an\r\nexisting PersistentVolume.", + "type": "string" + }, + "targetName": { + "description": "Gets or sets the name of the projected volume on the target environment.", + "type": "string" + }, + "targetSize": { + "description": "Gets or sets the storage size on the target.\r\nApplicable when StorageProjectionType is PersistentVolume and on creating a new\r\nPersistentVolume.", + "type": "string" + }, + "azureFileShareProfile": { + "$ref": "#/definitions/AzureFileShareHydrationProfile" + } + } + }, + "TaskModel": { + "description": "Task model.", + "type": "object", + "properties": { + "id": { + "description": "Gets the ID.", + "type": "string", + "readOnly": true + }, + "taskName": { + "description": "Gets or sets the task name.", + "type": "string", + "readOnly": true + }, + "state": { + "description": "Gets or sets the task state.", + "enum": [ + "Pending", + "Started", + "Succeeded", + "Failed", + "Cancelled", + "Skipped" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "TaskState", + "modelAsString": true + } + }, + "startTime": { + "format": "date-time", + "description": "Gets or sets the start time.", + "type": "string", + "readOnly": true + }, + "endTime": { + "format": "date-time", + "description": "Gets or sets the end time.", + "type": "string", + "readOnly": true + }, + "customProperties": { + "$ref": "#/definitions/TaskModelCustomProperties" + } + } + }, + "TaskModelCustomProperties": { + "description": "Task model custom properties.", + "type": "object", + "properties": { + "instanceType": { + "description": "Gets or sets the instance type.", + "type": "string" + } + } + }, + "TestMigrateCleanupWorkflowModelCustomProperties": { + "description": "Test migrate cleanup workflow model custom properties.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/WorkflowModelCustomProperties" + } + ], + "properties": { + "comments": { + "description": "Gets or sets the test migrate cleanup comments.", + "type": "string", + "readOnly": true + } + } + }, + "TestMigrateModel": { + "description": "Test migrate model.", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/TestMigrateModelProperties" + } + } + }, + "TestMigrateModelProperties": { + "description": "Test migrate model properties.", + "type": "object", + "properties": { + "customProperties": { + "$ref": "#/definitions/WorkloadDeploymentModelCustomProperties" + } + } + }, + "TestMigrateWorkflowModelCustomProperties": { + "description": "Test migrate workflow model custom properties.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/WorkflowModelCustomProperties" + } + ], + "properties": { + "deployedResourcesProperties": { + "allOf": [ + { + "$ref": "#/definitions/DeployedResourcesProperties" + } + ], + "readOnly": true + } + } + }, + "UpdateModernizeProjectModel": { + "description": "Update ModernizeProject model.", + "type": "object", + "properties": { + "tags": { + "description": "Gets or sets the resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "identity": { + "$ref": "#/definitions/ResourceIdentity" + } + }, + "x-ms-azure-resource": true + }, + "UserAssignedIdentity": { + "type": "object", + "properties": { + "principalId": { + "type": "string" + }, + "clientId": { + "type": "string" + } + } + }, + "VMwareMigrateAgentModelCustomProperties": { + "description": "VMware MigrateAgent model custom properties.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/MigrateAgentModelCustomProperties" + } + ], + "properties": { + "vmwareSiteId": { + "description": "Gets or sets the master Site Id of the Migrate Agent.", + "type": "string" + }, + "fabricFriendlyName": { + "description": "Gets or sets the friendly name of the,of the MigrateAgent fabric.", + "type": "string" + } + } + }, + "WebApplicationConfiguration": { + "description": "Class for web application configurations.", + "type": "object", + "properties": { + "id": { + "description": "Gets the ID.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the configuration name.", + "type": "string" + }, + "filePath": { + "description": "Gets or sets the configuration file path.", + "type": "string" + }, + "localFilePath": { + "description": "Gets or sets the configuration local file path.", + "type": "string" + }, + "targetFilePath": { + "description": "Gets or sets the configuration target file path.", + "type": "string" + }, + "section": { + "description": "Gets or sets the configuration section in the file.", + "type": "string" + }, + "type": { + "description": "Gets or sets the configuration type.", + "enum": [ + "IISConnectionString", + "IISAuthentication", + "ApacheTomcatContextResource" + ], + "type": "string", + "x-ms-enum": { + "name": "ConfigurationType", + "modelAsString": true + } + }, + "isDeploymentTimeEditable": { + "description": "Gets or sets a value indicating whether the configuration is edited or not by the user.", + "type": "boolean" + }, + "value": { + "description": "Gets or sets the configuration value.", + "type": "string" + }, + "identifier": { + "description": "Gets or sets the identifier for the configuration.", + "type": "string" + }, + "secretStoreDetails": { + "$ref": "#/definitions/SecretStoreDetails" + } + } + }, + "WebApplicationDirectory": { + "description": "WebApplication directory structure.", + "type": "object", + "properties": { + "id": { + "description": "Gets the unique id corresponding to the application directory.", + "type": "string", + "readOnly": true + }, + "isEditable": { + "description": "Gets or sets a value indicating whether the directory object is editable.\r\nTrue when the directory is added as an optional directory, false when discovery is done\r\nmanually.", + "type": "boolean" + }, + "sourcePaths": { + "description": "Gets or sets the paths of the directory on the source machine.", + "type": "array", + "items": { + "type": "string" + } + }, + "sourceSize": { + "description": "Gets or sets the size of the directory on the source machine.", + "type": "string" + }, + "storageProfile": { + "$ref": "#/definitions/TargetStorageProfile" + } + } + }, + "WebApplicationFramework": { + "description": "Framework specific data for a web application.", + "type": "object", + "properties": { + "id": { + "description": "Gets the ID.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets Name of the framework.", + "type": "string" + }, + "version": { + "description": "Gets or sets Version of the framework.", + "type": "string" + } + } + }, + "WorkflowModel": { + "description": "Workflow model.", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/WorkflowModelProperties" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" + } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "WorkflowModelCollection": { + "description": "Workflow model collection.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the list of workflows.", + "type": "array", + "items": { + "$ref": "#/definitions/WorkflowModel" + } + }, + "nextLink": { + "description": "Gets or sets the value of next link.", + "type": "string" + } + } + }, + "WorkflowModelCustomProperties": { + "description": "Workflow model custom properties.", + "required": [ + "instanceType" + ], + "type": "object", + "properties": { + "instanceType": { + "description": "Gets or sets the instance type.", + "enum": [ + "SampleWorkflow", + "EnableReplicationWorkflow", + "StopReplicationWorkflow", + "BuildContainerImageWorkflow", + "MigrateWorkflow", + "TestMigrateWorkflow", + "TestMigrateCleanupWorkflow", + "CompleteMigrationWorkflow", + "DisableReplicationWorkflow" + ], + "type": "string", + "x-ms-enum": { + "name": "WorkflowType", + "modelAsString": true + } + }, + "affectedObjectDetails": { + "description": "Gets or sets any custom properties of the affected object.", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "readOnly": true + } + }, + "x-ms-discriminator-value": "SampleWorkflow", + "discriminator": "instanceType" + }, + "WorkflowModelProperties": { + "description": "Workflow model properties.", + "type": "object", + "properties": { + "displayName": { + "description": "Gets or sets the friendly display name.", + "type": "string", + "readOnly": true + }, + "state": { + "description": "Gets or sets the workflow state.", + "enum": [ + "Pending", + "Started", + "Cancelling", + "Succeeded", + "Failed", + "Cancelled", + "CompletedWithInformation", + "CompletedWithWarnings", + "CompletedWithErrors" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "WorkflowState", + "modelAsString": true + } + }, + "startTime": { + "format": "date-time", + "description": "Gets or sets the start time.", + "type": "string", + "readOnly": true + }, + "endTime": { + "format": "date-time", + "description": "Gets or sets the end time.", + "type": "string", + "readOnly": true + }, + "objectId": { + "description": "Gets or sets the affected object Id.", + "type": "string", + "readOnly": true + }, + "objectName": { + "description": "Gets or sets the affected object name.", + "type": "string", + "readOnly": true + }, + "objectInternalId": { + "description": "Gets or sets the affected object internal Id.", + "type": "string", + "readOnly": true + }, + "objectInternalName": { + "description": "Gets or sets the affected object internal name.", + "type": "string", + "readOnly": true + }, + "objectType": { + "description": "Gets or sets the object type.", + "enum": [ + "ModernizeProject", + "MigrateAgent", + "WorkloadInstance", + "WorkloadDeployment", + "ReplicationPostAction" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "WorkflowObjectType", + "modelAsString": true + } + }, + "workloadInstanceProviderId": { + "description": "Gets or sets the workload instance provider.", + "type": "string", + "readOnly": true + }, + "workloadDeploymentProviderId": { + "description": "Gets or sets the workload deployment provider.", + "type": "string", + "readOnly": true + }, + "allowedActions": { + "description": "Gets or sets the list of allowed actions on the workflow.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "activityId": { + "description": "Gets or sets the workflow activity id.", + "type": "string", + "readOnly": true + }, + "tasks": { + "description": "Gets or sets the list of tasks.", + "type": "array", + "items": { + "$ref": "#/definitions/TaskModel" + }, + "readOnly": true + }, + "errors": { + "description": "Gets or sets the list of errors.", + "type": "array", + "items": { + "$ref": "#/definitions/ErrorModel" + }, + "readOnly": true + }, + "customProperties": { + "$ref": "#/definitions/WorkflowModelCustomProperties" + } + } + }, + "WorkflowStatisticsModel": { + "description": "Workflow statistics.", + "type": "object", + "properties": { + "count": { + "format": "int64", + "description": "Gets or sets the resource count.", + "type": "integer", + "readOnly": true + }, + "categorizedCounts": { + "description": "Gets or sets the categorized resource counts.", + "type": "object", + "additionalProperties": { + "format": "int64", + "type": "integer" + }, + "readOnly": true + } + } + }, + "WorkloadDeploymentModel": { + "description": "Workload deployment model.", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadDeploymentModelProperties" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" + } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "WorkloadDeploymentModelCollection": { + "description": "Workload deployment model collection.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the list of workload deployments.", + "type": "array", + "items": { + "$ref": "#/definitions/WorkloadDeploymentModel" + } + }, + "nextLink": { + "description": "Gets or sets the value of next link.", + "type": "string" + } + } + }, + "WorkloadDeploymentModelCustomProperties": { + "description": "Workload deployment model custom properties.", + "required": [ + "instanceType" + ], + "type": "object", + "properties": { + "instanceType": { + "description": "Gets or sets the instance type.", + "enum": [ + "IISAKSWorkloadDeployment", + "ApacheTomcatAKSWorkloadDeployment" + ], + "type": "string", + "x-ms-enum": { + "name": "WorkloadDeploymentType", + "modelAsString": true + } + } + }, + "discriminator": "instanceType", + "x-ms-discriminator-value": "IISAKSWorkloadDeployment" + }, + "WorkloadDeploymentModelProperties": { + "description": "Workload deployment model properties.", + "type": "object", + "properties": { + "provisioningState": { + "description": "Gets or sets the provisioning state of the workload deployment.", + "enum": [ + "Canceled", + "Creating", + "Deleting", + "Deleted", + "Failed", + "Succeeded", + "Updating" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "status": { + "description": "Gets or sets the workload deployment status.", + "enum": [ + "None", + "InitialReplication", + "ReplicationFailed", + "ImageBuildPending", + "ImageBuildInProgress", + "ImageBuildFailed", + "TestMigrating", + "CleanUpPending", + "CleanUpInProgress", + "ReadyToMigrate", + "Migrating", + "Migrated", + "MigrationFailed" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "WorkloadStatus", + "modelAsString": true + } + }, + "statusDescription": { + "description": "Gets or sets the workload deployment status description.", + "type": "string", + "readOnly": true + }, + "testMigrationStatus": { + "description": "Gets or sets the test migrate state.", + "enum": [ + "None", + "ImageBuildPending", + "ImageBuildInProgress", + "ImageBuildFailed", + "ReadyToTestMigrate", + "TestMigrationInProgress", + "TestMigrated", + "Failed", + "CleanupInProgress", + "CleanedUp" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ClientFacingTestMigrateStatus", + "modelAsString": true + } + }, + "testMigrationStatusDescription": { + "description": "Gets or sets the Test migrate state description.", + "type": "string", + "readOnly": true + }, + "migrationStatus": { + "description": "Gets or sets the migrate state.", + "enum": [ + "None", + "ImageBuildPending", + "ImageBuildInProgress", + "ImageBuildFailed", + "ReadyToTestMigrate", + "ReadyToMigrate", + "TestMigrating", + "TestMigrated", + "TestMigrateCleanupInProgress", + "Migrating", + "Migrated", + "Failed" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ClientFacingMigrateStatus", + "modelAsString": true + } + }, + "migrationStatusDescription": { + "description": "Gets or sets the migrate state description.", + "type": "string", + "readOnly": true + }, + "displayName": { + "description": "Gets or sets the display name.", + "type": "string" + }, + "targetPlatform": { + "description": "Gets or sets the deployment target platform.", + "enum": [ + "AzureKubernetesService", + "AzureAppServiceContainer", + "AzureAppServiceNative" + ], + "type": "string", + "x-ms-enum": { + "name": "WorkloadDeploymentTarget", + "modelAsString": true + } + }, + "workloadInstanceProperties": { + "$ref": "#/definitions/WorkloadInstanceModelProperties" + }, + "correlationId": { + "description": "Gets or sets the workload deployment correlation Id.", + "type": "string", + "readOnly": true + }, + "lastSuccessfulMigrateTime": { + "format": "date-time", + "description": "Gets or sets the Last successful unplanned migrate time.", + "type": "string", + "readOnly": true + }, + "lastSuccessfulTestMigrateTime": { + "format": "date-time", + "description": "Gets or sets the Last successful test migrate time.", + "type": "string", + "readOnly": true + }, + "currentJob": { + "allOf": [ + { + "$ref": "#/definitions/WorkloadJobProperties" + } + ], + "readOnly": true + }, + "allowedOperations": { + "description": "Gets or sets the allowed scenarios on the workload deployment.", + "type": "array", + "items": { + "enum": [ + "EnableReplication", + "DisableReplication", + "CompleteMigration", + "BuildContainerImage", + "Migrate", + "TestMigrate", + "TestMigrateCleanup", + "UpdateProperties" + ], + "type": "string", + "x-ms-enum": { + "name": "WorkloadScenario", + "modelAsString": true + } + }, + "readOnly": true + }, + "healthErrors": { + "description": "Gets or sets the list of health errors.", + "type": "array", + "items": { + "$ref": "#/definitions/HealthErrorModel" + }, + "readOnly": true + }, + "customProperties": { + "$ref": "#/definitions/WorkloadDeploymentModelCustomProperties" + } + } + }, + "WorkloadDeploymentStatisticsModel": { + "description": "Workload deployment statistics.", + "type": "object", + "properties": { + "healthErrors": { + "description": "Gets or sets the list of health errors.", + "type": "array", + "items": { + "$ref": "#/definitions/HealthErrorModel" + }, + "readOnly": true + }, + "count": { + "format": "int64", + "description": "Gets or sets the resource count.", + "type": "integer", + "readOnly": true + }, + "categorizedCounts": { + "description": "Gets or sets the categorized resource counts.", + "type": "object", + "additionalProperties": { + "format": "int64", + "type": "integer" + }, + "readOnly": true + } + } + }, + "WorkloadInstanceModel": { + "description": "Workload instance model.", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadInstanceModelProperties" + }, + "id": { + "description": "Gets or sets the Id of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets the name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Gets or sets the type of the resource.", + "type": "string", + "readOnly": true + }, + "systemData": { + "allOf": [ + { + "$ref": "#/definitions/SystemDataModel" + } + ], + "readOnly": true + }, + "tags": { + "description": "Gets or sets the resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "WorkloadInstanceModelCollection": { + "description": "Workload instance model collection.", + "type": "object", + "properties": { + "value": { + "description": "Gets or sets the list of workload instances.", + "type": "array", + "items": { + "$ref": "#/definitions/WorkloadInstanceModel" + } + }, + "nextLink": { + "description": "Gets or sets the value of next link.", + "type": "string" + } + } + }, + "WorkloadInstanceModelCustomProperties": { + "description": "Workload instance model custom properties.", + "required": [ + "instanceType" + ], + "type": "object", + "properties": { + "instanceType": { + "description": "Gets or sets the instance type.", + "enum": [ + "IISWorkload", + "ApacheTomcatWorkload" + ], + "type": "string", + "x-ms-enum": { + "name": "WorkloadType", + "modelAsString": true + } + }, + "webAppArmId": { + "description": "Gets or sets the Web application ARM id.", + "type": "string" + }, + "webAppSiteName": { + "description": "Gets or sets the Web application site name.", + "type": "string" + } + }, + "x-ms-discriminator-value": "IISWorkload", + "discriminator": "instanceType" + }, + "WorkloadInstanceModelProperties": { + "description": "Workload instance model properties.", + "type": "object", + "properties": { + "name": { + "description": "Gets or sets the workload instance name.", + "type": "string" + }, + "provisioningState": { + "description": "Gets or sets the provisioning state of the workload instance.", + "enum": [ + "Canceled", + "Creating", + "Deleting", + "Deleted", + "Failed", + "Succeeded", + "Updating" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "migrateAgentId": { + "description": "Gets or sets the migrate agent id associated with the workload instance.", + "type": "string" + }, + "displayName": { + "description": "Gets or sets the display name.", + "type": "string" + }, + "sourcePlatform": { + "description": "Gets or sets the source platform.", + "type": "string" + }, + "sourceName": { + "description": "Gets or sets the source name.", + "type": "string" + }, + "replicationHealth": { + "description": "Gets or sets the replication health of the workload instance.", + "enum": [ + "Normal", + "Warning", + "Critical" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "HealthStatus", + "modelAsString": true + } + }, + "replicationStatus": { + "description": "Gets or sets the replication state of the workload instance.", + "enum": [ + "None", + "Scheduled", + "InitialSync", + "Completed", + "Failed" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ClientFacingReplicationStatus", + "modelAsString": true + } + }, + "replicationStatusDescription": { + "description": "Gets or sets the workload replication state description.", + "type": "string", + "readOnly": true + }, + "lastSuccessfulReplicationCycleTime": { + "format": "date-time", + "description": "Gets or sets the Last successful replication cycle time.", + "type": "string", + "readOnly": true + }, + "healthErrors": { + "description": "Gets or sets the list of health errors.", + "type": "array", + "items": { + "$ref": "#/definitions/HealthErrorModel" + }, + "readOnly": true + }, + "currentJob": { + "allOf": [ + { + "$ref": "#/definitions/WorkloadJobProperties" + } + ], + "readOnly": true + }, + "allowedOperations": { + "description": "Gets or sets the allowed scenarios on the workload instance.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "masterSiteName": { + "description": "Gets or Sets the master site name.", + "type": "string" + }, + "customProperties": { + "$ref": "#/definitions/WorkloadInstanceModelCustomProperties" + } + } + }, + "WorkloadInstanceStatisticsModel": { + "description": "Workload instance statistics.", + "type": "object", + "properties": { + "healthErrors": { + "description": "Gets or sets the list of health errors.", + "type": "array", + "items": { + "$ref": "#/definitions/HealthErrorModel" + }, + "readOnly": true + }, + "count": { + "format": "int64", + "description": "Gets or sets the resource count.", + "type": "integer", + "readOnly": true + }, + "categorizedCounts": { + "description": "Gets or sets the categorized resource counts.", + "type": "object", + "additionalProperties": { + "format": "int64", + "type": "integer" + }, + "readOnly": true + } + } + }, + "WorkloadJobProperties": { + "description": "Workload job properties.", + "type": "object", + "properties": { + "scenarioName": { + "description": "Gets or sets workload scenario name.", + "type": "string", + "readOnly": true + }, + "id": { + "description": "Gets or sets workflow Id.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Gets or sets workflow name.", + "type": "string", + "readOnly": true + }, + "displayName": { + "description": "Gets or sets the workflow friendly display name.", + "type": "string", + "readOnly": true + }, + "state": { + "description": "Gets or sets workflow state.", + "type": "string", + "readOnly": true + }, + "startTime": { + "format": "date-time", + "description": "Gets or sets start time of the workflow.", + "type": "string", + "readOnly": true + }, + "endTime": { + "format": "date-time", + "description": "Gets or sets end time of the workflow.", + "type": "string", + "readOnly": true + } + } + } + }, + "parameters": { + "subscriptionId": { + "in": "path", + "name": "subscriptionId", + "description": "Azure Subscription Id in which project was created.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "resourceGroupName": { + "in": "path", + "name": "resourceGroupName", + "description": "Name of the Azure Resource Group that project is part of.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "api-version": { + "in": "query", + "name": "api-version", + "description": "Client Api Version.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + }, + "description": "Azure Active Directory OAuth2 Flow" + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "tags": [ + { + "name": "DeployedResource", + "description": "Deployed resources controller." + }, + { + "name": "MigrateAgent", + "description": "MigrateAgent Controller." + }, + { + "name": "ModernizeProject", + "description": "ModernizeProject Controller." + }, + { + "name": "Workflow", + "description": "Workflow controller." + }, + { + "name": "WorkloadDeployment", + "description": "Workload deployments controller." + }, + { + "name": "WorkloadInstance", + "description": "Workload instance controller." + } + ] +} diff --git a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/hubmigrate.json b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/hubmigrate.json index 5412f97f2916..fceb4448e34b 100644 --- a/specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/hubmigrate.json +++ b/specification/migrate/resource-manager/Microsoft.Migrate/stable/2020-05-01/hubmigrate.json @@ -1030,6 +1030,7 @@ }, "properties": { "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "Gets nested properties.", "readOnly": true } } diff --git a/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2020-07-07/migrate.json b/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2020-07-07/migrate.json index b9010a5afdea..a175375d6fb7 100644 --- a/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2020-07-07/migrate.json +++ b/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2020-07-07/migrate.json @@ -5910,7 +5910,7 @@ } }, "PrivateLinkResource": { - "description": "REST model used to encapsulate Private Link properties for tracked resources.", + "description": "Private link resource.", "type": "object", "properties": { "id": { @@ -5956,11 +5956,11 @@ } }, "PrivateLinkResourceCollection": { - "description": "Collection of PrivateLink resources.", + "description": "Collection of private link resources.", "type": "object", "properties": { "value": { - "description": "Gets the list of machines.", + "description": "List of private links.", "type": "array", "items": { "$ref": "#/definitions/PrivateLinkResource" @@ -5968,7 +5968,7 @@ "readOnly": true }, "nextLink": { - "description": "Gets the value of next link.", + "description": "Value of next link.", "type": "string", "readOnly": true } diff --git a/specification/migrate/resource-manager/readme.md b/specification/migrate/resource-manager/readme.md index 706251615a6e..b4d05c7be947 100644 --- a/specification/migrate/resource-manager/readme.md +++ b/specification/migrate/resource-manager/readme.md @@ -10,18 +10,20 @@ This is the AutoRest configuration file for Azure Migrate. ``` yaml $(java) && $(multiapi) batch: - - tag: package-2018-02 - - tag: package-2020-01 - - tag: package-2020-05 - - tag: package-2020-07 + - tag: package-migrate-2018-02 + - tag: package-migrate-2020-01 + - tag: package-migrate-2020-05 + - tag: package-migrate-2020-07 + - tag: package-hubmigrate-2020-05 + - tag: package-migrateengine-2022-05 ``` -### Tag: package-2018-02 and java +### Tag: package-migrate-2018-02 and java These settings apply only when `--tag=package-2018-02 --java` is specified on the command line. Please also specify `--azure-libraries-for-java=`. -``` yaml $(tag) == 'package-2018-02' && $(java) && $(multiapi) +``` yaml $(tag) == 'package-migrate-2018-02' && $(java) && $(multiapi) java: namespace: com.microsoft.azure.management.azuremigrate.v2018_02_02 output-folder: $(azure-libraries-for-java-folder)/sdk/azuremigrate/mgmt-v2018_02_02 @@ -29,12 +31,12 @@ regenerate-manager: true generate-interface: true ``` -### Tag: package-2020-01 and java +### Tag: package-migrate-2020-01 and java -These settings apply only when `--tag=package-2020-01 --java` is specified on the command line. +These settings apply only when `--tag=package-migrate-2020-01 --java` is specified on the command line. Please also specify `--azure-libraries-for-java=`. -``` yaml $(tag) == 'package-2020-01' && $(java) && $(multiapi) +``` yaml $(tag) == 'package-migrate-2020-01' && $(java) && $(multiapi) java: namespace: com.microsoft.azure.management.azuremigrate.v2020_01_01 output-folder: $(azure-libraries-for-java-folder)/sdk/azuremigrate/mgmt-v2020_01_01 @@ -42,12 +44,12 @@ regenerate-manager: true generate-interface: true ``` -### Tag: package-2020-05 and java +### Tag: package-migrate-2020-05 and java -These settings apply only when `--tag=package-2020-05 --java` is specified on the command line. +These settings apply only when `--tag=package-migrate-2020-05 --java` is specified on the command line. Please also specify `--azure-libraries-for-java=`. -``` yaml $(tag) == 'package-2020-05' && $(java) && $(multiapi) +``` yaml $(tag) == 'package-migrate-2020-05' && $(java) && $(multiapi) java: namespace: com.microsoft.azure.management.azuremigrate.v2020_05_01 output-folder: $(azure-libraries-for-java-folder)/sdk/azuremigrate/mgmt-v2020_05_01 @@ -55,12 +57,12 @@ regenerate-manager: true generate-interface: true ``` -### Tag: package-2020-07 and java +### Tag: package-migrate-2020-07 and java -These settings apply only when `--tag=package-2020-07 --java` is specified on the command line. +These settings apply only when `--tag=package-migrate-2020-07 --java` is specified on the command line. Please also specify `--azure-libraries-for-java=`. -``` yaml $(tag) == 'package-2020-07' && $(java) && $(multiapi) +``` yaml $(tag) == 'package-migrate-2020-07' && $(java) && $(multiapi) java: namespace: com.microsoft.azure.management.azuremigrate.v2020_07_07 output-folder: $(azure-libraries-for-java-folder)/sdk/azuremigrate/mgmt-v2020_07_07 @@ -68,6 +70,32 @@ regenerate-manager: true generate-interface: true ``` +### Tag: package-hubmigrate-2020-05 and java + +These settings apply only when `--tag=package-hubmigrate-2020-05 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-hubmigrate-2020-05' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.azuremigrate.v2020_05_01 + output-folder: $(azure-libraries-for-java-folder)/sdk/azuremigrate/mgmt-v2020_05_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-migrateengine-2022-05 and java + +These settings apply only when `--tag=package-migrateengine-2022-05 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-migrateengine-2022-05' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.azuremigrate.v2022_05_01 + output-folder: $(azure-libraries-for-java-folder)/sdk/azuremigrate/mgmt-v2022_05_01 +regenerate-manager: true +generate-interface: true +``` + ## Getting Started To build the SDK for Migrate, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: @@ -88,54 +116,63 @@ These are the global settings for the API. ``` yaml openapi-type: arm -tag: package-2019-10 +tag: package-migrate-2019-10 ``` -### Tag: package-2018-02 +### Tag: package-migrate-2018-02 -These settings apply only when `--tag=package-2018-02` is specified on the command line. +These settings apply only when `--tag=package-migrate-2018-02` is specified on the command line. -``` yaml $(tag) == 'package-2018-02' +``` yaml $(tag) == 'package-migrate-2018-02' input-file: - Microsoft.Migrate/stable/2018-02-02/migrate.json ``` -### Tag: package-2019-10 +### Tag: package-migrate-2019-10 -These settings apply only when `--tag=package-2019-10` is specified on the command line. +These settings apply only when `--tag=package-migrate-2019-10` is specified on the command line. -``` yaml $(tag) == 'package-2019-10' +``` yaml $(tag) == 'package-migrate-2019-10' input-file: - Microsoft.Migrate/stable/2019-10-01/migrate.json ``` -### Tag: package-2020-01 +### Tag: package-migrate-2020-01 -These settings apply only when `--tag=package-2020-01` is specified on the command line. +These settings apply only when `--tag=package-migrate-2020-01` is specified on the command line. -``` yaml $(tag) == 'package-2020-01' +``` yaml $(tag) == 'package-migrate-2020-01' input-file: - Microsoft.OffAzure/stable/2020-01-01/migrate.json ``` -### Tag: package-2020-05 +### Tag: package-hubmigrate-2020-05 -These settings apply only when `--tag=package-2020-05` is specified on the command line. +These settings apply only when `--tag=package-hubmigrate-2020-05` is specified on the command line. -``` yaml $(tag) == 'package-2020-05' +``` yaml $(tag) == 'package-hubmigrate-2020-05' input-file: - Microsoft.Migrate/stable/2020-05-01/hubmigrate.json ``` -### Tag: package-2020-07 +### Tag: package-migrate-2020-07 -These settings apply only when `--tag=package-2020-07` is specified on the command line. +These settings apply only when `--tag=package-migrate-2020-07` is specified on the command line. -``` yaml $(tag) == 'package-2020-07' +``` yaml $(tag) == 'package-migrate-2020-07' input-file: - Microsoft.OffAzure/stable/2020-07-07/migrate.json ``` +### Tag: package-migrateengine-2022-05 + +These settings apply only when `--tag=package-migrateengine-2022-05` is specified on the command line. + +``` yaml $(tag) == 'package-migrateengine-2022-05' +input-file: +- Microsoft.Migrate/preview/2022-05-01-preview/migrateEngine.json +``` + ## Suppression ``` yaml