Snapshot Class

Snapshot resource.

Constructor

Snapshot()

Variables

Name Description
id
str

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
str

The name of the resource.

type
str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

system_data
<xref:<xref:"SystemData">>

Azure Resource Manager metadata containing createdBy and modifiedBy information.

tags

Resource tags.

location
str

The geo-location where the resource lives. Required.

properties
<xref:<xref:"SnapshotProperties">>

Snapshot resource properties.

managed_by
str

Unused. Always Null.

sku
<xref:<xref:"SnapshotSku">>

The 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.

extended_location
<xref:<xref:"ExtendedLocation">>

The extended location where the snapshot will be created. Extended location cannot be changed.

Attributes

extendedLocation

The extended location where the snapshot will be created. Extended location cannot be changed.

extendedLocation: ExtendedLocation

managedBy

Unused. Always Null.

managedBy: str

properties

Snapshot resource properties.

properties: SnapshotProperties

sku

The 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.

sku: SnapshotSku

id

id: str

location

location: str

name

name: str

systemData

systemData: SystemData

tags

tags: dict[str, str]

type

type: str