Share via


AgentPoolUpgradeSettings Constructors

Definition

Overloads

AgentPoolUpgradeSettings()

Initializes a new instance of the AgentPoolUpgradeSettings class.

AgentPoolUpgradeSettings(String)

Initializes a new instance of the AgentPoolUpgradeSettings class.

AgentPoolUpgradeSettings()

Initializes a new instance of the AgentPoolUpgradeSettings class.

public AgentPoolUpgradeSettings ();
Public Sub New ()

Applies to

AgentPoolUpgradeSettings(String)

Initializes a new instance of the AgentPoolUpgradeSettings class.

public AgentPoolUpgradeSettings (string maxSurge = default);
new Microsoft.Azure.Management.ContainerService.Models.AgentPoolUpgradeSettings : string -> Microsoft.Azure.Management.ContainerService.Models.AgentPoolUpgradeSettings
Public Sub New (Optional maxSurge As String = Nothing)

Parameters

maxSurge
String

This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 1. For more information, including best practices, see: https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade

Applies to