Share via


Snapshot Class

Definition

A node pool snapshot resource.

[Microsoft.Rest.Serialization.JsonTransformation]
public class Snapshot : Microsoft.Azure.Management.ContainerService.Models.TrackedResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Snapshot = class
    inherit TrackedResource
Public Class Snapshot
Inherits TrackedResource
Inheritance
Attributes

Constructors

Snapshot()

Initializes a new instance of the Snapshot class.

Snapshot(String, String, String, String, SystemData, IDictionary<String, String>, CreationData, String, String, String, String, String, String, Nullable<Boolean>)

Initializes a new instance of the Snapshot 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.

Id

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

(Inherited from Resource)
KubernetesVersion

Gets the version of Kubernetes.

Location

Gets or sets the geo-location where the resource lives

(Inherited from TrackedResource)
Name

Gets the name of the resource

(Inherited from Resource)
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'

SystemData

Gets azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from Resource)
Tags

Gets or sets resource tags.

(Inherited from TrackedResource)
Type

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

(Inherited from Resource)
VMSize

Gets the size of the VM.

Methods

Validate()

Validate the object.

Applies to