StorageTasksClient Interface
public interface StorageTasksClient
An instance of this class provides access to all the operations defined in StorageTasksClient.
Method Summary
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:
Returns:
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:
Returns:
beginDelete
public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String storageTaskName)
Delete the storage task resource.
Parameters:
Returns:
beginDelete
public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String storageTaskName, Context context)
Delete the storage task resource.
Parameters:
Returns:
beginUpdate
public abstract SyncPoller<PollResult<StorageTaskInner>,StorageTaskInner> beginUpdate(String resourceGroupName, String storageTaskName, StorageTaskUpdateParameters parameters)
Update storage task properties.
Parameters:
Returns:
beginUpdate
public abstract SyncPoller<PollResult<StorageTaskInner>,StorageTaskInner> beginUpdate(String resourceGroupName, String storageTaskName, StorageTaskUpdateParameters parameters, Context context)
Update storage task properties.
Parameters:
Returns:
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:
Returns:
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:
Returns:
delete
public abstract void delete(String resourceGroupName, String storageTaskName)
Delete the storage task resource.
Parameters:
delete
public abstract void delete(String resourceGroupName, String storageTaskName, Context context)
Delete the storage task resource.
Parameters:
getByResourceGroup
public abstract StorageTaskInner getByResourceGroup(String resourceGroupName, String storageTaskName)
Get the storage task properties.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response<StorageTaskInner> getByResourceGroupWithResponse(String resourceGroupName, String storageTaskName, Context context)
Get the storage task properties.
Parameters:
Returns:
list
public abstract PagedIterable<StorageTaskInner> list()
Lists all the storage tasks available under the subscription.
Returns:
list
public abstract PagedIterable<StorageTaskInner> list(Context context)
Lists all the storage tasks available under the subscription.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<StorageTaskInner> listByResourceGroup(String resourceGroupName)
Lists all the storage tasks available under the given resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<StorageTaskInner> listByResourceGroup(String resourceGroupName, Context context)
Lists all the storage tasks available under the given resource group.
Parameters:
Returns:
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:
Returns:
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:
Returns:
update
public abstract StorageTaskInner update(String resourceGroupName, String storageTaskName, StorageTaskUpdateParameters parameters)
Update storage task properties.
Parameters:
Returns:
update
public abstract StorageTaskInner update(String resourceGroupName, String storageTaskName, StorageTaskUpdateParameters parameters, Context context)
Update storage task properties.
Parameters:
Returns: