Microsoft.DataMigration (preview:2018-03-31)

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

ResourceSkus_ListSkus (new)
Description :  The skus action returns the list of SKUs that DMS supports.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/skus
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
resourceType: string ,
name: string ,
tier: string ,
size: string ,
family: string ,
kind: string ,
capacity:
{
minimum: integer ,
maximum: integer ,
default: integer ,
scaleType: enum ,
}
,
locations:
[
string ,
]
,
apiVersions:
[
string ,
]
,
costs:
[
{
meterID: string ,
quantity: integer ,
extendedUnit: string ,
}
,
]
,
capabilities:
[
{
name: string ,
value: string ,
}
,
]
,
restrictions:
[
{
type: enum ,
values:
[
string ,
]
,
reasonCode: enum ,
}
,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Services_CreateOrUpdate (new)
Description :  The services resource is the top-level resource that represents the Data Migration Service. The PUT method creates a new service or updates an existing one. When a service is updated, existing child resources (i.e. tasks) are unaffected. Services currently support a single kind, "vm", which refers to a VM-based service, although other kinds may be added in the future. This method can change the kind, SKU, and network of the service, but if tasks are currently running (i.e. the service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider will reply when successful with 200 OK or 201 Created. Long-running operations use the provisioningState property.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}
{
parameters:
{
etag: string ,
kind: string ,
properties:
{
provisioningState: enum ,
publicKey: string ,
virtualSubnetId: string ,
}
,
sku:
{
name: string ,
tier: string ,
family: string ,
size: string ,
capacity: integer ,
}
,
}
,
}

⚐ Response (200)

{
etag: string ,
kind: string ,
properties:
{
provisioningState: enum ,
publicKey: string ,
virtualSubnetId: string ,
}
,
sku:
{
name: string ,
tier: string ,
family: string ,
size: string ,
capacity: integer ,
}
,
}

⚐ Response (201)

{
etag: string ,
kind: string ,
properties:
{
provisioningState: enum ,
publicKey: string ,
virtualSubnetId: string ,
}
,
sku:
{
name: string ,
tier: string ,
family: string ,
size: string ,
capacity: integer ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Services_Get (new)
Description :  The services resource is the top-level resource that represents the Data Migration Service. The GET method retrieves information about a service instance.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}
{}

⚐ Response (200)

{
etag: string ,
kind: string ,
properties:
{
provisioningState: enum ,
publicKey: string ,
virtualSubnetId: string ,
}
,
sku:
{
name: string ,
tier: string ,
family: string ,
size: string ,
capacity: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Services_Delete (new)
Description :  The services resource is the top-level resource that represents the Data Migration Service. The DELETE method deletes a service. Any running tasks will be canceled.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}
{
deleteRunningTasks: boolean ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Services_Update (new)
Description :  The services resource is the top-level resource that represents the Data Migration Service. The PATCH method updates an existing service. This method can change the kind, SKU, and network of the service, but if tasks are currently running (i.e. the service is busy), this will fail with 400 Bad Request ("ServiceIsBusy").
Reference :  Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}
{
parameters:
{
etag: string ,
kind: string ,
properties:
{
provisioningState: enum ,
publicKey: string ,
virtualSubnetId: string ,
}
,
sku:
{
name: string ,
tier: string ,
family: string ,
size: string ,
capacity: integer ,
}
,
}
,
}

⚐ Response (200)

{
etag: string ,
kind: string ,
properties:
{
provisioningState: enum ,
publicKey: string ,
virtualSubnetId: string ,
}
,
sku:
{
name: string ,
tier: string ,
family: string ,
size: string ,
capacity: integer ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Services_CheckStatus (new)
Description :  The services resource is the top-level resource that represents the Data Migration Service. This action performs a health check and returns the status of the service and virtual machine size.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkStatus
{
subscriptionId: string ,
groupName: string ,
serviceName: string ,
api-version: string ,
}

⚐ Response (200)

{
agentVersion: string ,
status: string ,
vmSize: string ,
supportedTaskTypes:
[
string ,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Services_Start (new)
Description :  The services resource is the top-level resource that represents the Data Migration Service. This action starts the service and the service can be used for data migration.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/start
{
subscriptionId: string ,
groupName: string ,
serviceName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Services_Stop (new)
Description :  The services resource is the top-level resource that represents the Data Migration Service. This action stops the service and the service cannot be used for data migration. The service owner won't be billed when the service is stopped.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/stop
{
subscriptionId: string ,
groupName: string ,
serviceName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Services_ListSkus (new)
Description :  The services resource is the top-level resource that represents the Data Migration Service. The skus action returns the list of SKUs that a service resource can be updated to.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/skus
{
subscriptionId: string ,
groupName: string ,
serviceName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
resourceType: string ,
sku:
{
name: string ,
family: string ,
size: string ,
tier: string ,
}
,
capacity:
{
minimum: integer ,
maximum: integer ,
default: integer ,
scaleType: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Tasks_List (new)
Description :  The services resource is the top-level resource that represents the Data Migration Service. This method returns a list of tasks owned by a service resource. Some tasks may have a status of Unknown, which indicates that an error occurred while querying the status of that task.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks
{
subscriptionId: string ,
groupName: string ,
serviceName: string ,
projectName: string ,
api-version: string ,
taskType: string ,
}

⚐ Response (200)

{
value:
[
{
etag: string ,
properties:
{
taskType: string ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Services_CheckChildrenNameAvailability (new)
Description :  This method checks whether a proposed nested resource name is valid and available.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkNameAvailability
{
subscriptionId: string ,
groupName: string ,
api-version: string ,
serviceName: string ,
parameters:
{
name: string ,
type: string ,
}
,
}

⚐ Response (200)

{
nameAvailable: boolean ,
reason: enum ,
message: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Services_ListByResourceGroup (new)
Description :  The Services resource is the top-level resource that represents the Data Migration Service. This method returns a list of service resources in a resource group.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services
{
subscriptionId: string ,
groupName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
etag: string ,
kind: string ,
properties:
{
provisioningState: enum ,
publicKey: string ,
virtualSubnetId: string ,
}
,
sku:
{
name: string ,
tier: string ,
family: string ,
size: string ,
capacity: integer ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Services_List (new)
Description :  The services resource is the top-level resource that represents the Data Migration Service. This method returns a list of service resources in a subscription.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/services
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
etag: string ,
kind: string ,
properties:
{
provisioningState: enum ,
publicKey: string ,
virtualSubnetId: string ,
}
,
sku:
{
name: string ,
tier: string ,
family: string ,
size: string ,
capacity: integer ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Tasks_CreateOrUpdate (new)
Description :  The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. The PUT method creates a new task or updates an existing one, although since tasks have no mutable custom properties, there is little reason to update an existing one.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}
{
parameters:
{
etag: string ,
properties:
{
taskType: string ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
}
,
}

⚐ Response (200)

{
etag: string ,
properties:
{
taskType: string ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
}

⚐ Response (201)

{
etag: string ,
properties:
{
taskType: string ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Tasks_Get (new)
Description :  The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. The GET method retrieves information about a task.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}
{
$expand: string ,
}

⚐ Response (200)

{
etag: string ,
properties:
{
taskType: string ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Tasks_Delete (new)
Description :  The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. The DELETE method deletes a task, canceling it first if it's running.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}
{
deleteRunningTasks: boolean ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Tasks_Update (new)
Description :  The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. The PATCH method updates an existing task, but since tasks have no mutable custom properties, there is little reason to do so.
Reference :  Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}
{
parameters:
{
etag: string ,
properties:
{
taskType: string ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
}
,
}

⚐ Response (200)

{
etag: string ,
properties:
{
taskType: string ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Tasks_Cancel (new)
Description :  The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. This method cancels a task if it's currently queued or running.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}/cancel
{
subscriptionId: string ,
groupName: string ,
serviceName: string ,
projectName: string ,
taskName: string ,
api-version: string ,
}

⚐ Response (200)

{
etag: string ,
properties:
{
taskType: string ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Projects_List (new)
Description :  The project resource is a nested resource representing a stored migration project. This method returns a list of projects owned by a service resource.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects
{
subscriptionId: string ,
groupName: string ,
serviceName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
sourcePlatform: enum ,
targetPlatform: enum ,
creationTime: string ,
sourceConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
targetConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
databasesInfo:
[
{
sourceDatabaseName: string ,
}
,
]
,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Projects_CreateOrUpdate (new)
Description :  The project resource is a nested resource representing a stored migration project. The PUT method creates a new project or updates an existing one.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}
{
parameters:
{
properties:
{
sourcePlatform: enum ,
targetPlatform: enum ,
creationTime: string ,
sourceConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
targetConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
databasesInfo:
[
{
sourceDatabaseName: string ,
}
,
]
,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
sourcePlatform: enum ,
targetPlatform: enum ,
creationTime: string ,
sourceConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
targetConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
databasesInfo:
[
{
sourceDatabaseName: string ,
}
,
]
,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
sourcePlatform: enum ,
targetPlatform: enum ,
creationTime: string ,
sourceConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
targetConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
databasesInfo:
[
{
sourceDatabaseName: string ,
}
,
]
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Projects_Get (new)
Description :  The project resource is a nested resource representing a stored migration project. The GET method retrieves information about a project.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}
{}

⚐ Response (200)

{
properties:
{
sourcePlatform: enum ,
targetPlatform: enum ,
creationTime: string ,
sourceConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
targetConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
databasesInfo:
[
{
sourceDatabaseName: string ,
}
,
]
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Projects_Delete (new)
Description :  The project resource is a nested resource representing a stored migration project. The DELETE method deletes a project.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}
{
deleteRunningTasks: boolean ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Projects_Update (new)
Description :  The project resource is a nested resource representing a stored migration project. The PATCH method updates an existing project.
Reference :  Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}
{
parameters:
{
properties:
{
sourcePlatform: enum ,
targetPlatform: enum ,
creationTime: string ,
sourceConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
targetConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
databasesInfo:
[
{
sourceDatabaseName: string ,
}
,
]
,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
sourcePlatform: enum ,
targetPlatform: enum ,
creationTime: string ,
sourceConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
targetConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
databasesInfo:
[
{
sourceDatabaseName: string ,
}
,
]
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Services_CheckNameAvailability (new)
Description :  This method checks whether a proposed top-level resource name is valid and available.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/checkNameAvailability
{
subscriptionId: string ,
api-version: string ,
location: string ,
parameters:
{
name: string ,
type: string ,
}
,
}

⚐ Response (200)

{
nameAvailable: boolean ,
reason: enum ,
message: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Usages_List (new)
Description :  This method returns region-specific quotas and resource usage information for the Data Migration Service.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/usages
{
subscriptionId: string ,
location: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
currentValue: number ,
id: string ,
limit: number ,
name:
{
localizedValue: string ,
value: string ,
}
,
unit: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Operations_List (new)
Description :  Lists all available actions exposed by the Data Migration Service resource provider.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
ResourceSkus_ListSkus (removed)
Description :  The skus action returns the list of SKUs that DMS supports.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/skus
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
resourceType: string ,
name: string ,
tier: string ,
size: string ,
family: string ,
kind: string ,
capacity:
{
minimum: integer ,
maximum: integer ,
default: integer ,
scaleType: enum ,
}
,
locations:
[
string ,
]
,
apiVersions:
[
string ,
]
,
costs:
[
{
meterID: string ,
quantity: integer ,
extendedUnit: string ,
}
,
]
,
capabilities:
[
{
name: string ,
value: string ,
}
,
]
,
restrictions:
[
{
type: enum ,
values:
[
string ,
]
,
reasonCode: enum ,
}
,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Services_CreateOrUpdate (removed)
Description :  The services resource is the top-level resource that represents the Data Migration Service. The PUT method creates a new service or updates an existing one. When a service is updated, existing child resources (i.e. tasks) are unaffected. Services currently support a single kind, "vm", which refers to a VM-based service, although other kinds may be added in the future. This method can change the kind, SKU, and network of the service, but if tasks are currently running (i.e. the service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider will reply when successful with 200 OK or 201 Created. Long-running operations use the provisioningState property.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}
{
parameters:
{
etag: string ,
kind: string ,
properties:
{
provisioningState: enum ,
publicKey: string ,
virtualSubnetId: string ,
}
,
sku:
{
name: string ,
tier: string ,
family: string ,
size: string ,
capacity: integer ,
}
,
}
,
}

⚐ Response (200)

{
etag: string ,
kind: string ,
properties:
{
provisioningState: enum ,
publicKey: string ,
virtualSubnetId: string ,
}
,
sku:
{
name: string ,
tier: string ,
family: string ,
size: string ,
capacity: integer ,
}
,
}

⚐ Response (201)

{
etag: string ,
kind: string ,
properties:
{
provisioningState: enum ,
publicKey: string ,
virtualSubnetId: string ,
}
,
sku:
{
name: string ,
tier: string ,
family: string ,
size: string ,
capacity: integer ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Services_Get (removed)
Description :  The services resource is the top-level resource that represents the Data Migration Service. The GET method retrieves information about a service instance.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}
{}

⚐ Response (200)

{
etag: string ,
kind: string ,
properties:
{
provisioningState: enum ,
publicKey: string ,
virtualSubnetId: string ,
}
,
sku:
{
name: string ,
tier: string ,
family: string ,
size: string ,
capacity: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Services_Delete (removed)
Description :  The services resource is the top-level resource that represents the Data Migration Service. The DELETE method deletes a service. Any running tasks will be canceled.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}
{
deleteRunningTasks: boolean ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Services_Update (removed)
Description :  The services resource is the top-level resource that represents the Data Migration Service. The PATCH method updates an existing service. This method can change the kind, SKU, and network of the service, but if tasks are currently running (i.e. the service is busy), this will fail with 400 Bad Request ("ServiceIsBusy").
Reference :  Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}
{
parameters:
{
etag: string ,
kind: string ,
properties:
{
provisioningState: enum ,
publicKey: string ,
virtualSubnetId: string ,
}
,
sku:
{
name: string ,
tier: string ,
family: string ,
size: string ,
capacity: integer ,
}
,
}
,
}

⚐ Response (200)

{
etag: string ,
kind: string ,
properties:
{
provisioningState: enum ,
publicKey: string ,
virtualSubnetId: string ,
}
,
sku:
{
name: string ,
tier: string ,
family: string ,
size: string ,
capacity: integer ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Services_CheckStatus (removed)
Description :  The services resource is the top-level resource that represents the Data Migration Service. This action performs a health check and returns the status of the service and virtual machine size.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkStatus
{
subscriptionId: string ,
groupName: string ,
serviceName: string ,
api-version: string ,
}

⚐ Response (200)

{
agentVersion: string ,
status: string ,
vmSize: string ,
supportedTaskTypes:
[
string ,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Services_Start (removed)
Description :  The services resource is the top-level resource that represents the Data Migration Service. This action starts the service and the service can be used for data migration.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/start
{
subscriptionId: string ,
groupName: string ,
serviceName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Services_Stop (removed)
Description :  The services resource is the top-level resource that represents the Data Migration Service. This action stops the service and the service cannot be used for data migration. The service owner won't be billed when the service is stopped.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/stop
{
subscriptionId: string ,
groupName: string ,
serviceName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Services_ListSkus (removed)
Description :  The services resource is the top-level resource that represents the Data Migration Service. The skus action returns the list of SKUs that a service resource can be updated to.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/skus
{
subscriptionId: string ,
groupName: string ,
serviceName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
resourceType: string ,
sku:
{
name: string ,
family: string ,
size: string ,
tier: string ,
}
,
capacity:
{
minimum: integer ,
maximum: integer ,
default: integer ,
scaleType: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Tasks_List (removed)
Description :  The services resource is the top-level resource that represents the Data Migration Service. This method returns a list of tasks owned by a service resource. Some tasks may have a status of Unknown, which indicates that an error occurred while querying the status of that task.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks
{
subscriptionId: string ,
groupName: string ,
serviceName: string ,
projectName: string ,
api-version: string ,
taskType: string ,
}

⚐ Response (200)

{
value:
[
{
etag: string ,
properties:
{
taskType: string ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Services_CheckChildrenNameAvailability (removed)
Description :  This method checks whether a proposed nested resource name is valid and available.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkNameAvailability
{
subscriptionId: string ,
groupName: string ,
api-version: string ,
serviceName: string ,
parameters:
{
name: string ,
type: string ,
}
,
}

⚐ Response (200)

{
nameAvailable: boolean ,
reason: enum ,
message: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Services_ListByResourceGroup (removed)
Description :  The Services resource is the top-level resource that represents the Data Migration Service. This method returns a list of service resources in a resource group.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services
{
subscriptionId: string ,
groupName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
etag: string ,
kind: string ,
properties:
{
provisioningState: enum ,
publicKey: string ,
virtualSubnetId: string ,
}
,
sku:
{
name: string ,
tier: string ,
family: string ,
size: string ,
capacity: integer ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Services_List (removed)
Description :  The services resource is the top-level resource that represents the Data Migration Service. This method returns a list of service resources in a subscription.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/services
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
etag: string ,
kind: string ,
properties:
{
provisioningState: enum ,
publicKey: string ,
virtualSubnetId: string ,
}
,
sku:
{
name: string ,
tier: string ,
family: string ,
size: string ,
capacity: integer ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Tasks_CreateOrUpdate (removed)
Description :  The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. The PUT method creates a new task or updates an existing one, although since tasks have no mutable custom properties, there is little reason to update an existing one.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}
{
parameters:
{
etag: string ,
properties:
{
taskType: string ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
}
,
}

⚐ Response (200)

{
etag: string ,
properties:
{
taskType: string ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
}

⚐ Response (201)

{
etag: string ,
properties:
{
taskType: string ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Tasks_Get (removed)
Description :  The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. The GET method retrieves information about a task.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}
{
$expand: string ,
}

⚐ Response (200)

{
etag: string ,
properties:
{
taskType: string ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Tasks_Delete (removed)
Description :  The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. The DELETE method deletes a task, canceling it first if it's running.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}
{
deleteRunningTasks: boolean ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Tasks_Update (removed)
Description :  The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. The PATCH method updates an existing task, but since tasks have no mutable custom properties, there is little reason to do so.
Reference :  Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}
{
parameters:
{
etag: string ,
properties:
{
taskType: string ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
}
,
}

⚐ Response (200)

{
etag: string ,
properties:
{
taskType: string ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Tasks_Cancel (removed)
Description :  The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance. This method cancels a task if it's currently queued or running.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}/cancel
{
subscriptionId: string ,
groupName: string ,
serviceName: string ,
projectName: string ,
taskName: string ,
api-version: string ,
}

⚐ Response (200)

{
etag: string ,
properties:
{
taskType: string ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Projects_List (removed)
Description :  The project resource is a nested resource representing a stored migration project. This method returns a list of projects owned by a service resource.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects
{
subscriptionId: string ,
groupName: string ,
serviceName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
sourcePlatform: enum ,
targetPlatform: enum ,
creationTime: string ,
sourceConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
targetConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
databasesInfo:
[
{
sourceDatabaseName: string ,
}
,
]
,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Projects_CreateOrUpdate (removed)
Description :  The project resource is a nested resource representing a stored migration project. The PUT method creates a new project or updates an existing one.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}
{
parameters:
{
properties:
{
sourcePlatform: enum ,
targetPlatform: enum ,
creationTime: string ,
sourceConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
targetConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
databasesInfo:
[
{
sourceDatabaseName: string ,
}
,
]
,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
sourcePlatform: enum ,
targetPlatform: enum ,
creationTime: string ,
sourceConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
targetConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
databasesInfo:
[
{
sourceDatabaseName: string ,
}
,
]
,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
sourcePlatform: enum ,
targetPlatform: enum ,
creationTime: string ,
sourceConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
targetConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
databasesInfo:
[
{
sourceDatabaseName: string ,
}
,
]
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Projects_Get (removed)
Description :  The project resource is a nested resource representing a stored migration project. The GET method retrieves information about a project.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}
{}

⚐ Response (200)

{
properties:
{
sourcePlatform: enum ,
targetPlatform: enum ,
creationTime: string ,
sourceConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
targetConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
databasesInfo:
[
{
sourceDatabaseName: string ,
}
,
]
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Projects_Delete (removed)
Description :  The project resource is a nested resource representing a stored migration project. The DELETE method deletes a project.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}
{
deleteRunningTasks: boolean ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Projects_Update (removed)
Description :  The project resource is a nested resource representing a stored migration project. The PATCH method updates an existing project.
Reference :  Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}
{
parameters:
{
properties:
{
sourcePlatform: enum ,
targetPlatform: enum ,
creationTime: string ,
sourceConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
targetConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
databasesInfo:
[
{
sourceDatabaseName: string ,
}
,
]
,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
sourcePlatform: enum ,
targetPlatform: enum ,
creationTime: string ,
sourceConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
targetConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
databasesInfo:
[
{
sourceDatabaseName: string ,
}
,
]
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Services_CheckNameAvailability (removed)
Description :  This method checks whether a proposed top-level resource name is valid and available.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/checkNameAvailability
{
subscriptionId: string ,
api-version: string ,
location: string ,
parameters:
{
name: string ,
type: string ,
}
,
}

⚐ Response (200)

{
nameAvailable: boolean ,
reason: enum ,
message: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Usages_List (removed)
Description :  This method returns region-specific quotas and resource usage information for the Data Migration Service.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/usages
{
subscriptionId: string ,
location: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
currentValue: number ,
id: string ,
limit: number ,
name:
{
localizedValue: string ,
value: string ,
}
,
unit: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
Operations_List (removed)
Description :  Lists all available actions exposed by the Data Migration Service resource provider.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

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