Interface AgentPoolsClient
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AgentPoolInner>,AgentPoolInner> beginCreateOrUpdate(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolInner parameters) Creates or updates an agent pool in the specified managed cluster.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AgentPoolInner>,AgentPoolInner> beginCreateOrUpdate(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolInner parameters, com.azure.core.util.Context context) Creates or updates an agent pool in the specified managed cluster.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<AgentPoolInner>,AgentPoolInner> beginCreateOrUpdateAsync(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolInner parameters) Creates or updates an agent pool in the specified managed cluster.beginDelete(String resourceGroupName, String resourceName, String agentPoolName) Deletes an agent pool in the specified managed cluster.beginDelete(String resourceGroupName, String resourceName, String agentPoolName, com.azure.core.util.Context context) Deletes an agent pool in the specified managed cluster.beginDeleteAsync(String resourceGroupName, String resourceName, String agentPoolName) Deletes an agent pool in the specified managed cluster.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AgentPoolInner>,AgentPoolInner> beginUpgradeNodeImageVersion(String resourceGroupName, String resourceName, String agentPoolName) Upgrades the node image version of an agent pool to the latest.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AgentPoolInner>,AgentPoolInner> beginUpgradeNodeImageVersion(String resourceGroupName, String resourceName, String agentPoolName, com.azure.core.util.Context context) Upgrades the node image version of an agent pool to the latest.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<AgentPoolInner>,AgentPoolInner> beginUpgradeNodeImageVersionAsync(String resourceGroupName, String resourceName, String agentPoolName) Upgrades the node image version of an agent pool to the latest.createOrUpdate(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolInner parameters) Creates or updates an agent pool in the specified managed cluster.createOrUpdate(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolInner parameters, com.azure.core.util.Context context) Creates or updates an agent pool in the specified managed cluster.createOrUpdateAsync(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolInner parameters) Creates or updates an agent pool in the specified managed cluster.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>createOrUpdateWithResponseAsync(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolInner parameters) Creates or updates an agent pool in the specified managed cluster.voidDeletes an agent pool in the specified managed cluster.voiddelete(String resourceGroupName, String resourceName, String agentPoolName, com.azure.core.util.Context context) Deletes an agent pool in the specified managed cluster.deleteAsync(String resourceGroupName, String resourceName, String agentPoolName) Deletes an agent pool in the specified managed cluster.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>deleteWithResponseAsync(String resourceGroupName, String resourceName, String agentPoolName) Deletes an agent pool in the specified managed cluster.Gets the specified managed cluster agent pool.Gets the specified managed cluster agent pool.getAvailableAgentPoolVersions(String resourceGroupName, String resourceName) Gets a list of supported Kubernetes versions for the specified agent pool.getAvailableAgentPoolVersionsAsync(String resourceGroupName, String resourceName) Gets a list of supported Kubernetes versions for the specified agent pool.com.azure.core.http.rest.Response<AgentPoolAvailableVersionsInner>getAvailableAgentPoolVersionsWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Gets a list of supported Kubernetes versions for the specified agent pool.Mono<com.azure.core.http.rest.Response<AgentPoolAvailableVersionsInner>>getAvailableAgentPoolVersionsWithResponseAsync(String resourceGroupName, String resourceName) Gets a list of supported Kubernetes versions for the specified agent pool.getUpgradeProfile(String resourceGroupName, String resourceName, String agentPoolName) Gets the upgrade profile for an agent pool.getUpgradeProfileAsync(String resourceGroupName, String resourceName, String agentPoolName) Gets the upgrade profile for an agent pool.com.azure.core.http.rest.Response<AgentPoolUpgradeProfileInner>getUpgradeProfileWithResponse(String resourceGroupName, String resourceName, String agentPoolName, com.azure.core.util.Context context) Gets the upgrade profile for an agent pool.Mono<com.azure.core.http.rest.Response<AgentPoolUpgradeProfileInner>>getUpgradeProfileWithResponseAsync(String resourceGroupName, String resourceName, String agentPoolName) Gets the upgrade profile for an agent pool.com.azure.core.http.rest.Response<AgentPoolInner>getWithResponse(String resourceGroupName, String resourceName, String agentPoolName, com.azure.core.util.Context context) Gets the specified managed cluster agent pool.Mono<com.azure.core.http.rest.Response<AgentPoolInner>>getWithResponseAsync(String resourceGroupName, String resourceName, String agentPoolName) Gets the specified managed cluster agent pool.com.azure.core.http.rest.PagedIterable<AgentPoolInner>Gets a list of agent pools in the specified managed cluster.com.azure.core.http.rest.PagedIterable<AgentPoolInner>Gets a list of agent pools in the specified managed cluster.com.azure.core.http.rest.PagedFlux<AgentPoolInner>Gets a list of agent pools in the specified managed cluster.upgradeNodeImageVersion(String resourceGroupName, String resourceName, String agentPoolName) Upgrades the node image version of an agent pool to the latest.upgradeNodeImageVersion(String resourceGroupName, String resourceName, String agentPoolName, com.azure.core.util.Context context) Upgrades the node image version of an agent pool to the latest.upgradeNodeImageVersionAsync(String resourceGroupName, String resourceName, String agentPoolName) Upgrades the node image version of an agent pool to the latest.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>upgradeNodeImageVersionWithResponseAsync(String resourceGroupName, String resourceName, String agentPoolName) Upgrades the node image version of an agent pool to the latest.
-
Method Details
-
listAsync
com.azure.core.http.rest.PagedFlux<AgentPoolInner> listAsync(String resourceGroupName, String resourceName) Gets a list of agent pools in the specified managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- a list of agent pools in the specified managed cluster as paginated response with
PagedFlux. - 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.
-
list
com.azure.core.http.rest.PagedIterable<AgentPoolInner> list(String resourceGroupName, String resourceName) Gets a list of agent pools in the specified managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- a list of agent pools in the specified managed cluster as paginated response with
PagedIterable. - 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.
-
list
com.azure.core.http.rest.PagedIterable<AgentPoolInner> list(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Gets a list of agent pools in the specified managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.context- The context to associate with this operation.- Returns:
- a list of agent pools in the specified managed cluster as paginated response with
PagedIterable. - 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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<AgentPoolInner>> getWithResponseAsync(String resourceGroupName, String resourceName, String agentPoolName) Gets the specified managed cluster agent pool.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.- Returns:
- the specified managed cluster agent pool along with
Responseon successful completion ofMono. - 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.
-
getAsync
Gets the specified managed cluster agent pool.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.- Returns:
- the specified managed cluster agent pool on successful completion of
Mono. - 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 specified managed cluster agent pool.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.- Returns:
- the specified managed cluster agent pool.
- 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.
-
getWithResponse
com.azure.core.http.rest.Response<AgentPoolInner> getWithResponse(String resourceGroupName, String resourceName, String agentPoolName, com.azure.core.util.Context context) Gets the specified managed cluster agent pool.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.context- The context to associate with this operation.- Returns:
- the specified managed cluster agent pool 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolInner parameters) Creates or updates an agent pool in the specified managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.parameters- The agent pool to create or update.- Returns:
- agent Pool along with
Responseon successful completion ofMono. - 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.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<AgentPoolInner>,AgentPoolInner> beginCreateOrUpdateAsync(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolInner parameters) Creates or updates an agent pool in the specified managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.parameters- The agent pool to create or update.- Returns:
- the
PollerFluxfor polling of agent Pool. - 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 resourceName, String agentPoolName, AgentPoolInner parameters) Creates or updates an agent pool in the specified managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.parameters- The agent pool to create or update.- Returns:
- the
SyncPollerfor polling of agent Pool. - 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 resourceName, String agentPoolName, AgentPoolInner parameters, com.azure.core.util.Context context) Creates or updates an agent pool in the specified managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.parameters- The agent pool to create or update.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of agent Pool. - 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.
-
createOrUpdateAsync
Mono<AgentPoolInner> createOrUpdateAsync(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolInner parameters) Creates or updates an agent pool in the specified managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.parameters- The agent pool to create or update.- Returns:
- agent Pool on successful completion of
Mono. - 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 resourceName, String agentPoolName, AgentPoolInner parameters) Creates or updates an agent pool in the specified managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.parameters- The agent pool to create or update.- Returns:
- agent Pool.
- 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 resourceName, String agentPoolName, AgentPoolInner parameters, com.azure.core.util.Context context) Creates or updates an agent pool in the specified managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.parameters- The agent pool to create or update.context- The context to associate with this operation.- Returns:
- agent Pool.
- 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String resourceName, String agentPoolName) Deletes an agent pool in the specified managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.- Returns:
- the
Responseon successful completion ofMono. - 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.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String resourceName, String agentPoolName) Deletes an agent pool in the specified managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.- Returns:
- the
PollerFluxfor polling of long-running operation. - 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String resourceName, String agentPoolName) Deletes an agent pool in the specified managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.- Returns:
- the
SyncPollerfor polling of long-running operation. - 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String resourceName, String agentPoolName, com.azure.core.util.Context context) Deletes an agent pool in the specified managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - 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.
-
deleteAsync
Deletes an agent pool in the specified managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.- Returns:
- A
Monothat completes when a successful response is received. - 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 an agent pool in the specified managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.- 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 resourceName, String agentPoolName, com.azure.core.util.Context context) Deletes an agent pool in the specified managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.context- The context to associate with this operation.- 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.
-
getUpgradeProfileWithResponseAsync
Mono<com.azure.core.http.rest.Response<AgentPoolUpgradeProfileInner>> getUpgradeProfileWithResponseAsync(String resourceGroupName, String resourceName, String agentPoolName) Gets the upgrade profile for an agent pool.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.- Returns:
- the upgrade profile for an agent pool along with
Responseon successful completion ofMono. - 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.
-
getUpgradeProfileAsync
Mono<AgentPoolUpgradeProfileInner> getUpgradeProfileAsync(String resourceGroupName, String resourceName, String agentPoolName) Gets the upgrade profile for an agent pool.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.- Returns:
- the upgrade profile for an agent pool on successful completion of
Mono. - 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.
-
getUpgradeProfile
AgentPoolUpgradeProfileInner getUpgradeProfile(String resourceGroupName, String resourceName, String agentPoolName) Gets the upgrade profile for an agent pool.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.- Returns:
- the upgrade profile for an agent pool.
- 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.
-
getUpgradeProfileWithResponse
com.azure.core.http.rest.Response<AgentPoolUpgradeProfileInner> getUpgradeProfileWithResponse(String resourceGroupName, String resourceName, String agentPoolName, com.azure.core.util.Context context) Gets the upgrade profile for an agent pool.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.context- The context to associate with this operation.- Returns:
- the upgrade profile for an agent pool 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.
-
getAvailableAgentPoolVersionsWithResponseAsync
Mono<com.azure.core.http.rest.Response<AgentPoolAvailableVersionsInner>> getAvailableAgentPoolVersionsWithResponseAsync(String resourceGroupName, String resourceName) Gets a list of supported Kubernetes versions for the specified agent pool.See [supported Kubernetes versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details about the version lifecycle.
- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- the list of available versions for an agent pool along with
Responseon successful completion ofMono. - 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.
-
getAvailableAgentPoolVersionsAsync
Mono<AgentPoolAvailableVersionsInner> getAvailableAgentPoolVersionsAsync(String resourceGroupName, String resourceName) Gets a list of supported Kubernetes versions for the specified agent pool.See [supported Kubernetes versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details about the version lifecycle.
- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- the list of available versions for an agent pool on successful completion of
Mono. - 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.
-
getAvailableAgentPoolVersions
AgentPoolAvailableVersionsInner getAvailableAgentPoolVersions(String resourceGroupName, String resourceName) Gets a list of supported Kubernetes versions for the specified agent pool.See [supported Kubernetes versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details about the version lifecycle.
- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- the list of available versions for an agent pool.
- 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.
-
getAvailableAgentPoolVersionsWithResponse
com.azure.core.http.rest.Response<AgentPoolAvailableVersionsInner> getAvailableAgentPoolVersionsWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Gets a list of supported Kubernetes versions for the specified agent pool.See [supported Kubernetes versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details about the version lifecycle.
- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.context- The context to associate with this operation.- Returns:
- the list of available versions for an agent pool 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.
-
upgradeNodeImageVersionWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> upgradeNodeImageVersionWithResponseAsync(String resourceGroupName, String resourceName, String agentPoolName) Upgrades the node image version of an agent pool to the latest.Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade.
- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.- Returns:
- the response body along with
Responseon successful completion ofMono. - 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.
-
beginUpgradeNodeImageVersionAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<AgentPoolInner>,AgentPoolInner> beginUpgradeNodeImageVersionAsync(String resourceGroupName, String resourceName, String agentPoolName) Upgrades the node image version of an agent pool to the latest.Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade.
- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.- Returns:
- the
PollerFluxfor polling of long-running operation. - 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.
-
beginUpgradeNodeImageVersion
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AgentPoolInner>,AgentPoolInner> beginUpgradeNodeImageVersion(String resourceGroupName, String resourceName, String agentPoolName) Upgrades the node image version of an agent pool to the latest.Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade.
- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.- Returns:
- the
SyncPollerfor polling of long-running operation. - 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.
-
beginUpgradeNodeImageVersion
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AgentPoolInner>,AgentPoolInner> beginUpgradeNodeImageVersion(String resourceGroupName, String resourceName, String agentPoolName, com.azure.core.util.Context context) Upgrades the node image version of an agent pool to the latest.Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade.
- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - 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.
-
upgradeNodeImageVersionAsync
Mono<AgentPoolInner> upgradeNodeImageVersionAsync(String resourceGroupName, String resourceName, String agentPoolName) Upgrades the node image version of an agent pool to the latest.Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade.
- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.- Returns:
- the response body on successful completion of
Mono. - 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.
-
upgradeNodeImageVersion
AgentPoolInner upgradeNodeImageVersion(String resourceGroupName, String resourceName, String agentPoolName) Upgrades the node image version of an agent pool to the latest.Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade.
- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.- 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.
-
upgradeNodeImageVersion
AgentPoolInner upgradeNodeImageVersion(String resourceGroupName, String resourceName, String agentPoolName, com.azure.core.util.Context context) Upgrades the node image version of an agent pool to the latest.Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade.
- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.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.
-