你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SnapshotProperties Class

Definition

Properties used to configure a node pool snapshot.

public class SnapshotProperties
type SnapshotProperties = class
Public Class SnapshotProperties
Inheritance
SnapshotProperties

Constructors

SnapshotProperties()

Initializes a new instance of the SnapshotProperties class.

SnapshotProperties(CreationData, String, String, String, String, String, String, Nullable<Boolean>)

Initializes a new instance of the SnapshotProperties class.

Properties

CreationData

Gets or sets creationData to be used to specify the source agent pool resource ID to create this snapshot.

EnableFips

Gets whether to use a FIPS-enabled OS.

KubernetesVersion

Gets the version of Kubernetes.

NodeImageVersion

Gets the version of node image.

OSSku

Gets specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows. Possible values include: 'Ubuntu', 'AzureLinux', 'CBLMariner', 'Windows2019', 'Windows2022'

OSType

Gets the operating system type. The default is Linux. Possible values include: 'Linux', 'Windows'

SnapshotType

Gets or sets the type of a snapshot. The default is NodePool. Possible values include: 'NodePool'

VMSize

Gets the size of the VM.

Applies to