Skip to content

Commit

Permalink
[DO NOT MERGE]Dev resourcemover microsoft.migrate 2021 08 01 (#15496)
Browse files Browse the repository at this point in the history
* 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
3 people authored Dec 13, 2021
1 parent c09b26d commit 7a56078
Show file tree
Hide file tree
Showing 21 changed files with 3,414 additions and 7 deletions.
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": {}
}
}
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": {}
}
}
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"
}
}
}
}
}
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": {}
}
}
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": {}
}
}
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"
}
}
}
}
}
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": {}
}
}
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"
}
}
]
}
}
}
}
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"
}
}
]
}
}
}
}
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": {}
}
}
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": {}
}
}
Loading

0 comments on commit 7a56078

Please sign in to comment.