Snapshot Class

Snapshot resource.

Constructor

Snapshot(*args: Any, **kwargs: Any)

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

Azure Resource Manager metadata containing createdBy and modifiedBy information.

tags

Resource tags.

location
str

The geo-location where the resource lives. Required.

properties

Snapshot resource properties.

managed_by
str

Unused. Always Null.

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.

extended_location

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

Attributes

extended_location

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

extended_location: _models.ExtendedLocation | None

managed_by

Unused. Always Null.

managed_by: str | None

properties

Snapshot resource properties.

properties: _models.SnapshotProperties | None

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: _models.SnapshotSku | None