public class ManagedClusterAgentPoolProfileProperties extends Object
| Constructor and Description |
|---|
ManagedClusterAgentPoolProfileProperties() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
availabilityZones()
Get the availabilityZones property: Availability zones for nodes.
|
Integer |
count()
Get the count property: Number of agents (VMs) to host docker containers.
|
Boolean |
enableAutoScaling()
Get the enableAutoScaling property: Whether to enable auto-scaler.
|
Boolean |
enableNodePublicIp()
Get the enableNodePublicIp property: Enable public IP for nodes.
|
Integer |
maxCount()
Get the maxCount property: Maximum number of nodes for auto-scaling.
|
Integer |
maxPods()
Get the maxPods property: Maximum number of pods that can run on a node.
|
Integer |
minCount()
Get the minCount property: Minimum number of nodes for auto-scaling.
|
AgentPoolMode |
mode()
Get the mode property: AgentPoolMode represents mode of an agent pool.
|
String |
nodeImageVersion()
Get the nodeImageVersion property: Version of node image.
|
Map<String,String> |
nodeLabels()
Get the nodeLabels property: Agent pool node labels to be persisted across all nodes in agent pool.
|
List<String> |
nodeTaints()
Get the nodeTaints property: Taints added to new nodes during node pool create and scale.
|
String |
orchestratorVersion()
Get the orchestratorVersion property: Version of orchestrator specified when creating the managed cluster.
|
Integer |
osDiskSizeGB()
Get the osDiskSizeGB property: OS Disk Size in GB to be used to specify the disk size for every machine in this
master/agent pool.
|
OSType |
osType()
Get the osType property: OsType to be used to specify os type.
|
String |
provisioningState()
Get the provisioningState property: The current deployment or provisioning state, which only appears in the
response.
|
String |
proximityPlacementGroupId()
Get the proximityPlacementGroupId property: The ID for Proximity Placement Group.
|
ScaleSetEvictionPolicy |
scaleSetEvictionPolicy()
Get the scaleSetEvictionPolicy property: ScaleSetEvictionPolicy to be used to specify eviction policy for Spot
virtual machine scale set.
|
ScaleSetPriority |
scaleSetPriority()
Get the scaleSetPriority property: ScaleSetPriority to be used to specify virtual machine scale set priority.
|
Float |
spotMaxPrice()
Get the spotMaxPrice property: SpotMaxPrice to be used to specify the maximum price you are willing to pay in US
Dollars.
|
Map<String,String> |
tags()
Get the tags property: Agent pool tags to be persisted on the agent pool virtual machine scale set.
|
AgentPoolType |
type()
Get the type property: AgentPoolType represents types of an agent pool.
|
AgentPoolUpgradeSettings |
upgradeSettings()
Get the upgradeSettings property: Settings for upgrading the agentpool.
|
void |
validate()
Validates the instance.
|
ContainerServiceVMSizeTypes |
vmSize()
Get the vmSize property: Size of agent VMs.
|
String |
vnetSubnetId()
Get the vnetSubnetId property: VNet SubnetID specifies the VNet's subnet identifier.
|
ManagedClusterAgentPoolProfileProperties |
withAvailabilityZones(List<String> availabilityZones)
Set the availabilityZones property: Availability zones for nodes.
|
ManagedClusterAgentPoolProfileProperties |
withCount(Integer count)
Set the count property: Number of agents (VMs) to host docker containers.
|
ManagedClusterAgentPoolProfileProperties |
withEnableAutoScaling(Boolean enableAutoScaling)
Set the enableAutoScaling property: Whether to enable auto-scaler.
|
ManagedClusterAgentPoolProfileProperties |
withEnableNodePublicIp(Boolean enableNodePublicIp)
Set the enableNodePublicIp property: Enable public IP for nodes.
|
ManagedClusterAgentPoolProfileProperties |
withMaxCount(Integer maxCount)
Set the maxCount property: Maximum number of nodes for auto-scaling.
|
ManagedClusterAgentPoolProfileProperties |
withMaxPods(Integer maxPods)
Set the maxPods property: Maximum number of pods that can run on a node.
|
ManagedClusterAgentPoolProfileProperties |
withMinCount(Integer minCount)
Set the minCount property: Minimum number of nodes for auto-scaling.
|
ManagedClusterAgentPoolProfileProperties |
withMode(AgentPoolMode mode)
Set the mode property: AgentPoolMode represents mode of an agent pool.
|
ManagedClusterAgentPoolProfileProperties |
withNodeImageVersion(String nodeImageVersion)
Set the nodeImageVersion property: Version of node image.
|
ManagedClusterAgentPoolProfileProperties |
withNodeLabels(Map<String,String> nodeLabels)
Set the nodeLabels property: Agent pool node labels to be persisted across all nodes in agent pool.
|
ManagedClusterAgentPoolProfileProperties |
withNodeTaints(List<String> nodeTaints)
Set the nodeTaints property: Taints added to new nodes during node pool create and scale.
|
ManagedClusterAgentPoolProfileProperties |
withOrchestratorVersion(String orchestratorVersion)
Set the orchestratorVersion property: Version of orchestrator specified when creating the managed cluster.
|
ManagedClusterAgentPoolProfileProperties |
withOsDiskSizeGB(Integer osDiskSizeGB)
Set the osDiskSizeGB property: 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 the osType property: OsType to be used to specify os type.
|
ManagedClusterAgentPoolProfileProperties |
withProximityPlacementGroupId(String proximityPlacementGroupId)
Set the proximityPlacementGroupId property: The ID for Proximity Placement Group.
|
ManagedClusterAgentPoolProfileProperties |
withScaleSetEvictionPolicy(ScaleSetEvictionPolicy scaleSetEvictionPolicy)
Set the scaleSetEvictionPolicy property: ScaleSetEvictionPolicy to be used to specify eviction policy for Spot
virtual machine scale set.
|
ManagedClusterAgentPoolProfileProperties |
withScaleSetPriority(ScaleSetPriority scaleSetPriority)
Set the scaleSetPriority property: ScaleSetPriority to be used to specify virtual machine scale set priority.
|
ManagedClusterAgentPoolProfileProperties |
withSpotMaxPrice(Float spotMaxPrice)
Set the spotMaxPrice property: SpotMaxPrice to be used to specify the maximum price you are willing to pay in US
Dollars.
|
ManagedClusterAgentPoolProfileProperties |
withTags(Map<String,String> tags)
Set the tags property: Agent pool tags to be persisted on the agent pool virtual machine scale set.
|
ManagedClusterAgentPoolProfileProperties |
withType(AgentPoolType type)
Set the type property: AgentPoolType represents types of an agent pool.
|
ManagedClusterAgentPoolProfileProperties |
withUpgradeSettings(AgentPoolUpgradeSettings upgradeSettings)
Set the upgradeSettings property: Settings for upgrading the agentpool.
|
ManagedClusterAgentPoolProfileProperties |
withVmSize(ContainerServiceVMSizeTypes vmSize)
Set the vmSize property: Size of agent VMs.
|
ManagedClusterAgentPoolProfileProperties |
withVnetSubnetId(String vnetSubnetId)
Set the vnetSubnetId property: VNet SubnetID specifies the VNet's subnet identifier.
|
public ManagedClusterAgentPoolProfileProperties()
public Integer count()
public ManagedClusterAgentPoolProfileProperties withCount(Integer count)
count - the count value to set.public ContainerServiceVMSizeTypes vmSize()
public ManagedClusterAgentPoolProfileProperties withVmSize(ContainerServiceVMSizeTypes vmSize)
vmSize - the vmSize value to set.public Integer osDiskSizeGB()
public ManagedClusterAgentPoolProfileProperties withOsDiskSizeGB(Integer osDiskSizeGB)
osDiskSizeGB - the osDiskSizeGB value to set.public String vnetSubnetId()
public ManagedClusterAgentPoolProfileProperties withVnetSubnetId(String vnetSubnetId)
vnetSubnetId - the vnetSubnetId value to set.public Integer maxPods()
public ManagedClusterAgentPoolProfileProperties withMaxPods(Integer maxPods)
maxPods - the maxPods value to set.public OSType osType()
public ManagedClusterAgentPoolProfileProperties withOsType(OSType osType)
osType - the osType value to set.public Integer maxCount()
public ManagedClusterAgentPoolProfileProperties withMaxCount(Integer maxCount)
maxCount - the maxCount value to set.public Integer minCount()
public ManagedClusterAgentPoolProfileProperties withMinCount(Integer minCount)
minCount - the minCount value to set.public Boolean enableAutoScaling()
public ManagedClusterAgentPoolProfileProperties withEnableAutoScaling(Boolean enableAutoScaling)
enableAutoScaling - the enableAutoScaling value to set.public AgentPoolType type()
public ManagedClusterAgentPoolProfileProperties withType(AgentPoolType type)
type - the type value to set.public AgentPoolMode mode()
public ManagedClusterAgentPoolProfileProperties withMode(AgentPoolMode mode)
mode - the mode value to set.public String orchestratorVersion()
public ManagedClusterAgentPoolProfileProperties withOrchestratorVersion(String orchestratorVersion)
orchestratorVersion - the orchestratorVersion value to set.public String nodeImageVersion()
public ManagedClusterAgentPoolProfileProperties withNodeImageVersion(String nodeImageVersion)
nodeImageVersion - the nodeImageVersion value to set.public AgentPoolUpgradeSettings upgradeSettings()
public ManagedClusterAgentPoolProfileProperties withUpgradeSettings(AgentPoolUpgradeSettings upgradeSettings)
upgradeSettings - the upgradeSettings value to set.public String provisioningState()
public List<String> availabilityZones()
public ManagedClusterAgentPoolProfileProperties withAvailabilityZones(List<String> availabilityZones)
availabilityZones - the availabilityZones value to set.public Boolean enableNodePublicIp()
public ManagedClusterAgentPoolProfileProperties withEnableNodePublicIp(Boolean enableNodePublicIp)
enableNodePublicIp - the enableNodePublicIp value to set.public ScaleSetPriority scaleSetPriority()
public ManagedClusterAgentPoolProfileProperties withScaleSetPriority(ScaleSetPriority scaleSetPriority)
scaleSetPriority - the scaleSetPriority value to set.public ScaleSetEvictionPolicy scaleSetEvictionPolicy()
public ManagedClusterAgentPoolProfileProperties withScaleSetEvictionPolicy(ScaleSetEvictionPolicy scaleSetEvictionPolicy)
scaleSetEvictionPolicy - the scaleSetEvictionPolicy value to set.public Float spotMaxPrice()
public ManagedClusterAgentPoolProfileProperties withSpotMaxPrice(Float spotMaxPrice)
spotMaxPrice - the spotMaxPrice value to set.public Map<String,String> tags()
public ManagedClusterAgentPoolProfileProperties withTags(Map<String,String> tags)
tags - the tags value to set.public Map<String,String> nodeLabels()
public ManagedClusterAgentPoolProfileProperties withNodeLabels(Map<String,String> nodeLabels)
nodeLabels - the nodeLabels value to set.public List<String> nodeTaints()
public ManagedClusterAgentPoolProfileProperties withNodeTaints(List<String> nodeTaints)
nodeTaints - the nodeTaints value to set.public String proximityPlacementGroupId()
public ManagedClusterAgentPoolProfileProperties withProximityPlacementGroupId(String proximityPlacementGroupId)
proximityPlacementGroupId - the proximityPlacementGroupId value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.