VolumesOperations interface
Interface representing a Volumes operations.
Properties
| create | Create a volume |
| delete | Delete a volume |
| get | Get a volume |
| list |
List volumes by volume group |
| overwrite | Overwrites the content of a volume from another volume or a snapshot |
| update | Update a volume |
Property Details
create
Create a volume
create: (resourceGroupName: string, storagePoolName: string, volumeGroupName: string, volumeName: string, resource: Volume, options?: VolumesCreateOptionalParams) => PollerLike<OperationState<Volume>, Volume>
Property Value
(resourceGroupName: string, storagePoolName: string, volumeGroupName: string, volumeName: string, resource: Volume, options?: VolumesCreateOptionalParams) => PollerLike<OperationState<Volume>, Volume>
delete
Delete a volume
delete: (resourceGroupName: string, storagePoolName: string, volumeGroupName: string, volumeName: string, options?: VolumesDeleteOptionalParams) => PollerLike<OperationState<void>, void>
Property Value
(resourceGroupName: string, storagePoolName: string, volumeGroupName: string, volumeName: string, options?: VolumesDeleteOptionalParams) => PollerLike<OperationState<void>, void>
get
Get a volume
get: (resourceGroupName: string, storagePoolName: string, volumeGroupName: string, volumeName: string, options?: VolumesGetOptionalParams) => Promise<Volume>
Property Value
(resourceGroupName: string, storagePoolName: string, volumeGroupName: string, volumeName: string, options?: VolumesGetOptionalParams) => Promise<Volume>
listByVolumeGroup
List volumes by volume group
listByVolumeGroup: (resourceGroupName: string, storagePoolName: string, volumeGroupName: string, options?: VolumesListByVolumeGroupOptionalParams) => PagedAsyncIterableIterator<Volume, Volume[], PageSettings>
Property Value
(resourceGroupName: string, storagePoolName: string, volumeGroupName: string, options?: VolumesListByVolumeGroupOptionalParams) => PagedAsyncIterableIterator<Volume, Volume[], PageSettings>
overwrite
Overwrites the content of a volume from another volume or a snapshot
overwrite: (resourceGroupName: string, storagePoolName: string, volumeGroupName: string, volumeName: string, body: VolumeOverwriteRequest, options?: VolumesOverwriteOptionalParams) => PollerLike<OperationState<void>, void>
Property Value
(resourceGroupName: string, storagePoolName: string, volumeGroupName: string, volumeName: string, body: VolumeOverwriteRequest, options?: VolumesOverwriteOptionalParams) => PollerLike<OperationState<void>, void>
update
Update a volume
update: (resourceGroupName: string, storagePoolName: string, volumeGroupName: string, volumeName: string, properties: VolumeUpdate, options?: VolumesUpdateOptionalParams) => PollerLike<OperationState<Volume>, Volume>
Property Value
(resourceGroupName: string, storagePoolName: string, volumeGroupName: string, volumeName: string, properties: VolumeUpdate, options?: VolumesUpdateOptionalParams) => PollerLike<OperationState<Volume>, Volume>