Skip to main content

tasks

Overview

Nametasks
TypeResource
Idazure.data_migration.tasks

Fields

NameDatatypeDescription
idstringResource ID.
namestringResource name.
etagstringHTTP strong entity tag value. This is ignored if submitted.
propertiesobjectBase class for all types of DMS (classic) task properties. If task is not supported by current client, this object is returned.
systemDataobject
typestringResource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTThe tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) instance. The GET method retrieves information about a task.
listSELECTapi-version, groupName, projectName, serviceName, subscriptionIdThe 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.
create_or_updateINSERTThe 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.
deleteDELETEThe 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.
_listEXECapi-version, groupName, projectName, serviceName, subscriptionIdThe 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.
cancelEXECapi-version, groupName, projectName, serviceName, subscriptionId, taskNameThe 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.
commandEXECapi-version, groupName, projectName, serviceName, subscriptionId, taskName, data__commandTypeThe 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.
updateEXECThe 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.