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 Kubernetes |
defineAgentPool(String name)
Begins the definition of an agent pool profile to be attached to the Kubernetes cluster. |
KubernetesClusterAgentPool.Update<? extends Kubernetes |
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.
|
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 extends Update> defineAgentPool(String name)
Begins the definition of an agent pool profile to be attached to the Kubernetes cluster.
Parameters:
Returns:
updateAgentPool
public KubernetesClusterAgentPool.Update extends Update> updateAgentPool(String name)
Begins the definition of an agent pool profile to be attached to the Kubernetes cluster.
Parameters:
Returns:
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:
Returns:
withAgentPoolVirtualMachineCount
public KubernetesCluster.Update withAgentPoolVirtualMachineCount(String agentPoolName, int agentCount)
Updates the agent pool virtual machine count.
Recommended to use `updateAgentPool` method.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for