Interface KubernetesClusterAgentPool
- All Superinterfaces:
AgentPool,ChildResource<KubernetesCluster>,HasInnerModel<ManagedClusterAgentPoolProfile>,HasName,HasParent<KubernetesCluster>,Indexable
public interface KubernetesClusterAgentPool
extends ChildResource<KubernetesCluster>, HasInnerModel<ManagedClusterAgentPoolProfile>, AgentPool
A client-side representation for a Kubernetes cluster agent pool.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe entirety of a container service agent pool definition as a part of a parent definition.static interfaceGrouping of container service agent pool definition stages as a part of parent container service definition.static interfaceThe template for an update operation, containing all the settings that can be modified.static interfaceGrouping of agent pool update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the list of availability zones.intcount()Gets the number of agents (virtual machines) to host docker containers.booleanChecks whether auto-scaling is enabled.Gets the disk type for the placement.intGets the maximum number of nodes for auto-scaling.intGets the maximum number of pods per node.intGets the minimum number of nodes for auto-scaling.mode()Gets agent pool mode.Gets the ID of the virtual network used by each virtual machine in the agent pool.Gets the map of node labels.intnodeSize()Gets the number of agents (VMs) to host docker containers.Gets the list of node taints.intGets OS disk size in GB set for each virtual machine in the agent pool.Gets the OS disk type to be used for machines in the agent pool.osType()Gets OS of each virtual machine in the agent pool.Gets the power state.Gets the provisioning state of the agent pool.Gets the name of the subnet used by each virtual machine in the agent pool.tags()Gets the tags of the agents.type()Gets agent pool type.Gets the eviction policy of each virtual machines in the agent pool.Gets the maximum price of each spot virtual machines in the agent pool.Gets the priority of each virtual machines in the agent pool.vmSize()Gets size of each agent virtual machine in the agent pool.Methods inherited from interface com.azure.resourcemanager.containerservice.models.AgentPool
isFipsEnabledMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModelMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
name
-
Method Details
-
provisioningState
String provisioningState()Gets the provisioning state of the agent pool.- Specified by:
provisioningStatein interfaceAgentPool- Returns:
- the provisioning state of the agent pool
-
count
int count()Gets the number of agents (virtual machines) to host docker containers. -
vmSize
ContainerServiceVMSizeTypes vmSize()Gets size of each agent virtual machine in the agent pool. -
osDiskSizeInGB
int osDiskSizeInGB()Gets OS disk size in GB set for each virtual machine in the agent pool.- Specified by:
osDiskSizeInGBin interfaceAgentPool- Returns:
- OS disk size in GB set for each virtual machine in the agent pool
-
osType
OSType osType()Gets OS of each virtual machine in the agent pool. -
type
AgentPoolType type()Gets agent pool type. -
mode
AgentPoolMode mode()Gets agent pool mode. -
subnetName
String subnetName()Gets the name of the subnet used by each virtual machine in the agent pool.- Specified by:
subnetNamein interfaceAgentPool- Returns:
- the name of the subnet used by each virtual machine in the agent pool
-
networkId
String networkId()Gets the ID of the virtual network used by each virtual machine in the agent pool. -
availabilityZones
Gets the list of availability zones.- Specified by:
availabilityZonesin interfaceAgentPool- Returns:
- the list of availability zones
-
nodeLabels
Gets the map of node labels.- Specified by:
nodeLabelsin interfaceAgentPool- Returns:
- the map of node labels
-
nodeTaints
Gets the list of node taints.- Specified by:
nodeTaintsin interfaceAgentPool- Returns:
- the list of node taints
-
powerState
PowerState powerState()Gets the power state.- Specified by:
powerStatein interfaceAgentPool- Returns:
- the power state, Running or Stopped
-
nodeSize
int nodeSize()Gets the number of agents (VMs) to host docker containers. -
maximumPodsPerNode
int maximumPodsPerNode()Gets the maximum number of pods per node.- Specified by:
maximumPodsPerNodein interfaceAgentPool- Returns:
- the maximum number of pods per node
-
isAutoScalingEnabled
boolean isAutoScalingEnabled()Checks whether auto-scaling is enabled.- Specified by:
isAutoScalingEnabledin interfaceAgentPool- Returns:
- whether auto-scaling is enabled
-
minimumNodeSize
int minimumNodeSize()Gets the minimum number of nodes for auto-scaling.- Specified by:
minimumNodeSizein interfaceAgentPool- Returns:
- the minimum number of nodes for auto-scaling
-
maximumNodeSize
int maximumNodeSize()Gets the maximum number of nodes for auto-scaling.- Specified by:
maximumNodeSizein interfaceAgentPool- Returns:
- the maximum number of nodes for auto-scaling
-
virtualMachinePriority
ScaleSetPriority virtualMachinePriority()Gets the priority of each virtual machines in the agent pool.- Specified by:
virtualMachinePriorityin interfaceAgentPool- Returns:
- the priority of each virtual machines in the agent pool
-
virtualMachineEvictionPolicy
ScaleSetEvictionPolicy virtualMachineEvictionPolicy()Gets the eviction policy of each virtual machines in the agent pool.- Specified by:
virtualMachineEvictionPolicyin interfaceAgentPool- Returns:
- the eviction policy of each virtual machines in the agent pool
-
virtualMachineMaximumPrice
Double virtualMachineMaximumPrice()Gets the maximum price of each spot virtual machines in the agent pool.- Specified by:
virtualMachineMaximumPricein interfaceAgentPool- Returns:
- the maximum price of each spot virtual machines in the agent pool, -1 means pay-as-you-go prices
-
osDiskType
OSDiskType osDiskType()Gets the OS disk type to be used for machines in the agent pool.- Specified by:
osDiskTypein interfaceAgentPool- Returns:
- the OS disk type to be used for machines in the agent pool
-
kubeletDiskType
KubeletDiskType kubeletDiskType()Gets the disk type for the placement.- Specified by:
kubeletDiskTypein interfaceAgentPool- Returns:
- the disk type for the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage
-
tags
Gets the tags of the agents.
-