AgentPoolOperations interface

Interface representing a AgentPoolOperations.

Methods

beginCreateOrUpdate(string, string, AgentPool, AgentPoolCreateOrUpdateOptionalParams)

Creates the agent pool in the Hybrid AKS provisioned cluster instance

beginCreateOrUpdateAndWait(string, string, AgentPool, AgentPoolCreateOrUpdateOptionalParams)

Creates the agent pool in the Hybrid AKS provisioned cluster instance

beginDelete(string, string, AgentPoolDeleteOptionalParams)

Deletes the agent pool in the Hybrid AKS provisioned cluster instance

beginDeleteAndWait(string, string, AgentPoolDeleteOptionalParams)

Deletes the agent pool in the Hybrid AKS provisioned cluster instance

beginUpdate(string, string, AgentPoolPatch, AgentPoolUpdateOptionalParams)

Updates the agent pool in the Hybrid AKS provisioned cluster instance

beginUpdateAndWait(string, string, AgentPoolPatch, AgentPoolUpdateOptionalParams)

Updates the agent pool in the Hybrid AKS provisioned cluster instance

get(string, string, AgentPoolGetOptionalParams)

Gets the agent pool in the Hybrid AKS provisioned cluster instance

listByProvisionedCluster(string, AgentPoolListByProvisionedClusterOptionalParams)

Gets the agent pools in the Hybrid AKS provisioned cluster instance

Method Details

beginCreateOrUpdate(string, string, AgentPool, AgentPoolCreateOrUpdateOptionalParams)

Creates the agent pool in the Hybrid AKS provisioned cluster instance

function beginCreateOrUpdate(connectedClusterResourceUri: string, agentPoolName: string, agentPool: AgentPool, options?: AgentPoolCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AgentPool>, AgentPool>>

Parameters

connectedClusterResourceUri

string

The fully qualified Azure Resource manager identifier of the connected cluster resource.

agentPoolName

string

Parameter for the name of the agent pool in the provisioned cluster

agentPool
AgentPool

The agentPool resource definition

options
AgentPoolCreateOrUpdateOptionalParams

The options parameters.

Returns

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

beginCreateOrUpdateAndWait(string, string, AgentPool, AgentPoolCreateOrUpdateOptionalParams)

Creates the agent pool in the Hybrid AKS provisioned cluster instance

function beginCreateOrUpdateAndWait(connectedClusterResourceUri: string, agentPoolName: string, agentPool: AgentPool, options?: AgentPoolCreateOrUpdateOptionalParams): Promise<AgentPool>

Parameters

connectedClusterResourceUri

string

The fully qualified Azure Resource manager identifier of the connected cluster resource.

agentPoolName

string

Parameter for the name of the agent pool in the provisioned cluster

agentPool
AgentPool

The agentPool resource definition

options
AgentPoolCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<AgentPool>

beginDelete(string, string, AgentPoolDeleteOptionalParams)

Deletes the agent pool in the Hybrid AKS provisioned cluster instance

function beginDelete(connectedClusterResourceUri: string, agentPoolName: string, options?: AgentPoolDeleteOptionalParams): Promise<SimplePollerLike<OperationState<AgentPoolDeleteHeaders>, AgentPoolDeleteHeaders>>

Parameters

connectedClusterResourceUri

string

The fully qualified Azure Resource manager identifier of the connected cluster resource.

agentPoolName

string

Parameter for the name of the agent pool in the provisioned cluster

options
AgentPoolDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, AgentPoolDeleteOptionalParams)

Deletes the agent pool in the Hybrid AKS provisioned cluster instance

function beginDeleteAndWait(connectedClusterResourceUri: string, agentPoolName: string, options?: AgentPoolDeleteOptionalParams): Promise<AgentPoolDeleteHeaders>

Parameters

connectedClusterResourceUri

string

The fully qualified Azure Resource manager identifier of the connected cluster resource.

agentPoolName

string

Parameter for the name of the agent pool in the provisioned cluster

options
AgentPoolDeleteOptionalParams

The options parameters.

Returns

beginUpdate(string, string, AgentPoolPatch, AgentPoolUpdateOptionalParams)

Updates the agent pool in the Hybrid AKS provisioned cluster instance

function beginUpdate(connectedClusterResourceUri: string, agentPoolName: string, agentPool: AgentPoolPatch, options?: AgentPoolUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AgentPool>, AgentPool>>

Parameters

connectedClusterResourceUri

string

The fully qualified Azure Resource manager identifier of the connected cluster resource.

agentPoolName

string

Parameter for the name of the agent pool in the provisioned cluster

agentPool
AgentPoolPatch

The agentPool resource patch definition

options
AgentPoolUpdateOptionalParams

The options parameters.

Returns

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

beginUpdateAndWait(string, string, AgentPoolPatch, AgentPoolUpdateOptionalParams)

Updates the agent pool in the Hybrid AKS provisioned cluster instance

function beginUpdateAndWait(connectedClusterResourceUri: string, agentPoolName: string, agentPool: AgentPoolPatch, options?: AgentPoolUpdateOptionalParams): Promise<AgentPool>

Parameters

connectedClusterResourceUri

string

The fully qualified Azure Resource manager identifier of the connected cluster resource.

agentPoolName

string

Parameter for the name of the agent pool in the provisioned cluster

agentPool
AgentPoolPatch

The agentPool resource patch definition

options
AgentPoolUpdateOptionalParams

The options parameters.

Returns

Promise<AgentPool>

get(string, string, AgentPoolGetOptionalParams)

Gets the agent pool in the Hybrid AKS provisioned cluster instance

function get(connectedClusterResourceUri: string, agentPoolName: string, options?: AgentPoolGetOptionalParams): Promise<AgentPool>

Parameters

connectedClusterResourceUri

string

The fully qualified Azure Resource manager identifier of the connected cluster resource.

agentPoolName

string

Parameter for the name of the agent pool in the provisioned cluster

options
AgentPoolGetOptionalParams

The options parameters.

Returns

Promise<AgentPool>

listByProvisionedCluster(string, AgentPoolListByProvisionedClusterOptionalParams)

Gets the agent pools in the Hybrid AKS provisioned cluster instance

function listByProvisionedCluster(connectedClusterResourceUri: string, options?: AgentPoolListByProvisionedClusterOptionalParams): Promise<AgentPoolListResult>

Parameters

connectedClusterResourceUri

string

The fully qualified Azure Resource manager identifier of the connected cluster resource.

options
AgentPoolListByProvisionedClusterOptionalParams

The options parameters.

Returns