VolumeGroupSnapshotsOperations interface

Interface representing a VolumeGroupSnapshots operations.

Properties

create

Create a manual snapshot of a volume group, or recover from an existing snapshot by providing sourceSnapshotResourceId

delete

Delete a volume group snapshot

get

Get a volume group snapshot

listByVolumeGroup

List all snapshots for a given volume group

listSnapshots

List all snapshots for a given volume group using POST with the same request and response contract

Property Details

create

Create a manual snapshot of a volume group, or recover from an existing snapshot by providing sourceSnapshotResourceId

create: (resourceGroupName: string, storagePoolName: string, volumeGroupName: string, snapshotName: string, resource: VolumeGroupSnapshot, options?: VolumeGroupSnapshotsCreateOptionalParams) => PollerLike<OperationState<VolumeGroupSnapshot>, VolumeGroupSnapshot>

Property Value

(resourceGroupName: string, storagePoolName: string, volumeGroupName: string, snapshotName: string, resource: VolumeGroupSnapshot, options?: VolumeGroupSnapshotsCreateOptionalParams) => PollerLike<OperationState<VolumeGroupSnapshot>, VolumeGroupSnapshot>

delete

Delete a volume group snapshot

delete: (resourceGroupName: string, storagePoolName: string, volumeGroupName: string, snapshotName: string, options?: VolumeGroupSnapshotsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, storagePoolName: string, volumeGroupName: string, snapshotName: string, options?: VolumeGroupSnapshotsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Get a volume group snapshot

get: (resourceGroupName: string, storagePoolName: string, volumeGroupName: string, snapshotName: string, options?: VolumeGroupSnapshotsGetOptionalParams) => Promise<VolumeGroupSnapshot>

Property Value

(resourceGroupName: string, storagePoolName: string, volumeGroupName: string, snapshotName: string, options?: VolumeGroupSnapshotsGetOptionalParams) => Promise<VolumeGroupSnapshot>

listByVolumeGroup

List all snapshots for a given volume group

listByVolumeGroup: (resourceGroupName: string, storagePoolName: string, volumeGroupName: string, options?: VolumeGroupSnapshotsListByVolumeGroupOptionalParams) => PagedAsyncIterableIterator<VolumeGroupSnapshot, VolumeGroupSnapshot[], PageSettings>

Property Value

(resourceGroupName: string, storagePoolName: string, volumeGroupName: string, options?: VolumeGroupSnapshotsListByVolumeGroupOptionalParams) => PagedAsyncIterableIterator<VolumeGroupSnapshot, VolumeGroupSnapshot[], PageSettings>

listSnapshots

List all snapshots for a given volume group using POST with the same request and response contract

listSnapshots: (resourceGroupName: string, storagePoolName: string, volumeGroupName: string, properties: VolumeGroupSnapshotListRequest, options?: VolumeGroupSnapshotsListSnapshotsOptionalParams) => Promise<VolumeGroupSnapshotPostListResult>

Property Value

(resourceGroupName: string, storagePoolName: string, volumeGroupName: string, properties: VolumeGroupSnapshotListRequest, options?: VolumeGroupSnapshotsListSnapshotsOptionalParams) => Promise<VolumeGroupSnapshotPostListResult>