AgentPoolsClient Interface

public interface AgentPoolsClient

An instance of this class provides access to all the operations defined in AgentPoolsClient.

Method Summary

Modifier and Type Method and Description
abstract void abortLatestOperation(String resourceGroupName, String resourceName, String agentPoolName)

Aborts last operation running on agent pool.

abstract void abortLatestOperation(String resourceGroupName, String resourceName, String agentPoolName, Context context)

Aborts last operation running on agent pool.

abstract Mono<Void> abortLatestOperationAsync(String resourceGroupName, String resourceName, String agentPoolName)

Aborts last operation running on agent pool.

abstract Mono<Response<Flux<ByteBuffer>>> abortLatestOperationWithResponseAsync(String resourceGroupName, String resourceName, String agentPoolName)

Aborts last operation running on agent pool.

abstract SyncPoller<PollResult<Void>,Void> beginAbortLatestOperation(String resourceGroupName, String resourceName, String agentPoolName)

Aborts last operation running on agent pool.

abstract SyncPoller<PollResult<Void>,Void> beginAbortLatestOperation(String resourceGroupName, String resourceName, String agentPoolName, Context context)

Aborts last operation running on agent pool.

abstract PollerFlux<PollResult<Void>,Void> beginAbortLatestOperationAsync(String resourceGroupName, String resourceName, String agentPoolName)

Aborts last operation running on agent pool.

abstract SyncPoller<PollResult<AgentPoolInner>,AgentPoolInner> beginCreateOrUpdate(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolInner parameters)

Creates or updates an agent pool in the specified managed cluster.

abstract SyncPoller<PollResult<AgentPoolInner>,AgentPoolInner> beginCreateOrUpdate(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolInner parameters, Context context)

Creates or updates an agent pool in the specified managed cluster.

abstract PollerFlux<PollResult<AgentPoolInner>,AgentPoolInner> beginCreateOrUpdateAsync(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolInner parameters)

Creates or updates an agent pool in the specified managed cluster.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String resourceName, String agentPoolName)

Deletes an agent pool in the specified managed cluster.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String resourceName, String agentPoolName, Boolean ignorePodDisruptionBudget, Context context)

Deletes an agent pool in the specified managed cluster.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String resourceName, String agentPoolName)

Deletes an agent pool in the specified managed cluster.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String resourceName, String agentPoolName, Boolean ignorePodDisruptionBudget)

Deletes an agent pool in the specified managed cluster.

abstract SyncPoller<PollResult<Void>,Void> beginDeleteMachines(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolDeleteMachinesParameter machines)

Deletes specific machines in an agent pool.

abstract SyncPoller<PollResult<Void>,Void> beginDeleteMachines(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolDeleteMachinesParameter machines, Context context)

Deletes specific machines in an agent pool.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteMachinesAsync(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolDeleteMachinesParameter machines)

Deletes specific machines in an agent pool.

abstract SyncPoller<PollResult<AgentPoolInner>,AgentPoolInner> beginUpgradeNodeImageVersion(String resourceGroupName, String resourceName, String agentPoolName)

Upgrades the node image version of an agent pool to the latest.

abstract SyncPoller<PollResult<AgentPoolInner>,AgentPoolInner> beginUpgradeNodeImageVersion(String resourceGroupName, String resourceName, String agentPoolName, Context context)

Upgrades the node image version of an agent pool to the latest.

abstract PollerFlux<PollResult<AgentPoolInner>,AgentPoolInner> beginUpgradeNodeImageVersionAsync(String resourceGroupName, String resourceName, String agentPoolName)

Upgrades the node image version of an agent pool to the latest.

abstract AgentPoolInner createOrUpdate(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolInner parameters)

Creates or updates an agent pool in the specified managed cluster.

abstract AgentPoolInner createOrUpdate(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolInner parameters, Context context)

Creates or updates an agent pool in the specified managed cluster.

abstract Mono<AgentPoolInner> createOrUpdateAsync(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolInner parameters)

Creates or updates an agent pool in the specified managed cluster.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolInner parameters)

Creates or updates an agent pool in the specified managed cluster.

abstract void delete(String resourceGroupName, String resourceName, String agentPoolName)

Deletes an agent pool in the specified managed cluster.

abstract void delete(String resourceGroupName, String resourceName, String agentPoolName, Boolean ignorePodDisruptionBudget, Context context)

Deletes an agent pool in the specified managed cluster.

abstract Mono<Void> deleteAsync(String resourceGroupName, String resourceName, String agentPoolName)

Deletes an agent pool in the specified managed cluster.

