Share via


StorageTasksOperations interface

Interface representing a StorageTasks operations.

Properties

create

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.

delete
get

Get the storage task properties

listByResourceGroup

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

listBySubscription

Lists all the storage tasks available under the subscription.

previewActions

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

update

Update storage task properties

Property Details

create

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.

create: (resourceGroupName: string, storageTaskName: string, parameters: StorageTask, options?: StorageTasksCreateOptionalParams) => PollerLike<OperationState<StorageTask>, StorageTask>

Property Value

(resourceGroupName: string, storageTaskName: string, parameters: StorageTask, options?: StorageTasksCreateOptionalParams) => PollerLike<OperationState<StorageTask>, StorageTask>

delete

delete: (resourceGroupName: string, storageTaskName: string, options?: StorageTasksDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, storageTaskName: string, options?: StorageTasksDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Get the storage task properties

get: (resourceGroupName: string, storageTaskName: string, options?: StorageTasksGetOptionalParams) => Promise<StorageTask>

Property Value

(resourceGroupName: string, storageTaskName: string, options?: StorageTasksGetOptionalParams) => Promise<StorageTask>

listByResourceGroup

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

listByResourceGroup: (resourceGroupName: string, options?: StorageTasksListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<StorageTask, StorageTask[], PageSettings>

Property Value

(resourceGroupName: string, options?: StorageTasksListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<StorageTask, StorageTask[], PageSettings>

listBySubscription

Lists all the storage tasks available under the subscription.

listBySubscription: (options?: StorageTasksListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<StorageTask, StorageTask[], PageSettings>

Property Value

(options?: StorageTasksListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<StorageTask, StorageTask[], PageSettings>

previewActions

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

previewActions: (location: string, parameters: StorageTaskPreviewAction, options?: StorageTasksPreviewActionsOptionalParams) => Promise<StorageTaskPreviewAction>

Property Value

(location: string, parameters: StorageTaskPreviewAction, options?: StorageTasksPreviewActionsOptionalParams) => Promise<StorageTaskPreviewAction>

update

Update storage task properties

update: (resourceGroupName: string, storageTaskName: string, parameters: StorageTaskUpdateParameters, options?: StorageTasksUpdateOptionalParams) => PollerLike<OperationState<StorageTask>, StorageTask>

Property Value

(resourceGroupName: string, storageTaskName: string, parameters: StorageTaskUpdateParameters, options?: StorageTasksUpdateOptionalParams) => PollerLike<OperationState<StorageTask>, StorageTask>