Share via


VolumeSnapshotsOperations interface

Interface representing a VolumeSnapshots operations.

Properties

beginCreate
beginCreateAndWait
beginDelete
beginDeleteAndWait
create

Create a Volume Snapshot.

delete
get

Get a Volume Snapshot.

listByVolumeGroup

List Snapshots in a VolumeGroup or List Snapshots by Volume (name) in a VolumeGroup using filter

Property Details

beginCreate

Warning

This API is now deprecated.

use create instead

beginCreate: (resourceGroupName: string, elasticSanName: string, volumeGroupName: string, snapshotName: string, parameters: Snapshot, options?: VolumeSnapshotsCreateOptionalParams) => Promise<SimplePollerLike<OperationState<Snapshot>, Snapshot>>

Property Value

(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, snapshotName: string, parameters: Snapshot, options?: VolumeSnapshotsCreateOptionalParams) => Promise<SimplePollerLike<OperationState<Snapshot>, Snapshot>>

beginCreateAndWait

Warning

This API is now deprecated.

use create instead

beginCreateAndWait: (resourceGroupName: string, elasticSanName: string, volumeGroupName: string, snapshotName: string, parameters: Snapshot, options?: VolumeSnapshotsCreateOptionalParams) => Promise<Snapshot>

Property Value

(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, snapshotName: string, parameters: Snapshot, options?: VolumeSnapshotsCreateOptionalParams) => Promise<Snapshot>

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (resourceGroupName: string, elasticSanName: string, volumeGroupName: string, snapshotName: string, options?: VolumeSnapshotsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, snapshotName: string, options?: VolumeSnapshotsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, elasticSanName: string, volumeGroupName: string, snapshotName: string, options?: VolumeSnapshotsDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, snapshotName: string, options?: VolumeSnapshotsDeleteOptionalParams) => Promise<void>

create

Create a Volume Snapshot.

create: (resourceGroupName: string, elasticSanName: string, volumeGroupName: string, snapshotName: string, parameters: Snapshot, options?: VolumeSnapshotsCreateOptionalParams) => PollerLike<OperationState<Snapshot>, Snapshot>

Property Value

(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, snapshotName: string, parameters: Snapshot, options?: VolumeSnapshotsCreateOptionalParams) => PollerLike<OperationState<Snapshot>, Snapshot>

delete

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

Property Value

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

get

Get a Volume Snapshot.

get: (resourceGroupName: string, elasticSanName: string, volumeGroupName: string, snapshotName: string, options?: VolumeSnapshotsGetOptionalParams) => Promise<Snapshot>

Property Value

(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, snapshotName: string, options?: VolumeSnapshotsGetOptionalParams) => Promise<Snapshot>

listByVolumeGroup

List Snapshots in a VolumeGroup or List Snapshots by Volume (name) in a VolumeGroup using filter

listByVolumeGroup: (resourceGroupName: string, elasticSanName: string, volumeGroupName: string, options?: VolumeSnapshotsListByVolumeGroupOptionalParams) => PagedAsyncIterableIterator<Snapshot, Snapshot[], PageSettings>

Property Value

(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, options?: VolumeSnapshotsListByVolumeGroupOptionalParams) => PagedAsyncIterableIterator<Snapshot, Snapshot[], PageSettings>