abstract Mono<Void> deleteAsync(String resourceGroupName, String resourceName, String agentPoolName, Boolean ignorePodDisruptionBudget)

Deletes an agent pool in the specified managed cluster.

abstract void deleteMachines(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolDeleteMachinesParameter machines)

Deletes specific machines in an agent pool.

abstract void deleteMachines(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolDeleteMachinesParameter machines, Context context)

Deletes specific machines in an agent pool.

abstract Mono<Void> deleteMachinesAsync(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolDeleteMachinesParameter machines)

Deletes specific machines in an agent pool.

abstract Mono<Response<Flux<ByteBuffer>>> deleteMachinesWithResponseAsync(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolDeleteMachinesParameter machines)

Deletes specific machines in an agent pool.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String resourceName, String agentPoolName, Boolean ignorePodDisruptionBudget)

Deletes an agent pool in the specified managed cluster.

abstract AgentPoolInner get(String resourceGroupName, String resourceName, String agentPoolName)

Gets the specified managed cluster agent pool.

abstract Mono<AgentPoolInner> getAsync(String resourceGroupName, String resourceName, String agentPoolName)

Gets the specified managed cluster agent pool.

abstract AgentPoolAvailableVersionsInner getAvailableAgentPoolVersions(String resourceGroupName, String resourceName)

Gets a list of supported Kubernetes versions for the specified agent pool.

abstract Mono<AgentPoolAvailableVersionsInner> getAvailableAgentPoolVersionsAsync(String resourceGroupName, String resourceName)

Gets a list of supported Kubernetes versions for the specified agent pool.

abstract Response<AgentPoolAvailableVersionsInner> getAvailableAgentPoolVersionsWithResponse(String resourceGroupName, String resourceName, Context context)

Gets a list of supported Kubernetes versions for the specified agent pool.

abstract Mono<Response<AgentPoolAvailableVersionsInner>> getAvailableAgentPoolVersionsWithResponseAsync(String resourceGroupName, String resourceName)

Gets a list of supported Kubernetes versions for the specified agent pool.

abstract AgentPoolUpgradeProfileInner getUpgradeProfile(String resourceGroupName, String resourceName, String agentPoolName)

Gets the upgrade profile for an agent pool.

abstract Mono<AgentPoolUpgradeProfileInner> getUpgradeProfileAsync(String resourceGroupName, String resourceName, String agentPoolName)

Gets the upgrade profile for an agent pool.

abstract Response<AgentPoolUpgradeProfileInner> getUpgradeProfileWithResponse(String resourceGroupName, String resourceName, String agentPoolName, Context context)

Gets the upgrade profile for an agent pool.

abstract Mono<Response<AgentPoolUpgradeProfileInner>> getUpgradeProfileWithResponseAsync(String resourceGroupName, String resourceName, String agentPoolName)

Gets the upgrade profile for an agent pool.

abstract Response<AgentPoolInner> getWithResponse(String resourceGroupName, String resourceName, String agentPoolName, Context context)

Gets the specified managed cluster agent pool.

abstract Mono<Response<AgentPoolInner>> getWithResponseAsync(String resourceGroupName, String resourceName, String agentPoolName)

Gets the specified managed cluster agent pool.

abstract PagedIterable<AgentPoolInner> list(String resourceGroupName, String resourceName)

Gets a list of agent pools in the specified managed cluster.

abstract PagedIterable<AgentPoolInner> list(String resourceGroupName, String resourceName, Context context)

Gets a list of agent pools in the specified managed cluster.

abstract PagedFlux<AgentPoolInner> listAsync(String resourceGroupName, String resourceName)

Gets a list of agent pools in the specified managed cluster.

abstract AgentPoolInner upgradeNodeImageVersion(String resourceGroupName, String resourceName, String agentPoolName)

Upgrades the node image version of an agent pool to the latest.

abstract AgentPoolInner upgradeNodeImageVersion(String resourceGroupName, String resourceName, String agentPoolName, Context context)

Upgrades the node image version of an agent pool to the latest.

abstract Mono<AgentPoolInner> upgradeNodeImageVersionAsync(String resourceGroupName, String resourceName, String agentPoolName)

Upgrades the node image version of an agent pool to the latest.

abstract Mono<Response<Flux<ByteBuffer>>> upgradeNodeImageVersionWithResponseAsync(String resourceGroupName, String resourceName, String agentPoolName)

Upgrades the node image version of an agent pool to the latest.

Method Details

abortLatestOperation

public abstract 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.

abortLatestOperation

