ProjectTask Interface
public interface ProjectTask
An immutable client-side representation of ProjectTask.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
Project |
cancel()
Cancel a task The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic) instance. |
|
abstract
Response<Project |
cancelWithResponse(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(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(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 String |
etag()
Gets the etag property: HTTP strong entity tag value. |
| abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
|
abstract
Project |
innerModel()
Gets the inner com. |
| abstract String |
name()
Gets the name property: The name of the resource. |
|
abstract
Project |
properties()
Gets the properties property: Custom task properties. |
|
abstract
Project |
refresh()
Refreshes the resource to sync with Azure. |
|
abstract
Project |
refresh(Context context)
Refreshes the resource to sync with Azure. |
| abstract String |
resourceGroupName()
Gets the name of the resource group. |
|
abstract
System |
systemData()
Gets the system |
| abstract String |
type()
Gets the type property: The type of the resource. |
| abstract Update |
update()
Begins update for the Project |
Method Details
cancel
public abstract ProjectTask cancel()
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.
Returns:
cancelWithResponse
public abstract Response<ProjectTask> cancelWithResponse(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(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(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:
etag
public abstract String etag()
Gets the etag property: HTTP strong entity tag value. This is ignored if submitted.
Returns:
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
innerModel
public abstract ProjectTaskInner innerModel()
Gets the inner com.azure.resourcemanager.datamigration.fluent.models.ProjectTaskInner object.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
properties
public abstract ProjectTaskProperties properties()
Gets the properties property: Custom task properties.
Returns:
refresh
public abstract ProjectTask refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract ProjectTask refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
resourceGroupName
public abstract String resourceGroupName()
Gets the name of the resource group.
Returns:
systemData
public abstract SystemDataAutoGenerated systemData()
Gets the systemData property: Metadata pertaining to creation and last modification of the resource.
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns:
update
public abstract ProjectTask.Update update()
Begins update for the ProjectTask resource.
Returns: