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.
  • Method Details

    • provisioningState

      String provisioningState()
      Specified by:
      provisioningState in interface AgentPool
      Returns:
      the provisioning state of the agent pool
    • count

      int count()
      Specified by:
      count in interface AgentPool
      Returns:
      the number of agents (virtual machines) to host docker containers
    • vmSize

      Specified by:
      vmSize in interface AgentPool
      Returns:
      size of each agent virtual machine in the agent pool
    • osDiskSizeInGB

      int osDiskSizeInGB()
      Specified by:
      osDiskSizeInGB in interface AgentPool
      Returns:
      OS disk size in GB set for each virtual machine in the agent pool
    • osType

      OSType osType()
      Specified by:
      osType in interface AgentPool
      Returns:
      OS of each virtual machine in the agent pool
    • type

      Specified by:
      type in interface AgentPool
      Returns:
      agent pool type
    • mode

      Specified by:
      mode in interface AgentPool
      Returns:
      agent pool mode
    • subnetName

      String subnetName()
      Specified by:
      subnetName in interface AgentPool
      Returns:
      the name of the subnet used by each virtual machine in the agent pool
    • networkId

      String networkId()
      Specified by:
      networkId in interface AgentPool
      Returns:
      the ID of the virtual network used by each virtual machine in the agent pool
    • availabilityZones

      List<String> availabilityZones()
      Specified by:
      availabilityZones in interface AgentPool
      Returns:
      the list of availability zones
    • nodeLabels

      Map<String,String> nodeLabels()
      Specified by:
      nodeLabels in interface AgentPool
      Returns:
      the map of node labels
    • nodeTaints

      List<String> nodeTaints()
      Specified by:
      nodeTaints in interface AgentPool
      Returns:
      the list of node taints
    • powerState

      PowerState powerState()
      Specified by:
      powerState in interface AgentPool
      Returns:
      the power state, Running or Stopped
    • nodeSize

      int nodeSize()
      Specified by:
      nodeSize in interface AgentPool
      Returns:
      the number of agents (VMs) to host docker containers
    • maximumPodsPerNode

      int maximumPodsPerNode()
      Specified by:
      maximumPodsPerNode in interface AgentPool
      Returns:
      the maximum number of pods per node
    • isAutoScalingEnabled

      boolean isAutoScalingEnabled()
      Specified by:
      isAutoScalingEnabled in interface AgentPool
      Returns:
      whether auto-scaling is enabled
    • minimumNodeSize

      int minimumNodeSize()
      Specified by:
      minimumNodeSize in interface AgentPool
      Returns:
      the minimum number of nodes for auto-scaling
    • maximumNodeSize

      int maximumNodeSize()
      Specified by:
      maximumNodeSize in interface AgentPool
      Returns:
      the maximum number of nodes for auto-scaling
    • virtualMachinePriority

      ScaleSetPriority virtualMachinePriority()
      Specified by:
      virtualMachinePriority in interface AgentPool
      Returns:
      the priority of each virtual machines in the agent pool
    • virtualMachineEvictionPolicy

      ScaleSetEvictionPolicy virtualMachineEvictionPolicy()
      Specified by:
      virtualMachineEvictionPolicy in interface AgentPool
      Returns:
      the eviction policy of each virtual machines in the agent pool
    • virtualMachineMaximumPrice

      Double virtualMachineMaximumPrice()
      Specified by:
      virtualMachineMaximumPrice in interface AgentPool
      Returns:
      the maximum price of each spot virtual machines in the agent pool, -1 means pay-as-you-go prices
    • osDiskType

      OSDiskType osDiskType()
      Specified by:
      osDiskType in interface AgentPool
      Returns:
      the OS disk type to be used for machines in the agent pool
    • kubeletDiskType

      KubeletDiskType kubeletDiskType()
      Specified by:
      kubeletDiskType in interface AgentPool
      Returns:
      the disk type for the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage
    • tags

      Map<String,String> tags()
      Specified by:
      tags in interface AgentPool
      Returns:
      the tags of the agents.