-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DO NOT MERGE]Dev resourcemover microsoft.migrate 2021 08 01 (#15496)
* Adds base for updating Microsoft.Migrate from version stable/2021-01-01 to version 2021-08-01 * Updates readme * Updates API version in new specs and examples * Added systemData property in Move Collection & Move Resource object * Update resourcemovercollection.json Added Tags and User-Managed Identities Properties * Update resourcemovercollection.json Made changes for removing tags property for document resources and resource group. * Removed additional empty line * Swagger PrettierCheck * Updating examples for 2021-08-01 version. * CI Fix Co-authored-by: Anany Shah <[email protected]> Co-authored-by: yashjain4 <[email protected]>
- Loading branch information
1 parent
c09b26d
commit 7a56078
Showing
21 changed files
with
3,414 additions
and
7 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
...urce-manager/Microsoft.Migrate/stable/2021-08-01/examples/MoveCollections_BulkRemove.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"parameters": { | ||
"moveCollectionName": "movecollection1", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2021-08-01", | ||
"body": { | ||
"validateOnly": false, | ||
"moveResources": [ | ||
"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Migrate/MoveCollections/movecollection1/MoveResources/moveresource1" | ||
] | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/e80eb9fa-c996-4435-aa32-5af6f3d3077c/resourceGroups/RegionMoveRG-southcentralus-southeastasia/providers/Microsoft.Migrate/MoveCollections/MoveCollection-southcentralus-southeastasia/operations/1e4193c3-206e-4916-b124-1da16175eb0e", | ||
"name": "1e4193c3-206e-4916-b124-1da16175eb0e", | ||
"status": "Succeeded", | ||
"startTime": "6/17/2020 6:45:55 AM", | ||
"endTime": "6/17/2020 6:45:56 AM", | ||
"error": null, | ||
"properties": {} | ||
} | ||
}, | ||
"202": {} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...resource-manager/Microsoft.Migrate/stable/2021-08-01/examples/MoveCollections_Commit.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"parameters": { | ||
"moveCollectionName": "movecollection1", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2021-08-01", | ||
"body": { | ||
"validateOnly": false, | ||
"moveResources": [ | ||
"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Migrate/MoveCollections/movecollection1/MoveResources/moveresource1" | ||
] | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/e80eb9fa-c996-4435-aa32-5af6f3d3077c/resourceGroups/RegionMoveRG-southcentralus-southeastasia/providers/Microsoft.Migrate/MoveCollections/MoveCollection-southcentralus-southeastasia/operations/1e4193c3-206e-4916-b124-1da16175eb0e", | ||
"name": "1e4193c3-206e-4916-b124-1da16175eb0e", | ||
"status": "Succeeded", | ||
"startTime": "6/17/2020 6:45:55 AM", | ||
"endTime": "6/17/2020 6:45:56 AM", | ||
"error": null, | ||
"properties": {} | ||
} | ||
}, | ||
"202": {} | ||
} | ||
} |
72 changes: 72 additions & 0 deletions
72
...resource-manager/Microsoft.Migrate/stable/2021-08-01/examples/MoveCollections_Create.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
{ | ||
"parameters": { | ||
"moveCollectionName": "movecollection1", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2021-08-01", | ||
"body": { | ||
"location": "eastus2", | ||
"properties": { | ||
"sourceRegion": "eastus", | ||
"targetRegion": "westus" | ||
}, | ||
"identity": { | ||
"type": "SystemAssigned" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"name": "movecollection1", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Migrate/MoveCollections/movecollection1", | ||
"type": "Microsoft.Migrate/MoveCollections", | ||
"location": "United States", | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"principalId": "7488fa50-1c8e-42c4-a117-38c8d05d8b72", | ||
"tenantId": "cc7e5736-dbba-4059-a621-664eab9c1d80" | ||
}, | ||
"properties": { | ||
"sourceRegion": "eastus", | ||
"targetRegion": "westus", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"systemData": { | ||
"createdBy": "[email protected]", | ||
"createdByType": "User", | ||
"createdAt": "2021-08-29T15:06:54.2757906Z", | ||
"lastModifiedBy": "[email protected]", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-08-29T15:06:54.2757906Z" | ||
} | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"name": "movecollection1", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Migrate/MoveCollections/movecollection1", | ||
"type": "Microsoft.Migrate/MoveCollections", | ||
"location": "United States", | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"principalId": "7488fa50-1c8e-42c4-a117-38c8d05d8b72", | ||
"tenantId": "cc7e5736-dbba-4059-a621-664eab9c1d80" | ||
}, | ||
"properties": { | ||
"sourceRegion": "eastus", | ||
"targetRegion": "westus", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"systemData": { | ||
"createdBy": "[email protected]", | ||
"createdByType": "User", | ||
"createdAt": "2021-08-29T15:06:54.2757906Z", | ||
"lastModifiedBy": "[email protected]", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-08-29T15:06:54.2757906Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...resource-manager/Microsoft.Migrate/stable/2021-08-01/examples/MoveCollections_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"parameters": { | ||
"moveCollectionName": "movecollection1", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2021-08-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/e80eb9fa-c996-4435-aa32-5af6f3d3077c/resourceGroups/RegionMoveRG-southcentralus-southeastasia/providers/Microsoft.Migrate/MoveCollections/MoveCollection-southcentralus-southeastasia/operations/1e4193c3-206e-4916-b124-1da16175eb0e", | ||
"name": "1e4193c3-206e-4916-b124-1da16175eb0e", | ||
"status": "Succeeded", | ||
"startTime": "6/17/2020 6:45:55 AM", | ||
"endTime": "6/17/2020 6:45:56 AM", | ||
"error": null, | ||
"properties": {} | ||
} | ||
}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...esource-manager/Microsoft.Migrate/stable/2021-08-01/examples/MoveCollections_Discard.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"parameters": { | ||
"moveCollectionName": "movecollection1", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2021-08-01", | ||
"body": { | ||
"validateOnly": false, | ||
"moveResources": [ | ||
"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Migrate/MoveCollections/movecollection1/MoveResources/moveresource1" | ||
] | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/e80eb9fa-c996-4435-aa32-5af6f3d3077c/resourceGroups/RegionMoveRG-southcentralus-southeastasia/providers/Microsoft.Migrate/MoveCollections/MoveCollection-southcentralus-southeastasia/operations/1e4193c3-206e-4916-b124-1da16175eb0e", | ||
"name": "1e4193c3-206e-4916-b124-1da16175eb0e", | ||
"status": "Succeeded", | ||
"startTime": "6/17/2020 6:45:55 AM", | ||
"endTime": "6/17/2020 6:45:56 AM", | ||
"error": null, | ||
"properties": {} | ||
} | ||
}, | ||
"202": {} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...er/resource-manager/Microsoft.Migrate/stable/2021-08-01/examples/MoveCollections_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"parameters": { | ||
"moveCollectionName": "movecollection1", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2021-08-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "movecollection1", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Migrate/MoveCollections/movecollection1", | ||
"type": "Microsoft.Migrate/MoveCollections", | ||
"location": "United States", | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"principalId": "7488fa50-1c8e-42c4-a117-38c8d05d8b72", | ||
"tenantId": "cc7e5736-dbba-4059-a621-664eab9c1d80" | ||
}, | ||
"properties": { | ||
"sourceRegion": "eastus", | ||
"targetRegion": "westus", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"systemData": { | ||
"createdBy": "[email protected]", | ||
"createdByType": "User", | ||
"createdAt": "2021-08-01T15:06:54.2757906Z", | ||
"lastModifiedBy": "[email protected]", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-08-27T17:16:24.3644126Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...ce-manager/Microsoft.Migrate/stable/2021-08-01/examples/MoveCollections_InitiateMove.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"parameters": { | ||
"moveCollectionName": "movecollection1", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2021-08-01", | ||
"body": { | ||
"validateOnly": false, | ||
"moveResources": [ | ||
"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Migrate/MoveCollections/movecollection1/MoveResources/moveresource1" | ||
] | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/e80eb9fa-c996-4435-aa32-5af6f3d3077c/resourceGroups/RegionMoveRG-southcentralus-southeastasia/providers/Microsoft.Migrate/MoveCollections/MoveCollection-southcentralus-southeastasia/operations/1e4193c3-206e-4916-b124-1da16175eb0e", | ||
"name": "1e4193c3-206e-4916-b124-1da16175eb0e", | ||
"status": "Succeeded", | ||
"startTime": "6/17/2020 6:45:55 AM", | ||
"endTime": "6/17/2020 6:45:56 AM", | ||
"error": null, | ||
"properties": {} | ||
} | ||
}, | ||
"202": {} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
...igrate/stable/2021-08-01/examples/MoveCollections_ListMoveCollectionsByResourceGroup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"parameters": { | ||
"moveCollectionName": "movecollection1", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2021-08-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "movecollection1", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Migrate/MoveCollections/movecollection1", | ||
"type": "Microsoft.Migrate/MoveCollections", | ||
"location": "United States", | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"principalId": "7488fa50-1c8e-42c4-a117-38c8d05d8b72", | ||
"tenantId": "cc7e5736-dbba-4059-a621-664eab9c1d80" | ||
}, | ||
"properties": { | ||
"sourceRegion": "eastus", | ||
"targetRegion": "westus", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"systemData": { | ||
"createdBy": "[email protected]", | ||
"createdByType": "User", | ||
"createdAt": "2021-08-29T15:06:54.2757906Z", | ||
"lastModifiedBy": "[email protected]", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-08-29T15:06:54.2757906Z" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
...Migrate/stable/2021-08-01/examples/MoveCollections_ListMoveCollectionsBySubscription.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"parameters": { | ||
"moveCollectionName": "movecollection1", | ||
"subscriptionId": "subid", | ||
"api-version": "2021-08-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "movecollection1", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Migrate/MoveCollections/movecollection1", | ||
"type": "Microsoft.Migrate/MoveCollections", | ||
"location": "United States", | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"principalId": "7488fa50-1c8e-42c4-a117-38c8d05d8b72", | ||
"tenantId": "cc7e5736-dbba-4059-a621-664eab9c1d80" | ||
}, | ||
"properties": { | ||
"sourceRegion": "eastus", | ||
"targetRegion": "westus", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"systemData": { | ||
"createdBy": "[email protected]", | ||
"createdByType": "User", | ||
"createdAt": "2021-08-29T15:06:54.2757906Z", | ||
"lastModifiedBy": "[email protected]", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-08-29T15:06:54.2757906Z" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...esource-manager/Microsoft.Migrate/stable/2021-08-01/examples/MoveCollections_Prepare.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"parameters": { | ||
"moveCollectionName": "movecollection1", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2021-08-01", | ||
"body": { | ||
"validateOnly": false, | ||
"moveResources": [ | ||
"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Migrate/MoveCollections/movecollection1/MoveResources/moveresource1" | ||
] | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/e80eb9fa-c996-4435-aa32-5af6f3d3077c/resourceGroups/RegionMoveRG-southcentralus-southeastasia/providers/Microsoft.Migrate/MoveCollections/MoveCollection-southcentralus-southeastasia/operations/1e4193c3-206e-4916-b124-1da16175eb0e", | ||
"name": "1e4193c3-206e-4916-b124-1da16175eb0e", | ||
"status": "Succeeded", | ||
"startTime": "6/17/2020 6:45:55 AM", | ||
"endTime": "6/17/2020 6:45:56 AM", | ||
"error": null, | ||
"properties": {} | ||
} | ||
}, | ||
"202": {} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...ger/Microsoft.Migrate/stable/2021-08-01/examples/MoveCollections_ResolveDependencies.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"parameters": { | ||
"moveCollectionName": "movecollection1", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2021-08-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/e80eb9fa-c996-4435-aa32-5af6f3d3077c/resourceGroups/RegionMoveRG-southcentralus-southeastasia/providers/Microsoft.Migrate/MoveCollections/MoveCollection-southcentralus-southeastasia/operations/1e4193c3-206e-4916-b124-1da16175eb0e", | ||
"name": "1e4193c3-206e-4916-b124-1da16175eb0e", | ||
"status": "Succeeded", | ||
"startTime": "6/17/2020 6:45:55 AM", | ||
"endTime": "6/17/2020 6:45:56 AM", | ||
"error": null, | ||
"properties": {} | ||
} | ||
}, | ||
"202": {} | ||
} | ||
} |
Oops, something went wrong.