TasksClient Interface
public interface TasksClient
An instance of this class provides access to all the operations defined in TasksClient.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
Project |
cancel(String groupName, String serviceName, String projectName, String taskName)
Cancel a task The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) instance. |
|
abstract
Response<Project |
cancelWithResponse(String groupName, String serviceName, String projectName, String taskName, Context context)
Cancel a task The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) instance. |
|
abstract
Command |
command(String groupName, String serviceName, String projectName, String taskName, CommandPropertiesInner parameters)
Execute a command on a task The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) instance. |
|
abstract
Response<Command |
commandWithResponse(String groupName, String serviceName, String projectName, String taskName, CommandPropertiesInner parameters, Context context)
Execute a command on a task The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) instance. |
|
abstract
Project |
createOrUpdate(String groupName, String serviceName, String projectName, String taskName, ProjectTaskInner parameters)
Create or update task The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) instance. |
|
abstract
Response<Project |
createOrUpdateWithResponse(String groupName, String serviceName, String projectName, String taskName, ProjectTaskInner parameters, Context context)
Create or update task The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) instance. |
| abstract void |
delete(String groupName, String serviceName, String projectName, String taskName)
Delete task The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) instance. |
| abstract Response<Void> |
deleteWithResponse(String groupName, String serviceName, String projectName, String taskName, Boolean deleteRunningTasks, Context context)
Delete task The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) instance. |
|
abstract
Project |
get(String groupName, String serviceName, String projectName, String taskName)
Get task information The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) instance. |
|
abstract
Response<Project |
getWithResponse(String groupName, String serviceName, String projectName, String taskName, String expand, Context context)
Get task information The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) instance. |
|
abstract
Paged |
list(String groupName, String serviceName, String projectName)
Get tasks in a service The services resource is the top-level resource that represents the Azure Database Migration Service (classic). |
|
abstract
Paged |
list(String groupName, String serviceName, String projectName, String taskType, Context context)
Get tasks in a service The services resource is the top-level resource that represents the Azure Database Migration Service (classic). |
|
abstract
Project |
update(String groupName, String serviceName, String projectName, String taskName, ProjectTaskInner parameters)
Create or update task The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) instance. |
|
abstract
Response<Project |
updateWithResponse(String groupName, String serviceName, String projectName, String taskName, ProjectTaskInner parameters, Context context)
Create or update task The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) instance. |
Method Details
cancel
public abstract ProjectTaskInner cancel(String groupName, String serviceName, String projectName, String taskName)
Cancel a task 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.
Parameters:
Returns:
cancelWithResponse
public abstract Response<ProjectTaskInner> cancelWithResponse(String groupName, String serviceName, String projectName, String taskName, Context context)
Cancel a task 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.
Parameters:
Returns:
command
public abstract CommandPropertiesInner command(String groupName, String serviceName, String projectName, String taskName, CommandPropertiesInner parameters)
Execute a command on a task 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.
Parameters:
Returns:
commandWithResponse
public abstract Response<CommandPropertiesInner> commandWithResponse(String groupName, String serviceName, String projectName, String taskName, CommandPropertiesInner parameters, Context context)
Execute a command on a task 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.
Parameters:
Returns:
createOrUpdate
public abstract ProjectTaskInner createOrUpdate(String groupName, String serviceName, String projectName, String taskName, ProjectTaskInner parameters)
Create or update task 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.
Parameters:
Returns:
createOrUpdateWithResponse
public abstract Response<ProjectTaskInner> createOrUpdateWithResponse(String groupName, String serviceName, String projectName, String taskName, ProjectTaskInner parameters, Context context)
Create or update task 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.
Parameters:
Returns:
delete
public abstract void delete(String groupName, String serviceName, String projectName, String taskName)
Delete task 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.
Parameters:
deleteWithResponse
public abstract Response<Void> deleteWithResponse(String groupName, String serviceName, String projectName, String taskName, Boolean deleteRunningTasks, Context context)
Delete task 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.
Parameters:
Returns:
get
public abstract ProjectTaskInner get(String groupName, String serviceName, String projectName, String taskName)
Get task information 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.
Parameters:
Returns:
getWithResponse
public abstract Response<ProjectTaskInner> getWithResponse(String groupName, String serviceName, String projectName, String taskName, String expand, Context context)
Get task information 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.
Parameters:
Returns:
list
public abstract PagedIterable<ProjectTaskInner> list(String groupName, String serviceName, String projectName)
Get tasks in a service 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.
Parameters:
Returns:
list
public abstract PagedIterable<ProjectTaskInner> list(String groupName, String serviceName, String projectName, String taskType, Context context)
Get tasks in a service 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.
Parameters:
Returns:
update
public abstract ProjectTaskInner update(String groupName, String serviceName, String projectName, String taskName, ProjectTaskInner parameters)
Create or update task 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.
Parameters:
Returns:
updateWithResponse
public abstract Response<ProjectTaskInner> updateWithResponse(String groupName, String serviceName, String projectName, String taskName, ProjectTaskInner parameters, Context context)
Create or update task 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.
Parameters:
Returns: