public interface AgentPools
Resource collection API of AgentPools.
  • Method Details

    • getWithResponse

      com.azure.core.http.rest.Response<AgentPool> 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

      AgentPool 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.
    • 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.
    • listByProvisionedClusterWithResponse

      com.azure.core.http.rest.Response<AgentPoolListResult> 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

      AgentPoolListResult 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.
    • getById

      AgentPool getById(String id)
      Gets the agent pool in the provisioned cluster

      Gets the agent pool in the Hybrid AKS provisioned cluster.

      Parameters:
      id - the resource ID.
      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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<AgentPool> getByIdWithResponse(String id, 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:
      id - the resource ID.
      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.
    • deleteById

      void deleteById(String id)
      Deletes the agent pool in the provisioned cluster

      Deletes the agent pool in the Hybrid AKS provisioned cluster.

      Parameters:
      id - the resource ID.
      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.
    • deleteByIdWithResponse

      com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, 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:
      id - the resource ID.
      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.
    • define

      Begins definition for a new AgentPool resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new AgentPool definition.