Interface AgentPoolsClient


public interface AgentPoolsClient
An instance of this class provides access to all the operations defined in AgentPoolsClient.
  • Method Details

    • getWithResponse

      com.azure.core.http.rest.Response<AgentPoolInner> getWithResponse(String resourceGroupName, String provisionedClustersName, String agentPoolName, com.azure.core.util.Context context)
      Gets the agent pool in the provisioned cluster

      Gets the agent pool in the Hybrid AKS provisioned cluster.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      provisionedClustersName - Parameter for the name of the provisioned cluster.
      agentPoolName - Parameter for the name of the agent pool in the provisioned cluster.
      context - The context to associate with this operation.
      Returns:
      the agent pool in the Hybrid AKS provisioned cluster along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • get

      AgentPoolInner get(String resourceGroupName, String provisionedClustersName, String agentPoolName)
      Gets the agent pool in the provisioned cluster

      Gets the agent pool in the Hybrid AKS provisioned cluster.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      provisionedClustersName - Parameter for the name of the provisioned cluster.
      agentPoolName - Parameter for the name of the agent pool in the provisioned cluster.
      Returns:
      the agent pool in the Hybrid AKS provisioned cluster.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AgentPoolInner>,AgentPoolInner> beginCreateOrUpdate(String resourceGroupName, String provisionedClustersName, String agentPoolName, AgentPoolInner agentPool)
      Creates the agent pool in the provisioned cluster

      Creates the agent pool in the Hybrid AKS provisioned cluster.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      provisionedClustersName - Parameter for the name of the provisioned cluster.
      agentPoolName - Parameter for the name of the agent pool in the provisioned cluster.
      agentPool - The agentPool resource definition.
      Returns:
      the SyncPoller for polling of the agentPool resource definition.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AgentPoolInner>,AgentPoolInner> beginCreateOrUpdate(String resourceGroupName, String provisionedClustersName, String agentPoolName, AgentPoolInner agentPool, com.azure.core.util.Context context)
      Creates the agent pool in the provisioned cluster

      Creates the agent pool in the Hybrid AKS provisioned cluster.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      provisionedClustersName - Parameter for the name of the provisioned cluster.
      agentPoolName - Parameter for the name of the agent pool in the provisioned cluster.
      agentPool - The agentPool resource definition.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of the agentPool resource definition.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdate

      AgentPoolInner createOrUpdate(String resourceGroupName, String provisionedClustersName, String agentPoolName, AgentPoolInner agentPool)
      Creates the agent pool in the provisioned cluster

      Creates the agent pool in the Hybrid AKS provisioned cluster.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      provisionedClustersName - Parameter for the name of the provisioned cluster.
      agentPoolName - Parameter for the name of the agent pool in the provisioned cluster.
      agentPool - The agentPool resource definition.
      Returns:
      the agentPool resource definition.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdate

      AgentPoolInner createOrUpdate(String resourceGroupName, String provisionedClustersName, String agentPoolName, AgentPoolInner agentPool, com.azure.core.util.Context context)
      Creates the agent pool in the provisioned cluster

      Creates the agent pool in the Hybrid AKS provisioned cluster.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      provisionedClustersName - Parameter for the name of the provisioned cluster.
      agentPoolName - Parameter for the name of the agent pool in the provisioned cluster.
      agentPool - The agentPool resource definition.
      context - The context to associate with this operation.
      Returns:
      the agentPool resource definition.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String provisionedClustersName, String agentPoolName, com.azure.core.util.Context context)
      Deletes the agent pool in the provisioned cluster

      Deletes the agent pool in the Hybrid AKS provisioned cluster.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      provisionedClustersName - Parameter for the name of the provisioned cluster.
      agentPoolName - Parameter for the name of the agent pool in the provisioned cluster.
      context - The context to associate with this operation.
      Returns:
      the Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String provisionedClustersName, String agentPoolName)
      Deletes the agent pool in the provisioned cluster

      Deletes the agent pool in the Hybrid AKS provisioned cluster.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      provisionedClustersName - Parameter for the name of the provisioned cluster.
      agentPoolName - Parameter for the name of the agent pool in the provisioned cluster.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateWithResponse

      com.azure.core.http.rest.Response<AgentPoolInner> updateWithResponse(String resourceGroupName, String provisionedClustersName, String agentPoolName, AgentPoolInner agentPool, com.azure.core.util.Context context)
      Updates the agent pool in the provisioned cluster

      Updates the agent pool in the Hybrid AKS provisioned cluster.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      provisionedClustersName - Parameter for the name of the provisioned cluster.
      agentPoolName - Parameter for the name of the agent pool in the provisioned cluster.
      agentPool - The agentPool resource definition.
      context - The context to associate with this operation.
      Returns:
      the agentPool resource definition along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • update

      AgentPoolInner update(String resourceGroupName, String provisionedClustersName, String agentPoolName, AgentPoolInner agentPool)
      Updates the agent pool in the provisioned cluster

      Updates the agent pool in the Hybrid AKS provisioned cluster.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      provisionedClustersName - Parameter for the name of the provisioned cluster.
      agentPoolName - Parameter for the name of the agent pool in the provisioned cluster.
      agentPool - The agentPool resource definition.
      Returns:
      the agentPool resource definition.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByProvisionedClusterWithResponse

      com.azure.core.http.rest.Response<AgentPoolListResultInner> listByProvisionedClusterWithResponse(String resourceGroupName, String provisionedClustersName, com.azure.core.util.Context context)
      Gets the agent pools in the provisioned cluster

      Gets the agent pools in the Hybrid AKS provisioned cluster.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      provisionedClustersName - Parameter for the name of the provisioned cluster.
      context - The context to associate with this operation.
      Returns:
      the agent pools in the Hybrid AKS provisioned cluster along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByProvisionedCluster

      AgentPoolListResultInner listByProvisionedCluster(String resourceGroupName, String provisionedClustersName)
      Gets the agent pools in the provisioned cluster

      Gets the agent pools in the Hybrid AKS provisioned cluster.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      provisionedClustersName - Parameter for the name of the provisioned cluster.
      Returns:
      the agent pools in the Hybrid AKS provisioned cluster.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.