Tasks Interface
public interface Tasks
Resource collection API of Tasks.
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 Blank |
define(String name)
Begins definition for a new Project |
| 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 void |
deleteById(String id)
Delete task The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) instance. |
| abstract Response<Void> |
deleteByIdWithResponse(String id, Boolean deleteRunningTasks, Context context)
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
Project |
getById(String id)
Get task information The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) instance. |
|
abstract
Response<Project |
getByIdWithResponse(String id, 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
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). |
Method Details
cancel
public abstract ProjectTask 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<ProjectTask> 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 CommandProperties 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<CommandProperties> 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:
define
public abstract ProjectTask.DefinitionStages.Blank define(String name)
Begins definition for a new ProjectTask resource.
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:
deleteById
public abstract void deleteById(String id)
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:
deleteByIdWithResponse
public abstract Response<Void> deleteByIdWithResponse(String id, 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:
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 ProjectTask 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:
getById
public abstract ProjectTask getById(String id)
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:
getByIdWithResponse
public abstract Response<ProjectTask> getByIdWithResponse(String id, 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:
getWithResponse
public abstract Response<ProjectTask> 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<ProjectTask> 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<ProjectTask> 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: