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 Summary
Modifier and TypeMethodDescriptiondefineAgentPool
(String name) Begins the definition of an agent pool profile to be attached to the Kubernetes cluster.updateAgentPool
(String name) Begins the definition of an agent pool profile to be attached to the Kubernetes cluster.withAgentPoolVirtualMachineCount
(int agentCount) Deprecated.use `updateAgentPool` method to update a specific agent pool.withAgentPoolVirtualMachineCount
(String agentPoolName, int agentCount) Updates the agent pool virtual machine count.
-
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 updatedagentCount
- 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
KubernetesClusterAgentPool.DefinitionStages.Blank<? extends KubernetesCluster.Update> 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
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
-