Udostępnij za pośrednictwem


AgentPoolSnapshotData Class

Definition

A class representing the AgentPoolSnapshot data model. A node pool snapshot resource.

public class AgentPoolSnapshotData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerService.AgentPoolSnapshotData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerService.AgentPoolSnapshotData>
public class AgentPoolSnapshotData : Azure.ResourceManager.Models.TrackedResourceData
type AgentPoolSnapshotData = class
    inherit TrackedResourceData
    interface IJsonModel<AgentPoolSnapshotData>
    interface IPersistableModel<AgentPoolSnapshotData>
type AgentPoolSnapshotData = class
    inherit TrackedResourceData
Public Class AgentPoolSnapshotData
Inherits TrackedResourceData
Implements IJsonModel(Of AgentPoolSnapshotData), IPersistableModel(Of AgentPoolSnapshotData)
Public Class AgentPoolSnapshotData
Inherits TrackedResourceData
Inheritance
AgentPoolSnapshotData
Implements

Constructors

AgentPoolSnapshotData(AzureLocation)

Initializes a new instance of AgentPoolSnapshotData.

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}.

(Inherited from ResourceData)
KubernetesVersion

The version of Kubernetes.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
NodeImageVersion

The version of node image.

OSSku

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.

OSType

The operating system type. The default is Linux.

ResourceType

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

(Inherited from ResourceData)
SnapshotType

The type of a snapshot. The default is NodePool.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
VmSize

The size of the VM.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<AgentPoolSnapshotData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AgentPoolSnapshotData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AgentPoolSnapshotData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AgentPoolSnapshotData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AgentPoolSnapshotData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to