Microsoft.Migrate (stable:2021-01-01)

2025/09/26 • 19 new, 19 deleted methods

MoveCollections_Create (new)
Description :  Creates or updates a move collection.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
api-version: string ,
body:
{
id: string ,
name: string ,
type: string ,
etag: string ,
tags: object ,
location: string ,
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
}
,
properties:
{
sourceRegion: string ,
targetRegion: string ,
provisioningState: enum ,
errors: string ,
}
,
}
,
}

⚐ Response (201)

{
id: string ,
name: string ,
type: string ,
etag: string ,
tags: object ,
location: string ,
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
}
,
properties:
{
sourceRegion: string ,
targetRegion: string ,
provisioningState: enum ,
errors: string ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
etag: string ,
tags: object ,
location: string ,
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
}
,
properties:
{
sourceRegion: string ,
targetRegion: string ,
provisioningState: enum ,
errors: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveCollections_Update (new)
Description :  Updates a move collection.
Reference :  Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
api-version: string ,
body:
{
tags: object ,
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
}
,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
etag: string ,
tags: object ,
location: string ,
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
}
,
properties:
{
sourceRegion: string ,
targetRegion: string ,
provisioningState: enum ,
errors: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveCollections_Delete (new)
Description :  Deletes a move collection.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
status: string ,
startTime: string ,
endTime: string ,
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info:
{
moveResources:
[
{
id: string ,
sourceId: string ,
moveResources:
[
string ,
]
,
}
,
]
,
}
,
}
,
]
,
}
,
properties: object ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveCollections_Get (new)
Description :  Gets the move collection.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
etag: string ,
tags: object ,
location: string ,
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
}
,
properties:
{
sourceRegion: string ,
targetRegion: string ,
provisioningState: enum ,
errors: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveCollections_Prepare (new)
Description :  Initiates prepare for the set of resources included in the request body. The prepare operation is on the moveResources that are in the moveState 'PreparePending' or 'PrepareFailed', on a successful completion the moveResource moveState do a transition to MovePending. To aid the user to prerequisite the operation the client can call operation with validateOnly property set to true.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/prepare
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
api-version: string ,
body:
{
validateOnly: boolean ,
moveResources:
[
string ,
]
,
moveResourceInputType: enum ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
status: string ,
startTime: string ,
endTime: string ,
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info:
{
moveResources:
[
{
id: string ,
sourceId: string ,
moveResources:
[
string ,
]
,
}
,
]
,
}
,
}
,
]
,
}
,
properties: object ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveCollections_InitiateMove (new)
Description :  Moves the set of resources included in the request body. The move operation is triggered after the moveResources are in the moveState 'MovePending' or 'MoveFailed', on a successful completion the moveResource moveState do a transition to CommitPending. To aid the user to prerequisite the operation the client can call operation with validateOnly property set to true.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/initiateMove
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
api-version: string ,
body:
{
validateOnly: boolean ,
moveResources:
[
string ,
]
,
moveResourceInputType: enum ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
status: string ,
startTime: string ,
endTime: string ,
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info:
{
moveResources:
[
{
id: string ,
sourceId: string ,
moveResources:
[
string ,
]
,
}
,
]
,
}
,
}
,
]
,
}
,
properties: object ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveCollections_Commit (new)
Description :  Commits the set of resources included in the request body. The commit operation is triggered on the moveResources in the moveState 'CommitPending' or 'CommitFailed', on a successful completion the moveResource moveState do a transition to Committed. To aid the user to prerequisite the operation the client can call operation with validateOnly property set to true.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/commit
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
api-version: string ,
body:
{
validateOnly: boolean ,
moveResources:
[
string ,
]
,
moveResourceInputType: enum ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
status: string ,
startTime: string ,
endTime: string ,
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info:
{
moveResources:
[
{
id: string ,
sourceId: string ,
moveResources:
[
string ,
]
,
}
,
]
,
}
,
}
,
]
,
}
,
properties: object ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveCollections_Discard (new)
Description :  Discards the set of resources included in the request body. The discard operation is triggered on the moveResources in the moveState 'CommitPending' or 'DiscardFailed', on a successful completion the moveResource moveState do a transition to MovePending. To aid the user to prerequisite the operation the client can call operation with validateOnly property set to true.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/discard
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
api-version: string ,
body:
{
validateOnly: boolean ,
moveResources:
[
string ,
]
,
moveResourceInputType: enum ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
status: string ,
startTime: string ,
endTime: string ,
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info:
{
moveResources:
[
{
id: string ,
sourceId: string ,
moveResources:
[
string ,
]
,
}
,
]
,
}
,
}
,
]
,
}
,
properties: object ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveCollections_ResolveDependencies (new)
Description :  Computes, resolves and validate the dependencies of the moveResources in the move collection.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/resolveDependencies
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
status: string ,
startTime: string ,
endTime: string ,
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info:
{
moveResources:
[
{
id: string ,
sourceId: string ,
moveResources:
[
string ,
]
,
}
,
]
,
}
,
}
,
]
,
}
,
properties: object ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveResources_List (new)
Description :  Lists the Move Resources in the move collection.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/moveResources
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
sourceId: string ,
targetId: string ,
existingTargetId: string ,
resourceSettings:
{
resourceType: string ,
targetResourceName: string ,
}
,
sourceResourceSettings:
{
resourceType: string ,
targetResourceName: string ,
}
,
moveStatus: string ,
dependsOn:
[
{
id: string ,
resolutionStatus: string ,
resolutionType: enum ,
dependencyType: enum ,
manualResolution:
{
targetId: string ,
}
,
automaticResolution:
{
moveResourceId: string ,
}
,
isOptional: string ,
}
,
]
,
dependsOnOverrides:
[
{
id: string ,
targetId: string ,
}
,
]
,
isResolveRequired: boolean ,
errors: string ,
}
,
}
,
]
,
nextLink: string ,
summaryCollection:
{
fieldName: string ,
summary:
[
{
count: integer ,
item: string ,
}
,
]
,
}
,
totalCount: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
UnresolvedDependencies_Get (new)
Description :  Gets a list of unresolved dependencies.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/unresolvedDependencies
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
dependencyLevel: string ,
$orderby: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
count: integer ,
id: string ,
}
,
]
,
nextLink: string ,
summaryCollection:
{
fieldName: string ,
summary:
[
{
count: integer ,
item: string ,
}
,
]
,
}
,
totalCount: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveCollections_BulkRemove (new)
Description :  Removes the set of move resources included in the request body from move collection. The orchestration is done by service. To aid the user to prerequisite the operation the client can call operation with validateOnly property set to true.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/bulkRemove
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
api-version: string ,
body:
{
validateOnly: boolean ,
moveResources:
[
string ,
]
,
moveResourceInputType: enum ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
status: string ,
startTime: string ,
endTime: string ,
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info:
{
moveResources:
[
{
id: string ,
sourceId: string ,
moveResources:
[
string ,
]
,
}
,
]
,
}
,
}
,
]
,
}
,
properties: object ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveResources_Create (new)
Description :  Creates or updates a Move Resource in the move collection.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/moveResources/{moveResourceName}
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
moveResourceName: string ,
api-version: string ,
body:
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
sourceId: string ,
targetId: string ,
existingTargetId: string ,
resourceSettings:
{
resourceType: string ,
targetResourceName: string ,
}
,
sourceResourceSettings:
{
resourceType: string ,
targetResourceName: string ,
}
,
moveStatus: string ,
dependsOn:
[
{
id: string ,
resolutionStatus: string ,
resolutionType: enum ,
dependencyType: enum ,
manualResolution:
{
targetId: string ,
}
,
automaticResolution:
{
moveResourceId: string ,
}
,
isOptional: string ,
}
,
]
,
dependsOnOverrides:
[
{
id: string ,
targetId: string ,
}
,
]
,
isResolveRequired: boolean ,
errors: string ,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
sourceId: string ,
targetId: string ,
existingTargetId: string ,
resourceSettings:
{
resourceType: string ,
targetResourceName: string ,
}
,
sourceResourceSettings:
{
resourceType: string ,
targetResourceName: string ,
}
,
moveStatus: string ,
dependsOn:
[
{
id: string ,
resolutionStatus: string ,
resolutionType: enum ,
dependencyType: enum ,
manualResolution:
{
targetId: string ,
}
,
automaticResolution:
{
moveResourceId: string ,
}
,
isOptional: string ,
}
,
]
,
dependsOnOverrides:
[
{
id: string ,
targetId: string ,
}
,
]
,
isResolveRequired: boolean ,
errors: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveResources_Delete (new)
Description :  Deletes a Move Resource from the move collection.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/moveResources/{moveResourceName}
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
moveResourceName: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
status: string ,
startTime: string ,
endTime: string ,
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info:
{
moveResources:
[
{
id: string ,
sourceId: string ,
moveResources:
[
string ,
]
,
}
,
]
,
}
,
}
,
]
,
}
,
properties: object ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveResources_Get (new)
Description :  Gets the Move Resource.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/moveResources/{moveResourceName}
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
moveResourceName: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
sourceId: string ,
targetId: string ,
existingTargetId: string ,
resourceSettings:
{
resourceType: string ,
targetResourceName: string ,
}
,
sourceResourceSettings:
{
resourceType: string ,
targetResourceName: string ,
}
,
moveStatus: string ,
dependsOn:
[
{
id: string ,
resolutionStatus: string ,
resolutionType: enum ,
dependencyType: enum ,
manualResolution:
{
targetId: string ,
}
,
automaticResolution:
{
moveResourceId: string ,
}
,
isOptional: string ,
}
,
]
,
dependsOnOverrides:
[
{
id: string ,
targetId: string ,
}
,
]
,
isResolveRequired: boolean ,
errors: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
OperationsDiscovery_Get (new)
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Migrate/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: string ,
properties: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveCollections_ListMoveCollectionsBySubscription (new)
Description :  Get all the Move Collections in the subscription.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Migrate/moveCollections
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
etag: string ,
tags: object ,
location: string ,
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
}
,
properties:
{
sourceRegion: string ,
targetRegion: string ,
provisioningState: enum ,
errors: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveCollections_ListMoveCollectionsByResourceGroup (new)
Description :  Get all the Move Collections in the resource group.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
etag: string ,
tags: object ,
location: string ,
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
}
,
properties:
{
sourceRegion: string ,
targetRegion: string ,
provisioningState: enum ,
errors: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveCollections_ListRequiredFor (new)
Description :  List of the move resources for which an arm resource is required for.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/requiredFor
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
sourceId: string ,
api-version: string ,
}

