你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
HybridContainerServiceAgentPoolProfile Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Profile for agent pool properties specified during creation.
public class HybridContainerServiceAgentPoolProfile : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.HybridContainerService.Models.HybridContainerServiceAgentPoolProfile>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.HybridContainerService.Models.HybridContainerServiceAgentPoolProfile>
public class HybridContainerServiceAgentPoolProfile
type HybridContainerServiceAgentPoolProfile = class
interface IJsonModel<HybridContainerServiceAgentPoolProfile>
interface IPersistableModel<HybridContainerServiceAgentPoolProfile>
type HybridContainerServiceAgentPoolProfile = class
Public Class HybridContainerServiceAgentPoolProfile
Implements IJsonModel(Of HybridContainerServiceAgentPoolProfile), IPersistableModel(Of HybridContainerServiceAgentPoolProfile)
Public Class HybridContainerServiceAgentPoolProfile
- Inheritance
-
HybridContainerServiceAgentPoolProfile
- Derived
- Implements
Constructors
HybridContainerServiceAgentPoolProfile() |
Initializes a new instance of HybridContainerServiceAgentPoolProfile. |
Properties
EnableAutoScaling |
Whether to enable auto-scaler. Default value is false. |
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. |
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). |
Explicit Interface Implementations
IJsonModel<HybridContainerServiceAgentPoolProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<HybridContainerServiceAgentPoolProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<HybridContainerServiceAgentPoolProfile>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<HybridContainerServiceAgentPoolProfile>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<HybridContainerServiceAgentPoolProfile>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |