SnapshotsOperations interface
Interface representing a Snapshots operations.
Properties
| create |
Creates or updates a snapshot. |
| delete | |
| get | Gets a snapshot. |
| list | Gets a list of snapshots in the specified subscription. |
| list |
Lists snapshots in the specified subscription and resource group. |
| update |
Updates tags on a snapshot. |
Property Details
createOrUpdate
Creates or updates a snapshot.
createOrUpdate: (resourceGroupName: string, resourceName: string, parameters: Snapshot, options?: SnapshotsCreateOrUpdateOptionalParams) => Promise<Snapshot>
Property Value
(resourceGroupName: string, resourceName: string, parameters: Snapshot, options?: SnapshotsCreateOrUpdateOptionalParams) => Promise<Snapshot>
delete
delete: (resourceGroupName: string, resourceName: string, options?: SnapshotsDeleteOptionalParams) => Promise<void>
Property Value
(resourceGroupName: string, resourceName: string, options?: SnapshotsDeleteOptionalParams) => Promise<void>
get
Gets a snapshot.
get: (resourceGroupName: string, resourceName: string, options?: SnapshotsGetOptionalParams) => Promise<Snapshot>
Property Value
(resourceGroupName: string, resourceName: string, options?: SnapshotsGetOptionalParams) => Promise<Snapshot>
list
Gets a list of snapshots in the specified subscription.
list: (options?: SnapshotsListOptionalParams) => PagedAsyncIterableIterator<Snapshot, Snapshot[], PageSettings>
Property Value
(options?: SnapshotsListOptionalParams) => PagedAsyncIterableIterator<Snapshot, Snapshot[], PageSettings>
listByResourceGroup
Lists snapshots in the specified subscription and resource group.
listByResourceGroup: (resourceGroupName: string, options?: SnapshotsListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<Snapshot, Snapshot[], PageSettings>
Property Value
(resourceGroupName: string, options?: SnapshotsListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<Snapshot, Snapshot[], PageSettings>
updateTags
Updates tags on a snapshot.
updateTags: (resourceGroupName: string, resourceName: string, parameters: TagsObject, options?: SnapshotsUpdateTagsOptionalParams) => Promise<Snapshot>
Property Value
(resourceGroupName: string, resourceName: string, parameters: TagsObject, options?: SnapshotsUpdateTagsOptionalParams) => Promise<Snapshot>