Microsoft.DataMigration (preview:2025-03-15)

2025/04/01 • 39 new methods

ResourceSkus_ListSkus (new)
Description :  The skus action returns the list of SKUs that DMS (classic) 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 ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
Services_CreateOrUpdate (new)
Description :  The services resource is the top-level resource that represents the Azure Database Migration Service (classic). 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 ,
virtualNicId: string ,
autoStopDelay: string ,
deleteResourcesOnStop: boolean ,
}
,
sku:
{
name: string ,
tier: string ,
family: string ,
size: string ,
capacity: integer ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (200)

{
etag: string ,
kind: string ,
properties:
{
provisioningState: enum ,
publicKey: string ,
virtualSubnetId: string ,
virtualNicId: string ,
autoStopDelay: string ,
deleteResourcesOnStop: boolean ,
}
,
sku:
{
name: string ,
tier: string ,
family: string ,
size: string ,
capacity: integer ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (201)

{
etag: string ,
kind: string ,
properties:
{
provisioningState: enum ,
publicKey: string ,
virtualSubnetId: string ,
virtualNicId: string ,
autoStopDelay: string ,
deleteResourcesOnStop: boolean ,
}
,
sku:
{
name: string ,
tier: string ,
family: string ,
size: string ,
capacity: integer ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
Services_Get (new)
Description :  The services resource is the top-level resource that represents the Azure Database Migration Service (classic). 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 ,
virtualNicId: string ,
autoStopDelay: string ,
deleteResourcesOnStop: boolean ,
}
,
sku:
{
name: string ,
tier: string ,
family: string ,
size: string ,
capacity: integer ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
Services_Delete (new)
Description :  The services resource is the top-level resource that represents the Azure Database Migration Service (classic). 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 ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
Services_Update (new)
Description :  The services resource is the top-level resource that represents the Azure Database Migration Service (classic). 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 ,
virtualNicId: string ,
autoStopDelay: string ,
deleteResourcesOnStop: boolean ,
}
,
sku:
{
name: string ,
tier: string ,
family: string ,
size: string ,
capacity: integer ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (200)

{
etag: string ,
kind: string ,
properties:
{
provisioningState: enum ,
publicKey: string ,
virtualSubnetId: string ,
virtualNicId: string ,
autoStopDelay: string ,
deleteResourcesOnStop: boolean ,
}
,
sku:
{
name: string ,
tier: string ,
family: string ,
size: string ,
capacity: integer ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
Services_CheckStatus (new)
Description :  The services resource is the top-level resource that represents the Azure Database Migration Service (classic). 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 ,
agentConfiguration: object ,
status: string ,
vmSize: string ,
supportedTaskTypes:
[
string ,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
Services_Start (new)
Description :  The services resource is the top-level resource that represents the Azure Database Migration Service (classic). 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 ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
Services_Stop (new)
Description :  The services resource is the top-level resource that represents the Azure Database Migration Service (classic). 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 ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
Services_ListSkus (new)
Description :  The services resource is the top-level resource that represents the Database Migration Service (classic). 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 ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
Tasks_List (new)
Description :  The services resource is the top-level resource that represents the Azure Database Migration Service (classic). 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: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
commands:
[
{
commandType: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
]
,
clientData: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
ServiceTasks_List (new)
Description :  The services resource is the top-level resource that represents the Azure Database Migration Service (classic). This method returns a list of service level 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}/serviceTasks
{
subscriptionId: string ,
groupName: string ,
serviceName: string ,
api-version: string ,
taskType: string ,
}

⚐ Response (200)

{
value:
[
{
etag: string ,
properties:
{
taskType: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
commands:
[
{
commandType: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
]
,
clientData: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: 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 ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
Services_ListByResourceGroup (new)
Description :  The Services resource is the top-level resource that represents the Azure Database Migration Service (classic). 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 ,
virtualNicId: string ,
autoStopDelay: string ,
deleteResourcesOnStop: boolean ,
}
,
sku:
{
name: string ,
tier: string ,
family: string ,
size: string ,
capacity: integer ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
Services_List (new)
Description :  The services resource is the top-level resource that represents the Azure Database Migration Service (classic). 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 ,
virtualNicId: string ,
autoStopDelay: string ,
deleteResourcesOnStop: boolean ,
}
,
sku:
{
name: string ,
tier: string ,
family: string ,
size: string ,
capacity: integer ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
Tasks_CreateOrUpdate (new)
Description :  The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) 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: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
commands:
[
{
commandType: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
]
,
clientData: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (200)

{
etag: string ,
properties:
{
taskType: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
commands:
[
{
commandType: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
]
,
clientData: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (201)

{
etag: string ,
properties:
{
taskType: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
commands:
[
{
commandType: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
]
,
clientData: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
Tasks_Get (new)
Description :  The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) 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: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
commands:
[
{
commandType: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
]
,
clientData: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
Tasks_Delete (new)
Description :  The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) 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 ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
Tasks_Update (new)
Description :  The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) 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: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
commands:
[
{
commandType: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
]
,
clientData: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (200)

{
etag: string ,
properties:
{
taskType: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
commands:
[
{
commandType: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
]
,
clientData: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
ServiceTasks_CreateOrUpdate (new)
Description :  The service tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) instance. The PUT method creates a new service task or updates an existing one, although since service 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}/serviceTasks/{taskName}
{
parameters:
{
etag: string ,
properties:
{
taskType: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
commands:
[
{
commandType: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
]
,
clientData: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (200)

{
etag: string ,
properties:
{
taskType: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
commands:
[
{
commandType: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
]
,
clientData: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (201)

{
etag: string ,
properties:
{
taskType: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
commands:
[
{
commandType: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
]
,
clientData: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
ServiceTasks_Get (new)
Description :  The service tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) instance. The GET method retrieves information about a service task.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
etag: string ,
properties:
{
taskType: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
commands:
[
{
commandType: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
]
,
clientData: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
ServiceTasks_Delete (new)
Description :  The service tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) instance. The DELETE method deletes a service task, canceling it first if it's running.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
ServiceTasks_Update (new)
Description :  The service tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) instance. The PATCH method updates an existing service task, but since service 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}/serviceTasks/{taskName}
{
parameters:
{
etag: string ,
properties:
{
taskType: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
commands:
[
{
commandType: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
]
,
clientData: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (200)

{
etag: string ,
properties:
{
taskType: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
commands:
[
{
commandType: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
]
,
clientData: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
Tasks_Cancel (new)
Description :  The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) 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: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
commands:
[
{
commandType: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
]
,
clientData: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
ServiceTasks_Cancel (new)
Description :  The service tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) instance. This method cancels a service task if it's currently queued or running.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
etag: string ,
properties:
{
taskType: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
commands:
[
{
commandType: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
]
,
clientData: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
Tasks_Command (new)
Description :  The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) instance. This method executes a command on a running task.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}/command
{
subscriptionId: string ,
groupName: string ,
serviceName: string ,
projectName: string ,
taskName: string ,
api-version: string ,
parameters:
{
commandType: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}
,
}

⚐ Response (200)

{
commandType: enum ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
state: enum ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: 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 ,
azureAuthenticationInfo:
{
applicationId: string ,
appKey: string ,
tenantId: string ,
ignoreAzurePermissions: boolean ,
}
,
targetPlatform: enum ,
creationTime: string ,
sourceConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
targetConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
databasesInfo:
[
{
sourceDatabaseName: string ,
}
,
]
,
provisioningState: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
etag: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: 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 ,
azureAuthenticationInfo:
{
applicationId: string ,
appKey: string ,
tenantId: string ,
ignoreAzurePermissions: boolean ,
}
,
targetPlatform: enum ,
creationTime: string ,
sourceConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
targetConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
databasesInfo:
[
{
sourceDatabaseName: string ,
}
,
]
,
provisioningState: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
etag: string ,
}
,
}

⚐ Response (200)

{
properties:
{
sourcePlatform: enum ,
azureAuthenticationInfo:
{
applicationId: string ,
appKey: string ,
tenantId: string ,
ignoreAzurePermissions: boolean ,
}
,
targetPlatform: enum ,
creationTime: string ,
sourceConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
targetConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
databasesInfo:
[
{
sourceDatabaseName: string ,
}
,
]
,
provisioningState: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
etag: string ,
}

⚐ Response (201)

{
properties:
{
sourcePlatform: enum ,
azureAuthenticationInfo:
{
applicationId: string ,
appKey: string ,
tenantId: string ,
ignoreAzurePermissions: boolean ,
}
,
targetPlatform: enum ,
creationTime: string ,
sourceConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
targetConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
databasesInfo:
[
{
sourceDatabaseName: string ,
}
,
]
,
provisioningState: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: 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 ,
azureAuthenticationInfo:
{
applicationId: string ,
appKey: string ,
tenantId: string ,
ignoreAzurePermissions: boolean ,
}
,
targetPlatform: enum ,
creationTime: string ,
sourceConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
targetConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
databasesInfo:
[
{
sourceDatabaseName: string ,
}
,
]
,
provisioningState: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: 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 ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: 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 ,
azureAuthenticationInfo:
{
applicationId: string ,
appKey: string ,
tenantId: string ,
ignoreAzurePermissions: boolean ,
}
,
targetPlatform: enum ,
creationTime: string ,
sourceConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
targetConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
databasesInfo:
[
{
sourceDatabaseName: string ,
}
,
]
,
provisioningState: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
etag: string ,
}
,
}

⚐ Response (200)

{
properties:
{
sourcePlatform: enum ,
azureAuthenticationInfo:
{
applicationId: string ,
appKey: string ,
tenantId: string ,
ignoreAzurePermissions: boolean ,
}
,
targetPlatform: enum ,
creationTime: string ,
sourceConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
targetConnectionInfo:
{
type: string ,
userName: string ,
password: string ,
}
,
databasesInfo:
[
{
sourceDatabaseName: string ,
}
,
]
,
provisioningState: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: 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 ,
location: string ,
api-version: string ,
parameters:
{
name: string ,
type: string ,
}
,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
Usages_List (new)
Description :  This method returns region-specific quotas and resource usage information for the Azure Database Migration Service (classic).
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 ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
Files_List (new)
Description :  The project resource is a nested resource representing a stored migration project. This method returns a list of files owned by a project resource.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
etag: string ,
properties:
{
extension: string ,
filePath: string ,
lastModified: string ,
mediaType: string ,
size: integer ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
Files_Get (new)
Description :  The files resource is a nested, proxy-only resource representing a file stored under the project resource. This method retrieves information about a file.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
etag: string ,
properties:
{
extension: string ,
filePath: string ,
lastModified: string ,
mediaType: string ,
size: integer ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
Files_CreateOrUpdate (new)
Description :  The PUT method creates a new file or updates an existing one.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}
{
parameters:
{
etag: string ,
properties:
{
extension: string ,
filePath: string ,
lastModified: string ,
mediaType: string ,
size: integer ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (200)

{
etag: string ,
properties:
{
extension: string ,
filePath: string ,
lastModified: string ,
mediaType: string ,
size: integer ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (201)

{
etag: string ,
properties:
{
extension: string ,
filePath: string ,
lastModified: string ,
mediaType: string ,
size: integer ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
Files_Delete (new)
Description :  This method deletes a file.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
Files_Update (new)
Description :  This method updates an existing file.
Reference :  Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}
{
parameters:
{
etag: string ,
properties:
{
extension: string ,
filePath: string ,
lastModified: string ,
mediaType: string ,
size: integer ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (200)

{
etag: string ,
properties:
{
extension: string ,
filePath: string ,
lastModified: string ,
mediaType: string ,
size: integer ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
Files_Read (new)
Description :  This method is used for requesting storage information using which contents of the file can be downloaded.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}/read
{
subscriptionId: string ,
groupName: string ,
serviceName: string ,
projectName: string ,
fileName: string ,
api-version: string ,
}

⚐ Response (200)

{
uri: string ,
headers: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
Files_ReadWrite (new)
Description :  This method is used for requesting information for reading and writing the file content.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}/readwrite
{
subscriptionId: string ,
groupName: string ,
serviceName: string ,
projectName: string ,
fileName: string ,
api-version: string ,
}

⚐ Response (200)

{
uri: string ,
headers: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}