SubvolumesOperations interface

Interface representing a Subvolumes operations.

Properties

create

Creates a subvolume in the path or clones the subvolume mentioned in the parentPath Deprecated. This operation will be removed in a future API version.

delete

Delete subvolume

get

Returns the path associated with the subvolumeName provided

getMetadata

Get details of the specified subvolume

listByVolume

Returns a list of the subvolumes in the volume

update

Patch a subvolume

Property Details

create

Creates a subvolume in the path or clones the subvolume mentioned in the parentPath Deprecated. This operation will be removed in a future API version.

create: (resourceGroupName: string, accountName: string, poolName: string, volumeName: string, subvolumeName: string, body: SubvolumeInfo, options?: SubvolumesCreateOptionalParams) => PollerLike<OperationState<SubvolumeInfo>, SubvolumeInfo>

Property Value

(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, subvolumeName: string, body: SubvolumeInfo, options?: SubvolumesCreateOptionalParams) => PollerLike<OperationState<SubvolumeInfo>, SubvolumeInfo>

delete

Delete subvolume

delete: (resourceGroupName: string, accountName: string, poolName: string, volumeName: string, subvolumeName: string, options?: SubvolumesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, subvolumeName: string, options?: SubvolumesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Returns the path associated with the subvolumeName provided

get: (resourceGroupName: string, accountName: string, poolName: string, volumeName: string, subvolumeName: string, options?: SubvolumesGetOptionalParams) => Promise<SubvolumeInfo>

Property Value

(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, subvolumeName: string, options?: SubvolumesGetOptionalParams) => Promise<SubvolumeInfo>

getMetadata

Get details of the specified subvolume

getMetadata: (resourceGroupName: string, accountName: string, poolName: string, volumeName: string, subvolumeName: string, options?: SubvolumesGetMetadataOptionalParams) => PollerLike<OperationState<SubvolumeModel>, SubvolumeModel>

Property Value

(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, subvolumeName: string, options?: SubvolumesGetMetadataOptionalParams) => PollerLike<OperationState<SubvolumeModel>, SubvolumeModel>

listByVolume

Returns a list of the subvolumes in the volume

listByVolume: (resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: SubvolumesListByVolumeOptionalParams) => PagedAsyncIterableIterator<SubvolumeInfo, SubvolumeInfo[], PageSettings>

Property Value

(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: SubvolumesListByVolumeOptionalParams) => PagedAsyncIterableIterator<SubvolumeInfo, SubvolumeInfo[], PageSettings>

update

Patch a subvolume

update: (resourceGroupName: string, accountName: string, poolName: string, volumeName: string, subvolumeName: string, body: SubvolumePatchRequest, options?: SubvolumesUpdateOptionalParams) => PollerLike<OperationState<SubvolumeInfo>, SubvolumeInfo>

Property Value

(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, subvolumeName: string, body: SubvolumePatchRequest, options?: SubvolumesUpdateOptionalParams) => PollerLike<OperationState<SubvolumeInfo>, SubvolumeInfo>