KubernetesClusterAgentPool Interface
Implements
public interface KubernetesClusterAgentPool
extends ChildResource<KubernetesCluster>, HasInnerModel<ManagedClusterAgentPoolProfile>, AgentPool
A client-side representation for a Kubernetes cluster agent pool.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract List<String> |
availabilityZones()
Gets the list of availability zones. |
abstract int |
count()
Gets the number of agents (virtual machines) to host docker containers. |
abstract boolean |
isAutoScalingEnabled()
Checks whether auto-scaling is enabled. |
abstract
Kubelet |
kubeletDiskType()
Gets the disk type for the placement. |
abstract int |
maximumNodeSize()
Gets the maximum number of nodes for auto-scaling. |
abstract int |
maximumPodsPerNode()
Gets the maximum number of pods per node. |
abstract int |
minimumNodeSize()
Gets the minimum number of nodes for auto-scaling. |
abstract
Agent |
mode()
Gets agent pool mode. |
abstract String |
networkId()
Gets the ID of the virtual network used by each virtual machine in the agent pool. |
abstract Map<String,String> |
nodeLabels()
Gets the map of node labels. |
abstract int |
nodeSize()
Gets the number of agents (VMs) to host docker containers. |
abstract List<String> |
nodeTaints()
Gets the list of node taints. |
abstract int |
osDiskSizeInGB()
Gets OS disk size in GB set for each virtual machine in the agent pool. |
abstract
OSDisk |
osDiskType()
Gets the OS disk type to be used for machines in the agent pool. |
abstract OSType |
osType()
Gets OS of each virtual machine in the agent pool. |
abstract
Power |
powerState()
Gets the power state. |
abstract String |
provisioningState()
Gets the provisioning state of the agent pool. |
abstract String |
subnetName()
Gets the name of the subnet used by each virtual machine in the agent pool. |
abstract Map<String,String> |
tags()
Gets the tags of the agents. |
abstract
Agent |
type()
Gets agent pool type. |
abstract
Scale |
virtualMachineEvictionPolicy()
Gets the eviction policy of each virtual machines in the agent pool. |
abstract Double |
virtualMachineMaximumPrice()
Gets the maximum price of each spot virtual machines in the agent pool. |
abstract
Scale |
virtualMachinePriority()
Gets the priority of each virtual machines in the agent pool. |
abstract
Container |
vmSize()
Gets size of each agent virtual machine in the agent pool. |
Method Details
availabilityZones
public abstract List
Gets the list of availability zones.
Returns:
count
public abstract int count()
Gets the number of agents (virtual machines) to host docker containers.
Returns:
isAutoScalingEnabled
public abstract boolean isAutoScalingEnabled()
Checks whether auto-scaling is enabled.
Returns:
kubeletDiskType
public abstract KubeletDiskType kubeletDiskType()
Gets the disk type for the placement.
Returns:
maximumNodeSize
public abstract int maximumNodeSize()
Gets the maximum number of nodes for auto-scaling.
Returns:
maximumPodsPerNode
public abstract int maximumPodsPerNode()
Gets the maximum number of pods per node.
Returns:
minimumNodeSize
public abstract int minimumNodeSize()
Gets the minimum number of nodes for auto-scaling.
Returns:
mode
public abstract AgentPoolMode mode()
Gets agent pool mode.
Returns:
networkId
public abstract String networkId()
Gets the ID of the virtual network used by each virtual machine in the agent pool.
Returns:
nodeLabels
public abstract Map
Gets the map of node labels.
Returns:
nodeSize
public abstract int nodeSize()
Gets the number of agents (VMs) to host docker containers.
Returns:
nodeTaints
public abstract List
Gets the list of node taints.
Returns:
osDiskSizeInGB
public abstract int osDiskSizeInGB()
Gets OS disk size in GB set for each virtual machine in the agent pool.
Returns:
osDiskType
public abstract OSDiskType osDiskType()
Gets the OS disk type to be used for machines in the agent pool.
Returns:
osType
public abstract OSType osType()
Gets OS of each virtual machine in the agent pool.
Returns:
powerState
public abstract PowerState powerState()
Gets the power state.
Returns:
provisioningState
public abstract String provisioningState()
Gets the provisioning state of the agent pool.
Returns:
subnetName
public abstract String subnetName()
Gets the name of the subnet used by each virtual machine in the agent pool.
Returns:
tags
public abstract Map
Gets the tags of the agents.
Returns:
type
public abstract AgentPoolType type()
Gets agent pool type.
Returns:
virtualMachineEvictionPolicy
public abstract ScaleSetEvictionPolicy virtualMachineEvictionPolicy()
Gets the eviction policy of each virtual machines in the agent pool.
Returns:
virtualMachineMaximumPrice
public abstract Double virtualMachineMaximumPrice()
Gets the maximum price of each spot virtual machines in the agent pool.
Returns:
virtualMachinePriority
public abstract ScaleSetPriority virtualMachinePriority()
Gets the priority of each virtual machines in the agent pool.
Returns:
vmSize
public abstract ContainerServiceVMSizeTypes vmSize()
Gets size of each agent virtual machine in the agent pool.
Returns:
Applies to
Azure SDK for Java