NamedAgentPoolProfile 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 of the default agent pool along with a name parameter
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.NamedAgentPoolProfileTypeConverter))]
public class NamedAgentPoolProfile : Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.INamedAgentPoolProfile, Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.NamedAgentPoolProfileTypeConverter))>]
type NamedAgentPoolProfile = class
interface INamedAgentPoolProfile
interface IJsonSerializable
interface IAgentPoolProfile
interface IAgentPoolUpdateProfile
interface IAgentPoolName
interface IValidates
Public Class NamedAgentPoolProfile
Implements INamedAgentPoolProfile, IValidates
- Inheritance
-
NamedAgentPoolProfile
- Attributes
- Implements
Constructors
NamedAgentPoolProfile() |
Creates an new NamedAgentPoolProfile instance. |
Properties
Count |
Number of nodes in the agent pool. The default value is 1. |
EnableAutoScaling |
Whether to enable auto-scaler. Default value is false |
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 |
MaxPod |
The maximum number of pods that can run on a node. |
MinCount |
The minimum number of nodes for auto-scaling |
Name | |
NodeLabel |
The node labels to be persisted across all nodes in agent pool. |
NodeTaint |
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) |
VMSize |
The VM sku size of the agent pool node VMs. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of NamedAgentPoolProfile. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of NamedAgentPoolProfile. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.INamedAgentPoolProfile. |
FromJsonString(String) |
Creates a new instance of NamedAgentPoolProfile, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of NamedAgentPoolProfile into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() | |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |