Snapshot Class

A node pool snapshot resource.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.containerservice.v2022_01_02_preview.models._models_py3.Resource
Snapshot

Constructor

Snapshot(*, location: str, tags: Dict[str, str] | None = None, creation_data: _models.CreationData | None = None, snapshot_type: str | _models.SnapshotType = 'NodePool', **kwargs: Any)

Keyword-Only Parameters

Name Description
location
str

Resource location. Required.

tags

Resource tags.

creation_data

CreationData to be used to specify the source agent pool resource ID to create this snapshot.

snapshot_type

The type of a snapshot. The default is NodePool. "NodePool"

Default value: NodePool

Variables

Name Description
id
str

Resource Id.

name
str

Resource name.

type
str

Resource type.

location
str

Resource location. Required.

tags

Resource tags.

system_data

The system metadata relating to this snapshot.

creation_data

CreationData to be used to specify the source agent pool resource ID to create this snapshot.

snapshot_type

The type of a snapshot. The default is NodePool. "NodePool"

kubernetes_version
str

The version of Kubernetes.

node_image_version
str

The version of node image.

os_type
str or OSType

The operating system type. The default is Linux. Known values are: "Linux" and "Windows".

os_sku
str or OSSKU

Specifies an OS SKU. This value must not be specified if OSType is Windows. Known values are: "Ubuntu" and "CBLMariner".

vm_size
str

The size of the VM.

enable_fips

Whether to use a FIPS-enabled OS.