ServiceTasks Interface
public interface ServiceTasks
Resource collection API of ServiceTasks.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
Project |
cancel(String groupName, String serviceName, String taskName)
Cancel a service task The service 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 taskName, Context context)
Cancel a service task The service tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) instance. |
|
abstract
Project |
createOrUpdate(String groupName, String serviceName, String taskName, ProjectTaskInner parameters)
Create or update service task The service 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 taskName, ProjectTaskInner parameters, Context context)
Create or update service task The service tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) instance. |
| abstract void |
delete(String groupName, String serviceName, String taskName)
Delete service task The service 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 taskName, Boolean deleteRunningTasks, Context context)
Delete service task The service tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) instance. |
|
abstract
Project |
get(String groupName, String serviceName, String taskName)
Get service task information The service 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 taskName, String expand, Context context)
Get service task information The service tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) instance. |
|
abstract
Paged |
list(String groupName, String serviceName)
Get service level tasks for 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 taskType, Context context)
Get service level tasks for 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 taskName, ProjectTaskInner parameters)
Create or update service task The service 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 taskName, ProjectTaskInner parameters, Context context)
Create or update service task The service tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) instance. |
Method Details
cancel
public abstract ProjectTask cancel(String groupName, String serviceName, String taskName)
Cancel a service task 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.
Parameters:
Returns:
cancelWithResponse
public abstract Response<ProjectTask> cancelWithResponse(String groupName, String serviceName, String taskName, Context context)
Cancel a service task 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.
Parameters:
Returns:
createOrUpdate
public abstract ProjectTask createOrUpdate(String groupName, String serviceName, String taskName, ProjectTaskInner parameters)
Create or update service task 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.
Parameters:
Returns:
createOrUpdateWithResponse
public abstract Response<ProjectTask> createOrUpdateWithResponse(String groupName, String serviceName, String taskName, ProjectTaskInner parameters, Context context)
Create or update service task 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.
Parameters:
Returns:
delete
public abstract void delete(String groupName, String serviceName, String taskName)
Delete service task 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.
Parameters:
deleteWithResponse
public abstract Response<Void> deleteWithResponse(String groupName, String serviceName, String taskName, Boolean deleteRunningTasks, Context context)
Delete service task 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.
Parameters:
Returns:
get
public abstract ProjectTask get(String groupName, String serviceName, String taskName)
Get service task information 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.
Parameters:
Returns:
getWithResponse
public abstract Response<ProjectTask> getWithResponse(String groupName, String serviceName, String taskName, String expand, Context context)
Get service task information 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.
Parameters:
Returns:
list
public abstract PagedIterable<ProjectTask> list(String groupName, String serviceName)
Get service level tasks for a service 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.
Parameters:
Returns:
list
public abstract PagedIterable<ProjectTask> list(String groupName, String serviceName, String taskType, Context context)
Get service level tasks for a service 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.
Parameters:
Returns:
update
public abstract ProjectTask update(String groupName, String serviceName, String taskName, ProjectTaskInner parameters)
Create or update service task 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.
Parameters:
Returns:
updateWithResponse
public abstract Response<ProjectTask> updateWithResponse(String groupName, String serviceName, String taskName, ProjectTaskInner parameters, Context context)
Create or update service task 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.
Parameters:
Returns: