SnapshotsOperations interface

Interface representing a Snapshots operations.

Properties

createOrUpdate

The operation to create or update a snapshot. Please note some properties can be set only during snapshot creation.

delete

The operation to delete a snapshot.

get

Gets a snapshot

listAll

Lists all of the snapshots in the specified subscription. Use the nextLink property in the response to get the next page of snapshots.

listByResourceGroup

Lists all of the snapshots in the specified resource group. Use the nextLink property in the response to get the next page of snapshots.

update

The operation to update a snapshot.

Property Details

createOrUpdate

The operation to create or update a snapshot. Please note some properties can be set only during snapshot creation.

createOrUpdate: (resourceGroupName: string, snapshotName: string, resource: Snapshot, options?: SnapshotsCreateOrUpdateOptionalParams) => PollerLike<OperationState<Snapshot>, Snapshot>

Property Value

(resourceGroupName: string, snapshotName: string, resource: Snapshot, options?: SnapshotsCreateOrUpdateOptionalParams) => PollerLike<OperationState<Snapshot>, Snapshot>

delete

The operation to delete a snapshot.

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

Property Value

(resourceGroupName: string, snapshotName: string, options?: SnapshotsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Gets a snapshot

get: (resourceGroupName: string, snapshotName: string, options?: SnapshotsGetOptionalParams) => Promise<Snapshot>

Property Value

(resourceGroupName: string, snapshotName: string, options?: SnapshotsGetOptionalParams) => Promise<Snapshot>

listAll

Lists all of the snapshots in the specified subscription. Use the nextLink property in the response to get the next page of snapshots.

listAll: (options?: SnapshotsListAllOptionalParams) => PagedAsyncIterableIterator<Snapshot, Snapshot[], PageSettings>

Property Value

(options?: SnapshotsListAllOptionalParams) => PagedAsyncIterableIterator<Snapshot, Snapshot[], PageSettings>

listByResourceGroup

Lists all of the snapshots in the specified resource group. Use the nextLink property in the response to get the next page of snapshots.

listByResourceGroup: (resourceGroupName: string, options?: SnapshotsListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<Snapshot, Snapshot[], PageSettings>

Property Value

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

update

The operation to update a snapshot.

update: (resourceGroupName: string, snapshotName: string, properties: SnapshotTagsUpdate, options?: SnapshotsUpdateOptionalParams) => PollerLike<OperationState<Snapshot>, Snapshot>

Property Value

(resourceGroupName: string, snapshotName: string, properties: SnapshotTagsUpdate, options?: SnapshotsUpdateOptionalParams) => PollerLike<OperationState<Snapshot>, Snapshot>