### YamlMime:JavaType uid: "com.microsoft.azure.management.containerservice.AgentPoolUpgradeSettings" fullName: "com.microsoft.azure.management.containerservice.AgentPoolUpgradeSettings" name: "AgentPoolUpgradeSettings" nameWithType: "AgentPoolUpgradeSettings" summary: "Settings for upgrading an agentpool." inheritances: - "" inheritedClassMethods: - classRef: "" methodsRef: - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" syntax: "public class **AgentPoolUpgradeSettings**" constructors: - uid: "com.microsoft.azure.management.containerservice.AgentPoolUpgradeSettings.AgentPoolUpgradeSettings()" fullName: "com.microsoft.azure.management.containerservice.AgentPoolUpgradeSettings.AgentPoolUpgradeSettings()" name: "AgentPoolUpgradeSettings()" nameWithType: "AgentPoolUpgradeSettings.AgentPoolUpgradeSettings()" syntax: "public AgentPoolUpgradeSettings()" methods: - uid: "com.microsoft.azure.management.containerservice.AgentPoolUpgradeSettings.maxSurge()" fullName: "com.microsoft.azure.management.containerservice.AgentPoolUpgradeSettings.maxSurge()" name: "maxSurge()" nameWithType: "AgentPoolUpgradeSettings.maxSurge()" summary: "Get count or percentage of additional nodes to be added during upgrade." syntax: "public String maxSurge()" desc: "Get count or percentage of additional nodes to be added during upgrade. If empty uses AKS default." returns: description: "the maxSurge value" type: "" - uid: "com.microsoft.azure.management.containerservice.AgentPoolUpgradeSettings.withMaxSurge(java.lang.String)" fullName: "com.microsoft.azure.management.containerservice.AgentPoolUpgradeSettings.withMaxSurge(String maxSurge)" name: "withMaxSurge(String maxSurge)" nameWithType: "AgentPoolUpgradeSettings.withMaxSurge(String maxSurge)" summary: "Set count or percentage of additional nodes to be added during upgrade." parameters: - description: "the maxSurge value to set" name: "maxSurge" type: "" syntax: "public AgentPoolUpgradeSettings withMaxSurge(String maxSurge)" desc: "Set count or percentage of additional nodes to be added during upgrade. If empty uses AKS default." returns: description: "the AgentPoolUpgradeSettings object itself." type: "" type: "class" desc: "Settings for upgrading an agentpool." metadata: {} package: "com.microsoft.azure.management.containerservice" artifact: com.microsoft.azure:azure-mgmt-containerservice:1.41.4