Interface AgentPools
public interface AgentPools
Resource collection API of AgentPools.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new AgentPool resource.void
Deletes the agent pool in the provisioned clustervoid
deleteById
(String id) Deletes the agent pool in the provisioned clustercom.azure.core.http.rest.Response<Void>
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Deletes the agent pool in the provisioned clustercom.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 clusterGets the agent pool in the provisioned clusterGets the agent pool in the provisioned clustercom.azure.core.http.rest.Response<AgentPool>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Gets the agent pool in the provisioned clustercom.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 clusterlistByProvisionedCluster
(String resourceGroupName, String provisionedClustersName) Gets the agent pools in the provisioned clustercom.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
-
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 clusterGets 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
Gets the agent pool in the provisioned clusterGets 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 clusterDeletes 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
Deletes the agent pool in the provisioned clusterDeletes 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 clusterGets 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 clusterGets 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
Gets the agent pool in the provisioned clusterGets 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 clusterGets 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
Deletes the agent pool in the provisioned clusterDeletes 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 clusterDeletes 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.
-