KubernetesCluster.UpdateStages.WithAgentPool Interface

public interface WithAgentPool

The stage of the Kubernetes cluster update definition allowing to specify the agent poll in the cluster.

Method Summary

Modifier and Type Method and Description
KubernetesClusterAgentPool.DefinitionStages.Blank<? extends KubernetesCluster.Update> defineAgentPool(String name)

Begins the definition of an agent pool profile to be attached to the Kubernetes cluster.

KubernetesClusterAgentPool.Update<? extends KubernetesCluster.Update> updateAgentPool(String name)

Begins the definition of an agent pool profile to be attached to the Kubernetes cluster.

KubernetesCluster.Update withAgentPoolVirtualMachineCount(int agentCount)

Updates the virtual machine count for all agent pools.

<xreftitle>Deprecated</xreftitle>

<xrefdescription>

  <p>use `updateAgentPool` method to update a specific agent pool.</p>

</xrefdescription>

KubernetesCluster.Update withAgentPoolVirtualMachineCount(String agentPoolName, int agentCount)

Updates the agent pool virtual machine count.

Recommended to use `updateAgentPool` method.

Method Details

defineAgentPool

public KubernetesClusterAgentPool.DefinitionStages.Blank defineAgentPool(String name)

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

public KubernetesClusterAgentPool.Update updateAgentPool(String name)

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

withAgentPoolVirtualMachineCount

public KubernetesCluster.Update withAgentPoolVirtualMachineCount(int agentCount)

Updates the virtual machine count for all agent pools.

<xreftitle>Deprecated</xreftitle>

<xrefdescription>

  <p>use `updateAgentPool` method to update a specific agent pool.</p>

</xrefdescription>

Parameters:

agentCount - the number of agents (virtual machines) to host docker containers.

Returns:

the stage representing configuration for the agent pool profile

withAgentPoolVirtualMachineCount

public 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

Applies to