StorageTasksClient Interface

public interface StorageTasksClient

An instance of this class provides access to all the operations defined in StorageTasksClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<StorageTaskInner>,StorageTaskInner> beginCreate(String resourceGroupName, String storageTaskName, StorageTaskInner parameters)

Asynchronously creates a new storage task resource with the specified parameters.

abstract SyncPoller<PollResult<StorageTaskInner>,StorageTaskInner> beginCreate(String resourceGroupName, String storageTaskName, StorageTaskInner parameters, Context context)

Asynchronously creates a new storage task resource with the specified parameters.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String storageTaskName)

Delete the storage task resource.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String storageTaskName, Context context)

Delete the storage task resource.

abstract SyncPoller<PollResult<StorageTaskInner>,StorageTaskInner> beginUpdate(String resourceGroupName, String storageTaskName, StorageTaskUpdateParameters parameters)

Update storage task properties.

abstract SyncPoller<PollResult<StorageTaskInner>,StorageTaskInner> beginUpdate(String resourceGroupName, String storageTaskName, StorageTaskUpdateParameters parameters, Context context)

Update storage task properties.

abstract StorageTaskInner create(String resourceGroupName, String storageTaskName, StorageTaskInner parameters)

Asynchronously creates a new storage task resource with the specified parameters.

abstract StorageTaskInner create(String resourceGroupName, String storageTaskName, StorageTaskInner parameters, Context context)

Asynchronously creates a new storage task resource with the specified parameters.

abstract void delete(String resourceGroupName, String storageTaskName)

Delete the storage task resource.

abstract void delete(String resourceGroupName, String storageTaskName, Context context)

Delete the storage task resource.

abstract StorageTaskInner getByResourceGroup(String resourceGroupName, String storageTaskName)

Get the storage task properties.

abstract Response<StorageTaskInner> getByResourceGroupWithResponse(String resourceGroupName, String storageTaskName, Context context)

Get the storage task properties.

abstract PagedIterable<StorageTaskInner> list()

Lists all the storage tasks available under the subscription.

abstract PagedIterable<StorageTaskInner> list(Context context)

Lists all the storage tasks available under the subscription.

abstract PagedIterable<StorageTaskInner> listByResourceGroup(String resourceGroupName)

Lists all the storage tasks available under the given resource group.

abstract PagedIterable<StorageTaskInner> listByResourceGroup(String resourceGroupName, Context context)

Lists all the storage tasks available under the given resource group.

abstract StorageTaskPreviewActionInner previewActions(String location, StorageTaskPreviewActionInner parameters)

Runs the input conditions against input object metadata properties and designates matched objects in response.

abstract Response<StorageTaskPreviewActionInner> previewActionsWithResponse(String location, StorageTaskPreviewActionInner parameters, Context context)

Runs the input conditions against input object metadata properties and designates matched objects in response.

abstract StorageTaskInner update(String resourceGroupName, String storageTaskName, StorageTaskUpdateParameters parameters)

Update storage task properties.

abstract StorageTaskInner update(String resourceGroupName, String storageTaskName, StorageTaskUpdateParameters parameters, Context context)

Update storage task properties.

Method Details

beginCreate

public abstract SyncPoller<PollResult<StorageTaskInner>,StorageTaskInner> beginCreate(String resourceGroupName, String storageTaskName, StorageTaskInner parameters)

Asynchronously creates a new storage task resource with the specified parameters. If a storage task is already created and a subsequent create request is issued with different properties, the storage task properties will be updated. If a storage task is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageTaskName - The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only.
parameters - The parameters to create a Storage Task.

Returns:

the SyncPoller<T,U> for polling of represents Storage Task.

beginCreate

public abstract SyncPoller<PollResult<StorageTaskInner>,StorageTaskInner> beginCreate(String resourceGroupName, String storageTaskName, StorageTaskInner parameters, Context context)

Asynchronously creates a new storage task resource with the specified parameters. If a storage task is already created and a subsequent create request is issued with different properties, the storage task properties will be updated. If a storage task is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageTaskName - The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only.
parameters - The parameters to create a Storage Task.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of represents Storage Task.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String storageTaskName)

Delete the storage task resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageTaskName - The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String storageTaskName, Context context)

Delete the storage task resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageTaskName - The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller<PollResult<StorageTaskInner>,StorageTaskInner> beginUpdate(String resourceGroupName, String storageTaskName, StorageTaskUpdateParameters parameters)