⚐ Response (200)

{
sourceIds:
[
string ,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveCollections_Create (removed)
Description :  Creates or updates a move collection.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
api-version: string ,
body:
{
id: string ,
name: string ,
type: string ,
etag: string ,
tags: object ,
location: string ,
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
}
,
properties:
{
sourceRegion: string ,
targetRegion: string ,
provisioningState: enum ,
errors: string ,
}
,
}
,
}

⚐ Response (201)

{
id: string ,
name: string ,
type: string ,
etag: string ,
tags: object ,
location: string ,
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
}
,
properties:
{
sourceRegion: string ,
targetRegion: string ,
provisioningState: enum ,
errors: string ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
etag: string ,
tags: object ,
location: string ,
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
}
,
properties:
{
sourceRegion: string ,
targetRegion: string ,
provisioningState: enum ,
errors: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveCollections_Update (removed)
Description :  Updates a move collection.
Reference :  Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
api-version: string ,
body:
{
tags: object ,
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
}
,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
etag: string ,
tags: object ,
location: string ,
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
}
,
properties:
{
sourceRegion: string ,
targetRegion: string ,
provisioningState: enum ,
errors: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveCollections_Delete (removed)
Description :  Deletes a move collection.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
status: string ,
startTime: string ,
endTime: string ,
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info:
{
moveResources:
[
{
id: string ,
sourceId: string ,
moveResources:
[
string ,
]
,
}
,
]
,
}
,
}
,
]
,
}
,
properties: object ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveCollections_Get (removed)
Description :  Gets the move collection.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
etag: string ,
tags: object ,
location: string ,
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
}
,
properties:
{
sourceRegion: string ,
targetRegion: string ,
provisioningState: enum ,
errors: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveCollections_Prepare (removed)
Description :  Initiates prepare for the set of resources included in the request body. The prepare operation is on the moveResources that are in the moveState 'PreparePending' or 'PrepareFailed', on a successful completion the moveResource moveState do a transition to MovePending. To aid the user to prerequisite the operation the client can call operation with validateOnly property set to true.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/prepare
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
api-version: string ,
body:
{
validateOnly: boolean ,
moveResources:
[
string ,
]
,
moveResourceInputType: enum ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
status: string ,
startTime: string ,
endTime: string ,
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info:
{
moveResources:
[
{
id: string ,
sourceId: string ,
moveResources:
[
string ,
]
,
}
,
]
,
}
,
}
,
]
,
}
,
properties: object ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveCollections_InitiateMove (removed)
Description :  Moves the set of resources included in the request body. The move operation is triggered after the moveResources are in the moveState 'MovePending' or 'MoveFailed', on a successful completion the moveResource moveState do a transition to CommitPending. To aid the user to prerequisite the operation the client can call operation with validateOnly property set to true.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/initiateMove
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
api-version: string ,
body:
{
validateOnly: boolean ,
moveResources:
[
string ,
]
,
moveResourceInputType: enum ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
status: string ,
startTime: string ,
endTime: string ,
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info:
{
moveResources:
[
{
id: string ,
sourceId: string ,
moveResources:
[
string ,
]
,
}
,
]
,
}
,
}
,
]
,
}
,
properties: object ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveCollections_Commit (removed)
Description :  Commits the set of resources included in the request body. The commit operation is triggered on the moveResources in the moveState 'CommitPending' or 'CommitFailed', on a successful completion the moveResource moveState do a transition to Committed. To aid the user to prerequisite the operation the client can call operation with validateOnly property set to true.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/commit
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
api-version: string ,
body:
{
validateOnly: boolean ,
moveResources:
[
string ,
]
,
moveResourceInputType: enum ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
status: string ,
startTime: string ,
endTime: string ,
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info:
{
moveResources:
[
{
id: string ,
sourceId: string ,
moveResources:
[
string ,
]
,
}
,
]
,
}
,
}
,
]
,
}
,
properties: object ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveCollections_Discard (removed)
Description :  Discards the set of resources included in the request body. The discard operation is triggered on the moveResources in the moveState 'CommitPending' or 'DiscardFailed', on a successful completion the moveResource moveState do a transition to MovePending. To aid the user to prerequisite the operation the client can call operation with validateOnly property set to true.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/discard
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
api-version: string ,
body:
{
validateOnly: boolean ,
moveResources:
[
string ,
]
,
moveResourceInputType: enum ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
status: string ,
startTime: string ,
endTime: string ,
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info:
{
moveResources:
[
{
id: string ,
sourceId: string ,
moveResources:
[
string ,
]
,
}
,
]
,
}
,
}
,
]
,
}
,
properties: object ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveCollections_ResolveDependencies (removed)
Description :  Computes, resolves and validate the dependencies of the moveResources in the move collection.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/resolveDependencies
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
status: string ,
startTime: string ,
endTime: string ,
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info:
{
moveResources:
[
{
id: string ,
sourceId: string ,
moveResources:
[
string ,
]
,
}
,
]
,
}
,
}
,
]
,
}
,
properties: object ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveResources_List (removed)
Description :  Lists the Move Resources in the move collection.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/moveResources
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
sourceId: string ,
targetId: string ,
existingTargetId: string ,
resourceSettings:
{
resourceType: string ,
targetResourceName: string ,
}
,
sourceResourceSettings:
{
resourceType: string ,
targetResourceName: string ,
}
,
moveStatus: string ,
dependsOn:
[
{
id: string ,
resolutionStatus: string ,
resolutionType: enum ,
dependencyType: enum ,
manualResolution:
{
targetId: string ,
}
,
automaticResolution:
{
moveResourceId: string ,
}
,
isOptional: string ,
}
,
]
,
dependsOnOverrides:
[
{
id: string ,
targetId: string ,
}
,
]
,
isResolveRequired: boolean ,
errors: string ,
}
,
}
,
]
,
nextLink: string ,
summaryCollection:
{
fieldName: string ,
summary:
[
{
count: integer ,
item: string ,
}
,
]
,
}
,
totalCount: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
UnresolvedDependencies_Get (removed)
Description :  Gets a list of unresolved dependencies.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/unresolvedDependencies
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
dependencyLevel: string ,
$orderby: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
count: integer ,
id: string ,
}
,
]
,
nextLink: string ,
summaryCollection:
{
fieldName: string ,
summary:
[
{
count: integer ,
item: string ,
}
,
]
,
}
,
totalCount: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveCollections_BulkRemove (removed)
Description :  Removes the set of move resources included in the request body from move collection. The orchestration is done by service. To aid the user to prerequisite the operation the client can call operation with validateOnly property set to true.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/bulkRemove
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
api-version: string ,
body:
{
validateOnly: boolean ,
moveResources:
[
string ,
]
,
moveResourceInputType: enum ,
}
,
}

