AgentPoolProfile 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
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.AgentPoolProfileTypeConverter))]
public class AgentPoolProfile : Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProfile
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.AgentPoolProfileTypeConverter))>]
type AgentPoolProfile = class
interface IAgentPoolProfile
interface IJsonSerializable
Public Class AgentPoolProfile
Implements IAgentPoolProfile
- Inheritance
-
AgentPoolProfile
- Attributes
- Implements
Constructors
AgentPoolProfile() |
Creates an new AgentPoolProfile instance. |
Properties
EnableAutoScaling |
Whether to enable auto-scaler. Default value is false |
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 |
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) |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of AgentPoolProfile. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of AgentPoolProfile. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IAgentPoolProfile. |
FromJsonString(String) |
Creates a new instance of AgentPoolProfile, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of AgentPoolProfile into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |