Interface KubernetesClusterAgentPool
-
- All Superinterfaces:
ChildResource<KubernetesCluster>,HasInnerModel<ManagedClusterAgentPoolProfile>,HasName,HasParent<KubernetesCluster>,Indexable
public interface KubernetesClusterAgentPool extends ChildResource<KubernetesCluster>, HasInnerModel<ManagedClusterAgentPoolProfile>
A client-side representation for a Kubernetes cluster agent pool.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceKubernetesClusterAgentPool.Definition<ParentT>The entirety of a container service agent pool definition as a part of a parent definition.static interfaceKubernetesClusterAgentPool.DefinitionStagesGrouping of container service agent pool definition stages as a part of parent container service definition.static interfaceKubernetesClusterAgentPool.Update<ParentT>The template for an update operation, containing all the settings that can be modified.static interfaceKubernetesClusterAgentPool.UpdateStagesGrouping of agent pool update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>availabilityZones()intcount()booleanisAutoScalingEnabled()KubeletDiskTypekubeletDiskType()intmaximumNodeSize()intmaximumPodsPerNode()intminimumNodeSize()AgentPoolModemode()StringnetworkId()Map<String,String>nodeLabels()intnodeSize()List<String>nodeTaints()intosDiskSizeInGB()OSDiskTypeosDiskType()OSTypeosType()PowerStatepowerState()StringprovisioningState()StringsubnetName()Map<String,String>tags()AgentPoolTypetype()ScaleSetEvictionPolicyvirtualMachineEvictionPolicy()DoublevirtualMachineMaximumPrice()ScaleSetPriorityvirtualMachinePriority()ContainerServiceVMSizeTypesvmSize()-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModel
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
name
-
-
-
-
Method Detail
-
provisioningState
String provisioningState()
- Returns:
- the provisioning state of the agent pool
-
count
int count()
- Returns:
- the number of agents (virtual machines) to host docker containers
-
vmSize
ContainerServiceVMSizeTypes vmSize()
- Returns:
- size of each agent virtual machine in the agent pool
-
osDiskSizeInGB
int osDiskSizeInGB()
- Returns:
- OS disk size in GB set for each virtual machine in the agent pool
-
osType
OSType osType()
- Returns:
- OS of each virtual machine in the agent pool
-
type
AgentPoolType type()
- Returns:
- agent pool type
-
mode
AgentPoolMode mode()
- Returns:
- agent pool mode
-
subnetName
String subnetName()
- Returns:
- the name of the subnet used by each virtual machine in the agent pool
-
networkId
String networkId()
- Returns:
- the ID of the virtual network used by each virtual machine in the agent pool
-
powerState
PowerState powerState()
- Returns:
- the power state, Running or Stopped
-
nodeSize
int nodeSize()
- Returns:
- the number of agents (VMs) to host docker containers
-
maximumPodsPerNode
int maximumPodsPerNode()
- Returns:
- the maximum number of pods per node
-
isAutoScalingEnabled
boolean isAutoScalingEnabled()
- Returns:
- whether auto-scaling is enabled
-
minimumNodeSize
int minimumNodeSize()
- Returns:
- the minimum number of nodes for auto-scaling
-
maximumNodeSize
int maximumNodeSize()
- Returns:
- the maximum number of nodes for auto-scaling
-
virtualMachinePriority
ScaleSetPriority virtualMachinePriority()
- Returns:
- the priority of each virtual machines in the agent pool
-
virtualMachineEvictionPolicy
ScaleSetEvictionPolicy virtualMachineEvictionPolicy()
- Returns:
- the eviction policy of each virtual machines in the agent pool
-
virtualMachineMaximumPrice
Double virtualMachineMaximumPrice()
- Returns:
- the maximum price of each spot virtual machines in the agent pool, -1 means pay-as-you-go prices
-
osDiskType
OSDiskType osDiskType()
- Returns:
- the OS disk type to be used for machines in the agent pool
-
kubeletDiskType
KubeletDiskType kubeletDiskType()
- Returns:
- the disk type for the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage
-
-