Skip to main content

snapshots

Overview

Namesnapshots
TypeResource
Idazure.compute.snapshots

Fields

NameDatatypeDescription
idstringResource Id
namestringResource name
extendedLocationobjectThe complex type of the extended location.
locationstringResource location
managedBystringUnused. Always Null.
propertiesobjectSnapshot resource properties.
skuobjectThe snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot
tagsobjectResource tags
typestringResource type

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, snapshotName, subscriptionIdGets information about a snapshot.
listSELECTsubscriptionIdLists snapshots under a subscription.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdLists snapshots under a resource group.
create_or_updateINSERTresourceGroupName, snapshotName, subscriptionIdCreates or updates a snapshot.
deleteDELETEresourceGroupName, snapshotName, subscriptionIdDeletes a snapshot.
_listEXECsubscriptionIdLists snapshots under a subscription.
_list_by_resource_groupEXECresourceGroupName, subscriptionIdLists snapshots under a resource group.
grant_accessEXECresourceGroupName, snapshotName, subscriptionId, data__access, data__durationInSecondsGrants access to a snapshot.
revoke_accessEXECresourceGroupName, snapshotName, subscriptionIdRevokes access to a snapshot.
updateEXECresourceGroupName, snapshotName, subscriptionIdUpdates (patches) a snapshot.