public abstract void abortLatestOperation(String resourceGroupName, String resourceName, String agentPoolName, 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.

abortLatestOperationAsync

public abstract Mono 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.

abortLatestOperationWithResponseAsync

public abstract Mono>> 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<T> on successful completion of Mono.

beginAbortLatestOperation

public abstract SyncPoller,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<T,U> for polling of long-running operation.

beginAbortLatestOperation

public abstract SyncPoller,Void> beginAbortLatestOperation(String resourceGroupName, String resourceName, String agentPoolName, 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<T,U> for polling of long-running operation.

beginAbortLatestOperationAsync

public abstract PollerFlux,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<T,U> for polling of long-running operation.

beginCreateOrUpdate

public abstract SyncPoller,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<T,U> for polling of agent Pool.

beginCreateOrUpdate

public abstract SyncPoller,AgentPoolInner> beginCreateOrUpdate(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolInner parameters, 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<T,U> for polling of agent Pool.

beginCreateOrUpdateAsync

public abstract PollerFlux,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<T,U> for polling of agent Pool.

beginDelete

public abstract SyncPoller,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<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String resourceName, String agentPoolName, Boolean ignorePodDisruptionBudget, 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.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,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<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String resourceName, String agentPoolName, Boolean ignorePodDisruptionBudget)

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.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginDeleteMachines

public abstract SyncPoller,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<T,U> for polling of long-running operation.

beginDeleteMachines

public abstract SyncPoller,Void> beginDeleteMachines(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolDeleteMachinesParameter machines, 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<T,U> for polling of long-running operation.

beginDeleteMachinesAsync

public abstract PollerFlux,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<T,U> for polling of long-running operation.

beginUpgradeNodeImageVersion

public abstract SyncPoller,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<T,U> for polling of long-running operation.

beginUpgradeNodeImageVersion

public abstract SyncPoller,AgentPoolInner> beginUpgradeNodeImageVersion(String resourceGroupName, String resourceName, String agentPoolName, 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<T,U> for polling of long-running operation.

beginUpgradeNodeImageVersionAsync

public abstract PollerFlux,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<T,U> for polling of long-running operation.

createOrUpdate

public abstract 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.

createOrUpdate

public abstract AgentPoolInner createOrUpdate(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolInner parameters, 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.

createOrUpdateAsync

public abstract Mono 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.

createOrUpdateWithResponseAsync

public abstract Mono>> 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<T> on successful completion of Mono.

delete

public abstract 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.

delete

public abstract void delete(String resourceGroupName, String resourceName, String agentPoolName, Boolean ignorePodDisruptionBudget, 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.
context - The context to associate with this operation.

deleteAsync

public abstract Mono 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.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String resourceName, String agentPoolName, Boolean ignorePodDisruptionBudget)

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.

Returns:

A Mono that completes when a successful response is received.

deleteMachines

public abstract 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.

deleteMachines

public abstract void deleteMachines(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolDeleteMachinesParameter machines, 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.

deleteMachinesAsync

public abstract Mono 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.

deleteMachinesWithResponseAsync

public abstract Mono>> 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<T> on successful completion of Mono.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String resourceName, String agentPoolName, Boolean ignorePodDisruptionBudget)

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.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract 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.

getAsync

public abstract Mono 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.

getAvailableAgentPoolVersions

public abstract 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.

getAvailableAgentPoolVersionsAsync

public abstract Mono 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.

getAvailableAgentPoolVersionsWithResponse

public abstract Response getAvailableAgentPoolVersionsWithResponse(String resourceGroupName, String resourceName, 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<T>.

getAvailableAgentPoolVersionsWithResponseAsync

public abstract Mono> 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<T> on successful completion of Mono.

getUpgradeProfile

public abstract 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.

getUpgradeProfileAsync

public abstract Mono 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.

getUpgradeProfileWithResponse

public abstract Response getUpgradeProfileWithResponse(String resourceGroupName, String resourceName, String agentPoolName, 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<T>.

getUpgradeProfileWithResponseAsync

public abstract Mono> 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<T> on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String resourceName, String agentPoolName, 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<T>.

getWithResponseAsync

public abstract Mono> 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<T> on successful completion of Mono.

list

public abstract PagedIterable 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<T>.

list

public abstract PagedIterable list(String resourceGroupName, String resourceName, 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<T>.

listAsync

public abstract PagedFlux 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<T>.

upgradeNodeImageVersion

public abstract 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.

upgradeNodeImageVersion

public abstract AgentPoolInner upgradeNodeImageVersion(String resourceGroupName, String resourceName, String agentPoolName, 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.

upgradeNodeImageVersionAsync

public abstract Mono 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.

upgradeNodeImageVersionWithResponseAsync

public abstract Mono>> 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<T> on successful completion of Mono.

Applies to