Update storage task properties.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageTaskName - The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only.
parameters - The parameters to provide to update the storage task resource.

Returns:

the SyncPoller<T,U> for polling of represents Storage Task.

beginUpdate

public abstract SyncPoller<PollResult<StorageTaskInner>,StorageTaskInner> beginUpdate(String resourceGroupName, String storageTaskName, StorageTaskUpdateParameters parameters, Context context)

Update storage task properties.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageTaskName - The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only.
parameters - The parameters to provide to update the storage task resource.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of represents Storage Task.

create

public abstract StorageTaskInner create(String resourceGroupName, String storageTaskName, StorageTaskInner parameters)

Asynchronously creates a new storage task resource with the specified parameters. If a storage task is already created and a subsequent create request is issued with different properties, the storage task properties will be updated. If a storage task is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageTaskName - The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only.
parameters - The parameters to create a Storage Task.

Returns:

represents Storage Task.

create

public abstract StorageTaskInner create(String resourceGroupName, String storageTaskName, StorageTaskInner parameters, Context context)

Asynchronously creates a new storage task resource with the specified parameters. If a storage task is already created and a subsequent create request is issued with different properties, the storage task properties will be updated. If a storage task is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageTaskName - The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only.
parameters - The parameters to create a Storage Task.
context - The context to associate with this operation.

Returns:

represents Storage Task.

delete

public abstract void delete(String resourceGroupName, String storageTaskName)

Delete the storage task resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageTaskName - The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only.

delete

public abstract void delete(String resourceGroupName, String storageTaskName, Context context)

Delete the storage task resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageTaskName - The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only.
context - The context to associate with this operation.

getByResourceGroup

public abstract StorageTaskInner getByResourceGroup(String resourceGroupName, String storageTaskName)

Get the storage task properties.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageTaskName - The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only.

Returns:

the storage task properties.

getByResourceGroupWithResponse

public abstract Response<StorageTaskInner> getByResourceGroupWithResponse(String resourceGroupName, String storageTaskName, Context context)

Get the storage task properties.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageTaskName - The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only.
context - The context to associate with this operation.

Returns:

the storage task properties along with Response<T>.

list

public abstract PagedIterable<StorageTaskInner> list()

Lists all the storage tasks available under the subscription.

Returns:

the response from the List Storage Task operation as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<StorageTaskInner> list(Context context)

Lists all the storage tasks available under the subscription.

Parameters:

context - The context to associate with this operation.

Returns:

the response from the List Storage Task operation as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<StorageTaskInner> listByResourceGroup(String resourceGroupName)

Lists all the storage tasks available under the given resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

the response from the List Storage Task operation as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<StorageTaskInner> listByResourceGroup(String resourceGroupName, Context context)

Lists all the storage tasks available under the given resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
context - The context to associate with this operation.

Returns:

the response from the List Storage Task operation as paginated response with PagedIterable<T>.

previewActions

public abstract StorageTaskPreviewActionInner previewActions(String location, StorageTaskPreviewActionInner parameters)

Runs the input conditions against input object metadata properties and designates matched objects in response.

Parameters:

location - The location to perform preview of the actions.
parameters - The parameters to preview action condition.

Returns:

storage Task Preview Action.

previewActionsWithResponse

public abstract Response<StorageTaskPreviewActionInner> previewActionsWithResponse(String location, StorageTaskPreviewActionInner parameters, Context context)

Runs the input conditions against input object metadata properties and designates matched objects in response.

Parameters:

location - The location to perform preview of the actions.
parameters - The parameters to preview action condition.
context - The context to associate with this operation.

Returns:

storage Task Preview Action along with Response<T>.

update

public abstract StorageTaskInner update(String resourceGroupName, String storageTaskName, StorageTaskUpdateParameters parameters)

Update storage task properties.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageTaskName - The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only.
parameters - The parameters to provide to update the storage task resource.

Returns:

represents Storage Task.

update

public abstract StorageTaskInner update(String resourceGroupName, String storageTaskName, StorageTaskUpdateParameters parameters, Context context)

Update storage task properties.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageTaskName - The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only.
parameters - The parameters to provide to update the storage task resource.
context - The context to associate with this operation.

Returns:

represents Storage Task.

Applies to