Skip to main content

service_tasks

Overview

Nameservice_tasks
TypeResource
Idazure.data_migration.service_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 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.
listSELECTapi-version, groupName, serviceName, subscriptionIdThe 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.
create_or_updateINSERTThe 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.
deleteDELETEThe 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.
_listEXECapi-version, groupName, serviceName, subscriptionIdThe 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.
cancelEXECapi-version, groupName, serviceName, subscriptionId, taskNameThe 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.
updateEXECThe 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.