Interface AgentPoolsClient
public interface AgentPoolsClient
An instance of this class provides access to all the operations defined in AgentPoolsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.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 clustercom.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 clustercreateOrUpdate
(String resourceGroupName, String provisionedClustersName, String agentPoolName, AgentPoolInner agentPool) Creates the agent pool in the provisioned clustercreateOrUpdate
(String resourceGroupName, String provisionedClustersName, String agentPoolName, AgentPoolInner agentPool, com.azure.core.util.Context context) Creates the agent pool in the provisioned clustervoid
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 clustercom.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 clusterlistByProvisionedCluster
(String resourceGroupName, String provisionedClustersName) Gets the agent pools in the provisioned clustercom.azure.core.http.rest.Response<AgentPoolListResultInner>
listByProvisionedClusterWithResponse
(String resourceGroupName, String provisionedClustersName, com.azure.core.util.Context context) Gets the agent pools in the provisioned clusterupdate
(String resourceGroupName, String provisionedClustersName, String agentPoolName, AgentPoolInner agentPool) Updates the agent pool in the provisioned clustercom.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
-
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 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.
-
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 clusterCreates 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 clusterCreates 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 clusterCreates 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 clusterCreates 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 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.
-
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 clusterUpdates 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 clusterUpdates 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 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
AgentPoolListResultInner 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.
-