AgentPools interface

Interface representing a AgentPools.

Methods

beginAbortLatestOperation(string, string, string, AgentPoolsAbortLatestOperationOptionalParams)

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.

beginAbortLatestOperationAndWait(string, string, string, AgentPoolsAbortLatestOperationOptionalParams)

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.

beginCreateOrUpdate(string, string, string, AgentPool, AgentPoolsCreateOrUpdateOptionalParams)

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

beginCreateOrUpdateAndWait(string, string, string, AgentPool, AgentPoolsCreateOrUpdateOptionalParams)

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

beginDelete(string, string, string, AgentPoolsDeleteOptionalParams)

Deletes an agent pool in the specified managed cluster.

beginDeleteAndWait(string, string, string, AgentPoolsDeleteOptionalParams)

Deletes an agent pool in the specified managed cluster.

beginDeleteMachines(string, string, string, AgentPoolDeleteMachinesParameter, AgentPoolsDeleteMachinesOptionalParams)

Deletes specific machines in an agent pool.

beginDeleteMachinesAndWait(string, string, string, AgentPoolDeleteMachinesParameter, AgentPoolsDeleteMachinesOptionalParams)

Deletes specific machines in an agent pool.

beginUpgradeNodeImageVersion(string, string, string, AgentPoolsUpgradeNodeImageVersionOptionalParams)

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

beginUpgradeNodeImageVersionAndWait(string, string, string, AgentPoolsUpgradeNodeImageVersionOptionalParams)

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

get(string, string, string, AgentPoolsGetOptionalParams)

Gets the specified managed cluster agent pool.

getAvailableAgentPoolVersions(string, string, AgentPoolsGetAvailableAgentPoolVersionsOptionalParams)

See supported Kubernetes versions for more details about the version lifecycle.

getUpgradeProfile(string, string, string, AgentPoolsGetUpgradeProfileOptionalParams)

Gets the upgrade profile for an agent pool.

list(string, string, AgentPoolsListOptionalParams)

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

Method Details

beginAbortLatestOperation(string, string, string, AgentPoolsAbortLatestOperationOptionalParams)

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.

function beginAbortLatestOperation(resourceGroupName: string, resourceName: string, agentPoolName: string, options?: AgentPoolsAbortLatestOperationOptionalParams): Promise<SimplePollerLike<OperationState<AgentPoolsAbortLatestOperationHeaders>, AgentPoolsAbortLatestOperationHeaders>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the managed cluster resource.

agentPoolName

string

The name of the agent pool.

options
AgentPoolsAbortLatestOperationOptionalParams

The options parameters.

Returns

beginAbortLatestOperationAndWait(string, string, string, AgentPoolsAbortLatestOperationOptionalParams)

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.

function beginAbortLatestOperationAndWait(resourceGroupName: string, resourceName: string, agentPoolName: string, options?: AgentPoolsAbortLatestOperationOptionalParams): Promise<AgentPoolsAbortLatestOperationHeaders>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the managed cluster resource.

agentPoolName

string

The name of the agent pool.

options
AgentPoolsAbortLatestOperationOptionalParams

The options parameters.

Returns

beginCreateOrUpdate(string, string, string, AgentPool, AgentPoolsCreateOrUpdateOptionalParams)

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

