SnapshotsOperations interface
Interface representing a Snapshots operations.
Properties
| create | Create the specified snapshot within the given volume |
| delete | |
| get | Get details of the specified snapshot |
| list | List all snapshots associated with the volume |
| restore |
Restore the specified files from the specified snapshot to the active filesystem |
| update | Patch a snapshot |
Property Details
create
Create the specified snapshot within the given volume
create: (resourceGroupName: string, accountName: string, poolName: string, volumeName: string, snapshotName: string, body: Snapshot, options?: SnapshotsCreateOptionalParams) => PollerLike<OperationState<Snapshot>, Snapshot>
Property Value
(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, snapshotName: string, body: Snapshot, options?: SnapshotsCreateOptionalParams) => PollerLike<OperationState<Snapshot>, Snapshot>
delete
delete: (resourceGroupName: string, accountName: string, poolName: string, volumeName: string, snapshotName: string, options?: SnapshotsDeleteOptionalParams) => PollerLike<OperationState<void>, void>
Property Value
(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, snapshotName: string, options?: SnapshotsDeleteOptionalParams) => PollerLike<OperationState<void>, void>
get
Get details of the specified snapshot
get: (resourceGroupName: string, accountName: string, poolName: string, volumeName: string, snapshotName: string, options?: SnapshotsGetOptionalParams) => Promise<Snapshot>
Property Value
(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, snapshotName: string, options?: SnapshotsGetOptionalParams) => Promise<Snapshot>
list
List all snapshots associated with the volume
list: (resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: SnapshotsListOptionalParams) => PagedAsyncIterableIterator<Snapshot, Snapshot[], PageSettings>
Property Value
(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: SnapshotsListOptionalParams) => PagedAsyncIterableIterator<Snapshot, Snapshot[], PageSettings>
restoreFiles
Restore the specified files from the specified snapshot to the active filesystem
restoreFiles: (resourceGroupName: string, accountName: string, poolName: string, volumeName: string, snapshotName: string, body: SnapshotRestoreFiles, options?: SnapshotsRestoreFilesOptionalParams) => PollerLike<OperationState<void>, void>
Property Value
(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, snapshotName: string, body: SnapshotRestoreFiles, options?: SnapshotsRestoreFilesOptionalParams) => PollerLike<OperationState<void>, void>
update
Patch a snapshot
update: (resourceGroupName: string, accountName: string, poolName: string, volumeName: string, snapshotName: string, body: SnapshotPatch, options?: SnapshotsUpdateOptionalParams) => PollerLike<OperationState<Snapshot>, Snapshot>
Property Value
(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, snapshotName: string, body: SnapshotPatch, options?: SnapshotsUpdateOptionalParams) => PollerLike<OperationState<Snapshot>, Snapshot>