public class ManagedClusterAgentPoolProfileProperties extends Object
| Constructor and Description |
|---|
ManagedClusterAgentPoolProfileProperties() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
availabilityZones()
Get (PREVIEW) Availability zones for nodes.
|
int |
count()
Get number of agents (VMs) to host docker containers.
|
Boolean |
enableAutoScaling()
Get whether to enable auto-scaler.
|
Boolean |
enableNodePublicIP()
Get enable public IP for nodes.
|
Integer |
maxCount()
Get maximum number of nodes for auto-scaling.
|
Integer |
maxPods()
Get maximum number of pods that can run on a node.
|
Integer |
minCount()
Get minimum number of nodes for auto-scaling.
|
List<String> |
nodeTaints()
Get taints added to new nodes during node pool create and scale.
|
String |
orchestratorVersion()
Get version of orchestrator specified when creating the managed cluster.
|
Integer |
osDiskSizeGB()
Get oS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool.
|
OSType |
osType()
Get osType to be used to specify os type.
|
String |
provisioningState()
Get the current deployment or provisioning state, which only appears in the response.
|
ScaleSetEvictionPolicy |
scaleSetEvictionPolicy()
Get scaleSetEvictionPolicy to be used to specify eviction policy for low priority virtual machine scale set.
|
ScaleSetPriority |
scaleSetPriority()
Get scaleSetPriority to be used to specify virtual machine scale set priority.
|
AgentPoolType |
type()
Get agentPoolType represents types of an agent pool.
|
ContainerServiceVMSizeTypes |
vmSize()
Get size of agent VMs.
|
String |
vnetSubnetID()
Get vNet SubnetID specifies the VNet's subnet identifier.
|
ManagedClusterAgentPoolProfileProperties |
withAvailabilityZones(List<String> availabilityZones)
Set (PREVIEW) Availability zones for nodes.
|
ManagedClusterAgentPoolProfileProperties |
withCount(int count)
Set number of agents (VMs) to host docker containers.
|
ManagedClusterAgentPoolProfileProperties |
withEnableAutoScaling(Boolean enableAutoScaling)
Set whether to enable auto-scaler.
|
ManagedClusterAgentPoolProfileProperties |
withEnableNodePublicIP(Boolean enableNodePublicIP)
Set enable public IP for nodes.
|
ManagedClusterAgentPoolProfileProperties |
withMaxCount(Integer maxCount)
Set maximum number of nodes for auto-scaling.
|
ManagedClusterAgentPoolProfileProperties |
withMaxPods(Integer maxPods)
Set maximum number of pods that can run on a node.
|
ManagedClusterAgentPoolProfileProperties |
withMinCount(Integer minCount)
Set minimum number of nodes for auto-scaling.
|
ManagedClusterAgentPoolProfileProperties |
withNodeTaints(List<String> nodeTaints)
Set taints added to new nodes during node pool create and scale.
|
ManagedClusterAgentPoolProfileProperties |
withOrchestratorVersion(String orchestratorVersion)
Set version of orchestrator specified when creating the managed cluster.
|
ManagedClusterAgentPoolProfileProperties |
withOsDiskSizeGB(Integer osDiskSizeGB)
Set oS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool.
|
ManagedClusterAgentPoolProfileProperties |
withOsType(OSType osType)
Set osType to be used to specify os type.
|
ManagedClusterAgentPoolProfileProperties |
withScaleSetEvictionPolicy(ScaleSetEvictionPolicy scaleSetEvictionPolicy)
Set scaleSetEvictionPolicy to be used to specify eviction policy for low priority virtual machine scale set.
|
ManagedClusterAgentPoolProfileProperties |
withScaleSetPriority(ScaleSetPriority scaleSetPriority)
Set scaleSetPriority to be used to specify virtual machine scale set priority.
|
ManagedClusterAgentPoolProfileProperties |
withType(AgentPoolType type)
Set agentPoolType represents types of an agent pool.
|
ManagedClusterAgentPoolProfileProperties |
withVmSize(ContainerServiceVMSizeTypes vmSize)
Set size of agent VMs.
|
ManagedClusterAgentPoolProfileProperties |
withVnetSubnetID(String vnetSubnetID)
Set vNet SubnetID specifies the VNet's subnet identifier.
|
public ManagedClusterAgentPoolProfileProperties()
public int count()
public ManagedClusterAgentPoolProfileProperties withCount(int count)
count - the count value to setpublic ContainerServiceVMSizeTypes vmSize()
public ManagedClusterAgentPoolProfileProperties withVmSize(ContainerServiceVMSizeTypes vmSize)
vmSize - the vmSize value to setpublic Integer osDiskSizeGB()
public ManagedClusterAgentPoolProfileProperties withOsDiskSizeGB(Integer osDiskSizeGB)
osDiskSizeGB - the osDiskSizeGB value to setpublic String vnetSubnetID()
public ManagedClusterAgentPoolProfileProperties withVnetSubnetID(String vnetSubnetID)
vnetSubnetID - the vnetSubnetID value to setpublic Integer maxPods()
public ManagedClusterAgentPoolProfileProperties withMaxPods(Integer maxPods)
maxPods - the maxPods value to setpublic OSType osType()
public ManagedClusterAgentPoolProfileProperties withOsType(OSType osType)
osType - the osType value to setpublic Integer maxCount()
public ManagedClusterAgentPoolProfileProperties withMaxCount(Integer maxCount)
maxCount - the maxCount value to setpublic Integer minCount()
public ManagedClusterAgentPoolProfileProperties withMinCount(Integer minCount)
minCount - the minCount value to setpublic Boolean enableAutoScaling()
public ManagedClusterAgentPoolProfileProperties withEnableAutoScaling(Boolean enableAutoScaling)
enableAutoScaling - the enableAutoScaling value to setpublic AgentPoolType type()
public ManagedClusterAgentPoolProfileProperties withType(AgentPoolType type)
type - the type value to setpublic String orchestratorVersion()
public ManagedClusterAgentPoolProfileProperties withOrchestratorVersion(String orchestratorVersion)
orchestratorVersion - the orchestratorVersion value to setpublic String provisioningState()
public List<String> availabilityZones()
public ManagedClusterAgentPoolProfileProperties withAvailabilityZones(List<String> availabilityZones)
availabilityZones - the availabilityZones value to setpublic Boolean enableNodePublicIP()
public ManagedClusterAgentPoolProfileProperties withEnableNodePublicIP(Boolean enableNodePublicIP)
enableNodePublicIP - the enableNodePublicIP value to setpublic ScaleSetPriority scaleSetPriority()
public ManagedClusterAgentPoolProfileProperties withScaleSetPriority(ScaleSetPriority scaleSetPriority)
scaleSetPriority - the scaleSetPriority value to setpublic ScaleSetEvictionPolicy scaleSetEvictionPolicy()
public ManagedClusterAgentPoolProfileProperties withScaleSetEvictionPolicy(ScaleSetEvictionPolicy scaleSetEvictionPolicy)
scaleSetEvictionPolicy - the scaleSetEvictionPolicy value to setpublic List<String> nodeTaints()
public ManagedClusterAgentPoolProfileProperties withNodeTaints(List<String> nodeTaints)
nodeTaints - the nodeTaints value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/