Partilhar via


HybridContainerServiceAgentPoolData Class

Definition

A class representing the HybridContainerServiceAgentPool data model. The agentPool resource definition

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

Constructors

HybridContainerServiceAgentPoolData()

Initializes a new instance of HybridContainerServiceAgentPoolData.

Properties

Count

Number of nodes in the agent pool. The default value is 1.

EnableAutoScaling

Whether to enable auto-scaler. Default value is false.

ExtendedLocation

Extended location pointing to the underlying infrastructure.

Id

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

(Inherited from ResourceData)
KubernetesVersion

Version of Kubernetes in use by the agent pool. This is inherited from the kubernetesVersion of the provisioned cluster.

MaxCount

The maximum number of nodes for auto-scaling.

MaxPods

The maximum number of pods that can run on a node.

MinCount

The minimum number of nodes for auto-scaling.

Name

The name of the resource.

(Inherited from ResourceData)
NodeLabels

The node labels to be persisted across all nodes in agent pool.

NodeTaints

Taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.

OSSku

Specifies the OS SKU used by the agent pool. The default is CBLMariner if OSType is Linux. The default is Windows2019 when OSType is Windows.

OSType

The particular KubernetesVersion Image OS Type (Linux, Windows).

ProvisioningState

The status of the latest long running operation for the agent pool.

ResourceType

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

(Inherited from ResourceData)
Status

The observed status of the agent pool.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

VmSize

The VM sku size of the agent pool node VMs.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<HybridContainerServiceAgentPoolData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<HybridContainerServiceAgentPoolData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<HybridContainerServiceAgentPoolData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HybridContainerServiceAgentPoolData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<HybridContainerServiceAgentPoolData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to