VolumesOperations interface

Interface representing a Volumes operations.

Properties

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
createOrUpdate

Create a new volume or update the properties of the existing one.

delete

Delete the provided volume.

get

Get properties of the provided volume.

listByResourceGroup

Get a list of volumes in the provided resource group.

listBySubscription

Get a list of volumes in the provided subscription.

update

Update tags associated with the provided volume.

Property Details

beginCreateOrUpdate

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdate: (resourceGroupName: string, volumeName: string, volumeParameters: Volume, options?: VolumesCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Volume>, Volume>>

Property Value

(resourceGroupName: string, volumeName: string, volumeParameters: Volume, options?: VolumesCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Volume>, Volume>>

beginCreateOrUpdateAndWait

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdateAndWait: (resourceGroupName: string, volumeName: string, volumeParameters: Volume, options?: VolumesCreateOrUpdateOptionalParams) => Promise<Volume>

Property Value

(resourceGroupName: string, volumeName: string, volumeParameters: Volume, options?: VolumesCreateOrUpdateOptionalParams) => Promise<Volume>

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (resourceGroupName: string, volumeName: string, options?: VolumesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<OperationStatusResult>, OperationStatusResult>>

Property Value

(resourceGroupName: string, volumeName: string, options?: VolumesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<OperationStatusResult>, OperationStatusResult>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, volumeName: string, options?: VolumesDeleteOptionalParams) => Promise<OperationStatusResult>

Property Value

(resourceGroupName: string, volumeName: string, options?: VolumesDeleteOptionalParams) => Promise<OperationStatusResult>

createOrUpdate

Create a new volume or update the properties of the existing one.

createOrUpdate: (resourceGroupName: string, volumeName: string, volumeParameters: Volume, options?: VolumesCreateOrUpdateOptionalParams) => PollerLike<OperationState<Volume>, Volume>

Property Value

(resourceGroupName: string, volumeName: string, volumeParameters: Volume, options?: VolumesCreateOrUpdateOptionalParams) => PollerLike<OperationState<Volume>, Volume>

delete

Delete the provided volume.

delete: (resourceGroupName: string, volumeName: string, options?: VolumesDeleteOptionalParams) => PollerLike<OperationState<OperationStatusResult>, OperationStatusResult>

Property Value

(resourceGroupName: string, volumeName: string, options?: VolumesDeleteOptionalParams) => PollerLike<OperationState<OperationStatusResult>, OperationStatusResult>

get

Get properties of the provided volume.

get: (resourceGroupName: string, volumeName: string, options?: VolumesGetOptionalParams) => Promise<Volume>

Property Value

(resourceGroupName: string, volumeName: string, options?: VolumesGetOptionalParams) => Promise<Volume>

listByResourceGroup

Get a list of volumes in the provided resource group.

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

Property Value

(resourceGroupName: string, options?: VolumesListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<Volume, Volume[], PageSettings>

listBySubscription

Get a list of volumes in the provided subscription.

listBySubscription: (options?: VolumesListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<Volume, Volume[], PageSettings>

Property Value

(options?: VolumesListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<Volume, Volume[], PageSettings>

update

Update tags associated with the provided volume.

update: (resourceGroupName: string, volumeName: string, options?: VolumesUpdateOptionalParams) => Promise<Volume>

Property Value

(resourceGroupName: string, volumeName: string, options?: VolumesUpdateOptionalParams) => Promise<Volume>