Interface AgentPoolsClient


public interface AgentPoolsClient
An instance of this class provides access to all the operations defined in AgentPoolsClient.
  • Method Details

    • abortLatestOperationWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> abortLatestOperationWithResponseAsync(String resourceGroupName, String resourceName, String agentPoolName)
      Aborts last operation running on agent pool. Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned.
      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.
    • beginAbortLatestOperationAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginAbortLatestOperationAsync(String resourceGroupName, String resourceName, String agentPoolName)
      Aborts last operation running on agent pool. Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned.
      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.
    • beginAbortLatestOperation

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginAbortLatestOperation(String resourceGroupName, String resourceName, String agentPoolName)
      Aborts last operation running on agent pool. Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned.
      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.
    • beginAbortLatestOperation

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginAbortLatestOperation(String resourceGroupName, String resourceName, String agentPoolName, com.azure.core.util.Context context)
      Aborts last operation running on agent pool. Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned.
      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.
    • abortLatestOperationAsync

      Mono<Void> abortLatestOperationAsync(String resourceGroupName, String resourceName, String agentPoolName)
      Aborts last operation running on agent pool. Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned.
      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.
    • abortLatestOperation

      void abortLatestOperation(String resourceGroupName, String resourceName, String agentPoolName)
      Aborts last operation running on agent pool. Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned.
      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.
    • abortLatestOperation

      void abortLatestOperation(String resourceGroupName, String resourceName, String agentPoolName, com.azure.core.util.Context context)
      Aborts last operation running on agent pool. Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned.
      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.
    • 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.
    • 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.
    • 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.
    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolInner parameters, String ifMatch, String ifNoneMatch)
      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.
      ifMatch - The request should only proceed if an entity matches this string.
      ifNoneMatch - The request should only proceed if no entity matches this string.
      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, String ifMatch, String ifNoneMatch)
      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.
      ifMatch - The request should only proceed if an entity matches this string.
      ifNoneMatch - The request should only proceed if no entity matches this string.
      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.
    • 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, String ifMatch, String ifNoneMatch, 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.
      ifMatch - The request should only proceed if an entity matches this string.
      ifNoneMatch - The request should only proceed if no entity matches this string.
      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, String ifMatch, String ifNoneMatch)
      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.
      ifMatch - The request should only proceed if an entity matches this string.
      ifNoneMatch - The request should only proceed if no entity matches this string.
      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.
    • 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, String ifMatch, String ifNoneMatch, 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.
      ifMatch - The request should only proceed if an entity matches this string.
      ifNoneMatch - The request should only proceed if no entity matches this string.
      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, Boolean ignorePodDisruptionBudget, String ifMatch)
      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.
      ignorePodDisruptionBudget - ignore-pod-disruption-budget=true to delete those pods on a node without considering Pod Disruption Budget.
      ifMatch - The request should only proceed if an entity matches this string.
      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, Boolean ignorePodDisruptionBudget, String ifMatch)
      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.
      ignorePodDisruptionBudget - ignore-pod-disruption-budget=true to delete those pods on a node without considering Pod Disruption Budget.
      ifMatch - The request should only proceed if an entity matches this string.
      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.
    • 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, Boolean ignorePodDisruptionBudget, String ifMatch, 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.
      ignorePodDisruptionBudget - ignore-pod-disruption-budget=true to delete those pods on a node without considering Pod Disruption Budget.
      ifMatch - The request should only proceed if an entity matches this string.
      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, Boolean ignorePodDisruptionBudget, String ifMatch)
      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.
      ignorePodDisruptionBudget - ignore-pod-disruption-budget=true to delete those pods on a node without considering Pod Disruption Budget.
      ifMatch - The request should only proceed if an entity matches this string.
      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.
    • 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, Boolean ignorePodDisruptionBudget, String ifMatch, 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.
      ignorePodDisruptionBudget - ignore-pod-disruption-budget=true to delete those pods on a node without considering Pod Disruption Budget.
      ifMatch - The request should only proceed if an entity matches this string.
      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.
    • 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.
    • 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.
    • deleteMachinesWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteMachinesWithResponseAsync(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolDeleteMachinesParameter machines)
      Deletes specific machines in 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.
      machines - A list of machines from the agent pool to be deleted.
      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.
    • beginDeleteMachinesAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteMachinesAsync(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolDeleteMachinesParameter machines)
      Deletes specific machines in 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.
      machines - A list of machines from the agent pool to be deleted.
      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.
    • beginDeleteMachines

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteMachines(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolDeleteMachinesParameter machines)
      Deletes specific machines in 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.
      machines - A list of machines from the agent pool to be deleted.
      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.
    • beginDeleteMachines

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteMachines(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolDeleteMachinesParameter machines, com.azure.core.util.Context context)
      Deletes specific machines in 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.
      machines - A list of machines from the agent pool to be deleted.
      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.
    • deleteMachinesAsync

      Mono<Void> deleteMachinesAsync(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolDeleteMachinesParameter machines)
      Deletes specific machines in 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.
      machines - A list of machines from the agent pool to be deleted.
      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.
    • deleteMachines

      void deleteMachines(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolDeleteMachinesParameter machines)
      Deletes specific machines in 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.
      machines - A list of machines from the agent pool to be deleted.
      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.
    • deleteMachines

      void deleteMachines(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolDeleteMachinesParameter machines, com.azure.core.util.Context context)
      Deletes specific machines in 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.
      machines - A list of machines from the agent pool to be deleted.
      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.
    • 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.
    • 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.
    • 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.
    • 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.