function beginCreateOrUpdate(resourceGroupName: string, resourceName: string, agentPoolName: string, parameters: AgentPool, options?: AgentPoolsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AgentPool>, AgentPool>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the managed cluster resource.

agentPoolName

string

The name of the agent pool.

parameters
AgentPool

The agent pool to create or update.

options
AgentPoolsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<AgentPool>, AgentPool>>

beginCreateOrUpdateAndWait(string, string, string, AgentPool, AgentPoolsCreateOrUpdateOptionalParams)

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

function beginCreateOrUpdateAndWait(resourceGroupName: string, resourceName: string, agentPoolName: string, parameters: AgentPool, options?: AgentPoolsCreateOrUpdateOptionalParams): Promise<AgentPool>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the managed cluster resource.

agentPoolName

string

The name of the agent pool.

parameters
AgentPool

The agent pool to create or update.

options
AgentPoolsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<AgentPool>

beginDelete(string, string, string, AgentPoolsDeleteOptionalParams)

Deletes an agent pool in the specified managed cluster.

function beginDelete(resourceGroupName: string, resourceName: string, agentPoolName: string, options?: AgentPoolsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<AgentPoolsDeleteHeaders>, AgentPoolsDeleteHeaders>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the managed cluster resource.

agentPoolName

string

The name of the agent pool.

options
AgentPoolsDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<AgentPoolsDeleteHeaders>, AgentPoolsDeleteHeaders>>

beginDeleteAndWait(string, string, string, AgentPoolsDeleteOptionalParams)

Deletes an agent pool in the specified managed cluster.

function beginDeleteAndWait(resourceGroupName: string, resourceName: string, agentPoolName: string, options?: AgentPoolsDeleteOptionalParams): Promise<AgentPoolsDeleteHeaders>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the managed cluster resource.

agentPoolName

string

The name of the agent pool.

options
AgentPoolsDeleteOptionalParams

The options parameters.

Returns

beginDeleteMachines(string, string, string, AgentPoolDeleteMachinesParameter, AgentPoolsDeleteMachinesOptionalParams)

Deletes specific machines in an agent pool.

function beginDeleteMachines(resourceGroupName: string, resourceName: string, agentPoolName: string, machines: AgentPoolDeleteMachinesParameter, options?: AgentPoolsDeleteMachinesOptionalParams): Promise<SimplePollerLike<OperationState<AgentPoolsDeleteMachinesHeaders>, AgentPoolsDeleteMachinesHeaders>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the managed cluster resource.

agentPoolName

string

The name of the agent pool.

machines
AgentPoolDeleteMachinesParameter

A list of machines from the agent pool to be deleted.

options
AgentPoolsDeleteMachinesOptionalParams

The options parameters.

Returns

beginDeleteMachinesAndWait(string, string, string, AgentPoolDeleteMachinesParameter, AgentPoolsDeleteMachinesOptionalParams)

Deletes specific machines in an agent pool.

function beginDeleteMachinesAndWait(resourceGroupName: string, resourceName: string, agentPoolName: string, machines: AgentPoolDeleteMachinesParameter, options?: AgentPoolsDeleteMachinesOptionalParams): Promise<AgentPoolsDeleteMachinesHeaders>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the managed cluster resource.

agentPoolName

string

The name of the agent pool.

machines
AgentPoolDeleteMachinesParameter

A list of machines from the agent pool to be deleted.

options
AgentPoolsDeleteMachinesOptionalParams

The options parameters.

Returns

beginUpgradeNodeImageVersion(string, string, string, AgentPoolsUpgradeNodeImageVersionOptionalParams)

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

function beginUpgradeNodeImageVersion(resourceGroupName: string, resourceName: string, agentPoolName: string, options?: AgentPoolsUpgradeNodeImageVersionOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the managed cluster resource.

agentPoolName

string

The name of the agent pool.

options
AgentPoolsUpgradeNodeImageVersionOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginUpgradeNodeImageVersionAndWait(string, string, string, AgentPoolsUpgradeNodeImageVersionOptionalParams)

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

function beginUpgradeNodeImageVersionAndWait(resourceGroupName: string, resourceName: string, agentPoolName: string, options?: AgentPoolsUpgradeNodeImageVersionOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the managed cluster resource.

agentPoolName

string

The name of the agent pool.

options
AgentPoolsUpgradeNodeImageVersionOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, AgentPoolsGetOptionalParams)

Gets the specified managed cluster agent pool.

function get(resourceGroupName: string, resourceName: string, agentPoolName: string, options?: AgentPoolsGetOptionalParams): Promise<AgentPool>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the managed cluster resource.

agentPoolName

string

The name of the agent pool.

options
AgentPoolsGetOptionalParams

The options parameters.

Returns

Promise<AgentPool>

getAvailableAgentPoolVersions(string, string, AgentPoolsGetAvailableAgentPoolVersionsOptionalParams)

See supported Kubernetes versions for more details about the version lifecycle.

function getAvailableAgentPoolVersions(resourceGroupName: string, resourceName: string, options?: AgentPoolsGetAvailableAgentPoolVersionsOptionalParams): Promise<AgentPoolAvailableVersions>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the managed cluster resource.

Returns

getUpgradeProfile(string, string, string, AgentPoolsGetUpgradeProfileOptionalParams)

Gets the upgrade profile for an agent pool.

function getUpgradeProfile(resourceGroupName: string, resourceName: string, agentPoolName: string, options?: AgentPoolsGetUpgradeProfileOptionalParams): Promise<AgentPoolUpgradeProfile>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the managed cluster resource.

agentPoolName

string

The name of the agent pool.

options
AgentPoolsGetUpgradeProfileOptionalParams

The options parameters.

Returns

list(string, string, AgentPoolsListOptionalParams)

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

function list(resourceGroupName: string, resourceName: string, options?: AgentPoolsListOptionalParams): PagedAsyncIterableIterator<AgentPool, AgentPool[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceName

string

The name of the managed cluster resource.

options
AgentPoolsListOptionalParams

The options parameters.

Returns