⚐ Response (200)

{
id: string ,
name: string ,
status: string ,
startTime: string ,
endTime: string ,
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info:
{
moveResources:
[
{
id: string ,
sourceId: string ,
moveResources:
[
string ,
]
,
}
,
]
,
}
,
}
,
]
,
}
,
properties: object ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveResources_Create (removed)
Description :  Creates or updates a Move Resource in the move collection.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/moveResources/{moveResourceName}
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
moveResourceName: string ,
api-version: string ,
body:
{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
sourceId: string ,
targetId: string ,
existingTargetId: string ,
resourceSettings:
{
resourceType: string ,
targetResourceName: string ,
}
,
sourceResourceSettings:
{
resourceType: string ,
targetResourceName: string ,
}
,
moveStatus: string ,
dependsOn:
[
{
id: string ,
resolutionStatus: string ,
resolutionType: enum ,
dependencyType: enum ,
manualResolution:
{
targetId: string ,
}
,
automaticResolution:
{
moveResourceId: string ,
}
,
isOptional: string ,
}
,
]
,
dependsOnOverrides:
[
{
id: string ,
targetId: string ,
}
,
]
,
isResolveRequired: boolean ,
errors: string ,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
sourceId: string ,
targetId: string ,
existingTargetId: string ,
resourceSettings:
{
resourceType: string ,
targetResourceName: string ,
}
,
sourceResourceSettings:
{
resourceType: string ,
targetResourceName: string ,
}
,
moveStatus: string ,
dependsOn:
[
{
id: string ,
resolutionStatus: string ,
resolutionType: enum ,
dependencyType: enum ,
manualResolution:
{
targetId: string ,
}
,
automaticResolution:
{
moveResourceId: string ,
}
,
isOptional: string ,
}
,
]
,
dependsOnOverrides:
[
{
id: string ,
targetId: string ,
}
,
]
,
isResolveRequired: boolean ,
errors: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveResources_Delete (removed)
Description :  Deletes a Move Resource from the move collection.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/moveResources/{moveResourceName}
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
moveResourceName: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
status: string ,
startTime: string ,
endTime: string ,
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info:
{
moveResources:
[
{
id: string ,
sourceId: string ,
moveResources:
[
string ,
]
,
}
,
]
,
}
,
}
,
]
,
}
,
properties: object ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveResources_Get (removed)
Description :  Gets the Move Resource.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/moveResources/{moveResourceName}
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
moveResourceName: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
provisioningState: enum ,
sourceId: string ,
targetId: string ,
existingTargetId: string ,
resourceSettings:
{
resourceType: string ,
targetResourceName: string ,
}
,
sourceResourceSettings:
{
resourceType: string ,
targetResourceName: string ,
}
,
moveStatus: string ,
dependsOn:
[
{
id: string ,
resolutionStatus: string ,
resolutionType: enum ,
dependencyType: enum ,
manualResolution:
{
targetId: string ,
}
,
automaticResolution:
{
moveResourceId: string ,
}
,
isOptional: string ,
}
,
]
,
dependsOnOverrides:
[
{
id: string ,
targetId: string ,
}
,
]
,
isResolveRequired: boolean ,
errors: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
OperationsDiscovery_Get (removed)
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Migrate/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: string ,
properties: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveCollections_ListMoveCollectionsBySubscription (removed)
Description :  Get all the Move Collections in the subscription.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Migrate/moveCollections
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
etag: string ,
tags: object ,
location: string ,
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
}
,
properties:
{
sourceRegion: string ,
targetRegion: string ,
provisioningState: enum ,
errors: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveCollections_ListMoveCollectionsByResourceGroup (removed)
Description :  Get all the Move Collections in the resource group.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
etag: string ,
tags: object ,
location: string ,
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
}
,
properties:
{
sourceRegion: string ,
targetRegion: string ,
provisioningState: enum ,
errors: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
MoveCollections_ListRequiredFor (removed)
Description :  List of the move resources for which an arm resource is required for.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/requiredFor
{
subscriptionId: string ,
resourceGroupName: string ,
moveCollectionName: string ,
sourceId: string ,
api-version: string ,
}

⚐ Response (200)

{
sourceIds:
[
string ,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}