Interface AgentPoolsClient


public interface AgentPoolsClient
An instance of this class provides access to all the operations defined in AgentPoolsClient.
  • 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 Response 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.
    • getAsync

      Mono<AgentPoolInner> getAsync(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 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

      AgentPoolInner get(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.
      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 Response 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.
    • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 Response 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.
    • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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

      Mono<Void> deleteAsync(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:
      A Mono that 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

      void delete(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.
      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 Response 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.
    • 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 Response 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.
    • 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 Response 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.
    • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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.