Interface KubernetesCluster.UpdateStages.WithAgentPool

All Known Subinterfaces:
KubernetesCluster.Update
Enclosing interface:
KubernetesCluster.UpdateStages

public static interface KubernetesCluster.UpdateStages.WithAgentPool
The stage of the Kubernetes cluster update definition allowing to specify the agent poll in the cluster.
  • Method Details

    • withAgentPoolVirtualMachineCount

      @Beta(V1_15_0) KubernetesCluster.Update withAgentPoolVirtualMachineCount(String agentPoolName, int agentCount)
      Updates the agent pool virtual machine count. Recommended to use `updateAgentPool` method.
      Parameters:
      agentPoolName - the name of the agent pool to be updated
      agentCount - the number of agents (virtual machines) to host docker containers.
      Returns:
      the stage representing configuration for the agent pool profile
    • withAgentPoolVirtualMachineCount

      @Beta(V1_15_0) @Deprecated KubernetesCluster.Update withAgentPoolVirtualMachineCount(int agentCount)
      Deprecated.
      use `updateAgentPool` method to update a specific agent pool.
      Updates the virtual machine count for all agent pools.
      Parameters:
      agentCount - the number of agents (virtual machines) to host docker containers.
      Returns:
      the stage representing configuration for the agent pool profile
    • defineAgentPool

      Begins the definition of an agent pool profile to be attached to the Kubernetes cluster.
      Parameters:
      name - the name for the agent pool profile
      Returns:
      the stage representing configuration for the agent pool profile
    • updateAgentPool

      Begins the definition of an agent pool profile to be attached to the Kubernetes cluster.
      Parameters:
      name - the name for the agent pool profile
      Returns:
      the stage representing configuration for the agent pool profile