StorageTasks Interface
public interface StorageTasks
Resource collection API of StorageTasks.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract Blank |
define(String name)
Begins definition for a new Storage |
| abstract void |
delete(String resourceGroupName, String storageTaskName, Context context)
Delete the storage task resource. |
| abstract void |
deleteById(String id)
Delete the storage task resource. |
| abstract void |
deleteByIdWithResponse(String id, Context context)
Delete the storage task resource. |
| abstract void |
deleteByResourceGroup(String resourceGroupName, String storageTaskName)
Delete the storage task resource. |
|
abstract
Storage |
getById(String id)
Get the storage task properties. |
|
abstract
Response<Storage |
getByIdWithResponse(String id, Context context)
Get the storage task properties. |
|
abstract
Storage |
getByResourceGroup(String resourceGroupName, String storageTaskName)
Get the storage task properties. |
|
abstract
Response<Storage |
getByResourceGroupWithResponse(String resourceGroupName, String storageTaskName, Context context)
Get the storage task properties. |
|
abstract
Paged |
list()
Lists all the storage tasks available under the subscription. |
|
abstract
Paged |
list(Context context)
Lists all the storage tasks available under the subscription. |
|
abstract
Paged |
listByResourceGroup(String resourceGroupName)
Lists all the storage tasks available under the given resource group. |
|
abstract
Paged |
listByResourceGroup(String resourceGroupName, Context context)
Lists all the storage tasks available under the given resource group. |
|
abstract
Storage |
previewActions(String location, StorageTaskPreviewActionInner parameters)
Runs the input conditions against input object metadata properties and designates matched objects in response. |
|
abstract
Response<Storage |
previewActionsWithResponse(String location, StorageTaskPreviewActionInner parameters, Context context)
Runs the input conditions against input object metadata properties and designates matched objects in response. |
Method Details
define
public abstract StorageTask.DefinitionStages.Blank define(String name)
Begins definition for a new StorageTask resource.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String storageTaskName, Context context)
Delete the storage task resource.
Parameters:
deleteById
public abstract void deleteById(String id)
Delete the storage task resource.
Parameters:
deleteByIdWithResponse
public abstract void deleteByIdWithResponse(String id, Context context)
Delete the storage task resource.
Parameters:
deleteByResourceGroup
public abstract void deleteByResourceGroup(String resourceGroupName, String storageTaskName)
Delete the storage task resource.
Parameters:
getById
public abstract StorageTask getById(String id)
Get the storage task properties.
Parameters:
Returns:
getByIdWithResponse
public abstract Response<StorageTask> getByIdWithResponse(String id, Context context)
Get the storage task properties.
Parameters:
Returns:
getByResourceGroup
public abstract StorageTask getByResourceGroup(String resourceGroupName, String storageTaskName)
Get the storage task properties.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response<StorageTask> getByResourceGroupWithResponse(String resourceGroupName, String storageTaskName, Context context)
Get the storage task properties.
Parameters:
Returns:
list
public abstract PagedIterable<StorageTask> list()
Lists all the storage tasks available under the subscription.
Returns:
list
public abstract PagedIterable<StorageTask> list(Context context)
Lists all the storage tasks available under the subscription.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<StorageTask> listByResourceGroup(String resourceGroupName)
Lists all the storage tasks available under the given resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<StorageTask> listByResourceGroup(String resourceGroupName, Context context)
Lists all the storage tasks available under the given resource group.
Parameters:
Returns:
previewActions
public abstract StorageTaskPreviewAction 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<StorageTaskPreviewAction> previewActionsWithResponse(String location, StorageTaskPreviewActionInner parameters, Context context)
Runs the input conditions against input object metadata properties and designates matched objects in response.
Parameters:
Returns: