Interface AgentPoolsClient
public interface AgentPoolsClient
An instance of this class provides access to all the operations defined in AgentPoolsClient.
-
Method Summary
Modifier and TypeMethodDescriptionvoidabortLatestOperation(String resourceGroupName, String resourceName, String agentPoolName) Aborts last operation running on agent pool.voidabortLatestOperation(String resourceGroupName, String resourceName, String agentPoolName, com.azure.core.util.Context context) Aborts last operation running on agent pool.abortLatestOperationAsync(String resourceGroupName, String resourceName, String agentPoolName) Aborts last operation running on agent pool.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> abortLatestOperationWithResponseAsync(String resourceGroupName, String resourceName, String agentPoolName) Aborts last operation running on agent pool.beginAbortLatestOperation(String resourceGroupName, String resourceName, String agentPoolName) Aborts last operation running on agent pool.beginAbortLatestOperation(String resourceGroupName, String resourceName, String agentPoolName, com.azure.core.util.Context context) Aborts last operation running on agent pool.beginAbortLatestOperationAsync(String resourceGroupName, String resourceName, String agentPoolName) Aborts last operation running on agent pool.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.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.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.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.beginDelete(String resourceGroupName, String resourceName, String agentPoolName) Deletes an agent pool in the specified managed cluster.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.beginDeleteAsync(String resourceGroupName, String resourceName, String agentPoolName) Deletes an agent pool in the specified managed cluster.beginDeleteAsync(String resourceGroupName, String resourceName, String agentPoolName, Boolean ignorePodDisruptionBudget, String ifMatch) Deletes an agent pool in the specified managed cluster.beginDeleteMachines(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolDeleteMachinesParameter machines) Deletes specific machines in an agent pool.beginDeleteMachines(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolDeleteMachinesParameter machines, com.azure.core.util.Context context) Deletes specific machines in an agent pool.beginDeleteMachinesAsync(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolDeleteMachinesParameter machines) Deletes specific machines in an agent pool.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AgentPoolInner>, AgentPoolInner> beginUpgradeNodeImageVersion(String resourceGroupName, String resourceName, String agentPoolName) Upgrades the node image version of an agent pool to the latest.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AgentPoolInner>, AgentPoolInner> beginUpgradeNodeImageVersion(String resourceGroupName, String resourceName, String agentPoolName, com.azure.core.util.Context context) Upgrades the node image version of an agent pool to the latest.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<AgentPoolInner>, AgentPoolInner> beginUpgradeNodeImageVersionAsync(String resourceGroupName, String resourceName, String agentPoolName) Upgrades the node image version of an agent pool to the latest.createOrUpdate(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolInner parameters) Creates or updates an agent pool in the specified managed cluster.createOrUpdate(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolInner parameters, String ifMatch, String ifNoneMatch, com.azure.core.util.Context context) Creates or updates an agent pool in the specified managed cluster.createOrUpdateAsync(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolInner parameters) Creates or updates an agent pool in the specified managed cluster.createOrUpdateAsync(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolInner parameters, String ifMatch, String ifNoneMatch) Creates or updates an agent pool in the specified managed cluster.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolInner parameters, String ifMatch, String ifNoneMatch) Creates or updates an agent pool in the specified managed cluster.voidDeletes an agent pool in the specified managed cluster.voiddelete(String resourceGroupName, String resourceName, String agentPoolName, Boolean ignorePodDisruptionBudget, String ifMatch, com.azure.core.util.Context context) Deletes an agent pool in the specified managed cluster.deleteAsync(String resourceGroupName, String resourceName, String agentPoolName) Deletes an agent pool in the specified managed cluster.deleteAsync(String resourceGroupName, String resourceName, String agentPoolName, Boolean ignorePodDisruptionBudget, String ifMatch) Deletes an agent pool in the specified managed cluster.voiddeleteMachines(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolDeleteMachinesParameter machines) Deletes specific machines in an agent pool.voiddeleteMachines(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolDeleteMachinesParameter machines, com.azure.core.util.Context context) Deletes specific machines in an agent pool.deleteMachinesAsync(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolDeleteMachinesParameter machines) Deletes specific machines in an agent pool.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.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.Gets the specified managed cluster agent pool.Gets the specified managed cluster agent pool.getAvailableAgentPoolVersions(String resourceGroupName, String resourceName) Gets a list of supported Kubernetes versions for the specified agent pool.getAvailableAgentPoolVersionsAsync(String resourceGroupName, String resourceName) Gets a list of supported Kubernetes versions for the specified agent pool.com.azure.core.http.rest.Response<AgentPoolAvailableVersionsInner> getAvailableAgentPoolVersionsWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Gets a list of supported Kubernetes versions for the specified agent pool.Mono<com.azure.core.http.rest.Response<AgentPoolAvailableVersionsInner>> getAvailableAgentPoolVersionsWithResponseAsync(String resourceGroupName, String resourceName) Gets a list of supported Kubernetes versions for the specified agent pool.getUpgradeProfile(String resourceGroupName, String resourceName, String agentPoolName) Gets the upgrade profile for an agent pool.getUpgradeProfileAsync(String resourceGroupName, String resourceName, String agentPoolName) Gets the upgrade profile for an agent pool.com.azure.core.http.rest.Response<AgentPoolUpgradeProfileInner> getUpgradeProfileWithResponse(String resourceGroupName, String resourceName, String agentPoolName, com.azure.core.util.Context context) Gets the upgrade profile for an agent pool.Mono<com.azure.core.http.rest.Response<AgentPoolUpgradeProfileInner>> getUpgradeProfileWithResponseAsync(String resourceGroupName, String resourceName, String agentPoolName) Gets the upgrade profile for an agent pool.com.azure.core.http.rest.Response<AgentPoolInner> getWithResponse(String resourceGroupName, String resourceName, String agentPoolName, com.azure.core.util.Context context) Gets the specified managed cluster agent pool.Mono<com.azure.core.http.rest.Response<AgentPoolInner>> getWithResponseAsync(String resourceGroupName, String resourceName, String agentPoolName) Gets the specified managed cluster agent pool.com.azure.core.http.rest.PagedIterable<AgentPoolInner> Gets a list of agent pools in the specified managed cluster.com.azure.core.http.rest.PagedIterable<AgentPoolInner> Gets a list of agent pools in the specified managed cluster.com.azure.core.http.rest.PagedFlux<AgentPoolInner> Gets a list of agent pools in the specified managed cluster.upgradeNodeImageVersion(String resourceGroupName, String resourceName, String agentPoolName) Upgrades the node image version of an agent pool to the latest.upgradeNodeImageVersion(String resourceGroupName, String resourceName, String agentPoolName, com.azure.core.util.Context context) Upgrades the node image version of an agent pool to the latest.upgradeNodeImageVersionAsync(String resourceGroupName, String resourceName, String agentPoolName) Upgrades the node image version of an agent pool to the latest.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> upgradeNodeImageVersionWithResponseAsync(String resourceGroupName, String resourceName, String agentPoolName) Upgrades the node image version of an agent pool to the latest.
-
Method Details
-
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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
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
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
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
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
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
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
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
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
abortLatestOperation
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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
Gets the specified managed cluster agent pool.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.- Returns:
- the specified managed cluster agent pool on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
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
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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<AgentPoolInner>,AgentPoolInner> beginCreateOrUpdateAsync(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolInner parameters, 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
PollerFluxfor polling of agent Pool. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<AgentPoolInner>,AgentPoolInner> beginCreateOrUpdateAsync(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolInner parameters) Creates or updates an agent pool in the specified managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.parameters- The agent pool to create or update.- Returns:
- the
PollerFluxfor polling of agent Pool. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AgentPoolInner>,AgentPoolInner> beginCreateOrUpdate(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolInner parameters) Creates or updates an agent pool in the specified managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.parameters- The agent pool to create or update.- Returns:
- the
SyncPollerfor polling of agent Pool. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AgentPoolInner>,AgentPoolInner> beginCreateOrUpdate(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolInner parameters, 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
SyncPollerfor polling of agent Pool. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<AgentPoolInner> createOrUpdateAsync(String resourceGroupName, String resourceName, String agentPoolName, AgentPoolInner parameters, 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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String resourceName, String agentPoolName, 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
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String resourceName, String agentPoolName) Deletes an agent pool in the specified managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String resourceName, String agentPoolName) Deletes an agent pool in the specified managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String resourceName, String agentPoolName, 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
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
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
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Deletes an agent pool in the specified managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Deletes an agent pool in the specified managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String resourceName, String agentPoolName, 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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getUpgradeProfileAsync
Mono<AgentPoolUpgradeProfileInner> getUpgradeProfileAsync(String resourceGroupName, String resourceName, String agentPoolName) Gets the upgrade profile for an agent pool.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.- Returns:
- the upgrade profile for an agent pool on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
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
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
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
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
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
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
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
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAvailableAgentPoolVersionsAsync
Mono<AgentPoolAvailableVersionsInner> getAvailableAgentPoolVersionsAsync(String resourceGroupName, String resourceName) Gets a list of supported Kubernetes versions for the specified agent pool. See [supported Kubernetes versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details about the version lifecycle.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- the list of available versions for an agent pool on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpgradeNodeImageVersionAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<AgentPoolInner>,AgentPoolInner> beginUpgradeNodeImageVersionAsync(String resourceGroupName, String resourceName, String agentPoolName) Upgrades the node image version of an agent pool to the latest. Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpgradeNodeImageVersion
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AgentPoolInner>,AgentPoolInner> beginUpgradeNodeImageVersion(String resourceGroupName, String resourceName, String agentPoolName) Upgrades the node image version of an agent pool to the latest. Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpgradeNodeImageVersion
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AgentPoolInner>,AgentPoolInner> beginUpgradeNodeImageVersion(String resourceGroupName, String resourceName, String agentPoolName, com.azure.core.util.Context context) Upgrades the node image version of an agent pool to the latest. Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
upgradeNodeImageVersionAsync
Mono<AgentPoolInner> upgradeNodeImageVersionAsync(String resourceGroupName, String resourceName, String agentPoolName) Upgrades the node image version of an agent pool to the latest. Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.- Returns:
- the response body on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
upgradeNodeImageVersion
AgentPoolInner upgradeNodeImageVersion(String resourceGroupName, String resourceName, String agentPoolName) Upgrades the node image version of an agent pool to the latest. Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.- Returns:
- the response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
upgradeNodeImageVersion
AgentPoolInner upgradeNodeImageVersion(String resourceGroupName, String resourceName, String agentPoolName, com.azure.core.util.Context context) Upgrades the node image version of an agent pool to the latest. Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.agentPoolName- The name of the agent pool.context- The context to associate with this operation.- Returns:
- the response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-