Partilhar via


Snapshot Class

Definition

A node pool snapshot resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.SnapshotTypeConverter))]
public class Snapshot : Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.ISnapshot, Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.SnapshotTypeConverter))>]
type Snapshot = class
    interface ISnapshot
    interface IJsonSerializable
    interface ITrackedResource
    interface IResource
    interface IValidates
Public Class Snapshot
Implements ISnapshot, IValidates
Inheritance
Snapshot
Attributes
Implements

Constructors

Snapshot()

Creates an new Snapshot instance.

Properties

CreationDataSourceResourceId

This is the ARM ID of the source object to be used to create the target object.

EnableFips

Whether to use a FIPS-enabled OS.

Id

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

KubernetesVersion

The version of Kubernetes.

Location

The geo-location where the resource lives

Name

The name of the resource

NodeImageVersion

The version of node image.

OSSku
OSType

The operating system type. The default is Linux.

SnapshotType

The type of a snapshot. The default is NodePool.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tag

Resource tags.

Type

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

VMSize

The size of the VM.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Snapshot.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Snapshot.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.ISnapshot.

FromJsonString(String)

Creates a new instance of Snapshot, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Snapshot into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to