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.ResourceSnapshot
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
|
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
|
str or
SnapshotType
The type of a snapshot. The default is NodePool. "NodePool" Default value: NodePool
|
Variables
Name | Description |
---|---|
id
|
Resource Id. |
name
|
Resource name. |
type
|
Resource type. |
location
|
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
|
str or
SnapshotType
The type of a snapshot. The default is NodePool. "NodePool" |
kubernetes_version
|
The version of Kubernetes. |
node_image_version
|
The version of node image. |
os_type
|
The operating system type. The default is Linux. Known values are: "Linux" and "Windows". |
os_sku
|
Specifies an OS SKU. This value must not be specified if OSType is Windows. Known values are: "Ubuntu" and "CBLMariner". |
vm_size
|
The size of the VM. |
enable_fips
|
Whether to use a FIPS-enabled OS. |
Azure SDK for Python