AgentPoolsOperationsExtensions.DeleteAsync Method

Definition

Overloads

Name Description
DeleteAsync(IAgentPoolsOperations, String, String, String, CancellationToken)

Deletes an agent pool in the specified managed cluster.

DeleteAsync(IAgentPoolsOperations, String, String, String, Nullable<Boolean>, String, CancellationToken)

Deletes an agent pool in the specified managed cluster.

DeleteAsync(IAgentPoolsOperations, String, String, String, CancellationToken)

Deletes an agent pool in the specified managed cluster.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerService.Models.AgentPoolsDeleteHeaders> DeleteAsync(this Microsoft.Azure.Management.ContainerService.IAgentPoolsOperations operations, string resourceGroupName, string resourceName, string agentPoolName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.ContainerService.IAgentPoolsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerService.Models.AgentPoolsDeleteHeaders>
<Extension()>
Public Function DeleteAsync (operations As IAgentPoolsOperations, resourceGroupName As String, resourceName As String, agentPoolName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AgentPoolsDeleteHeaders)

Parameters

operations
IAgentPoolsOperations

The operations group for this extension method.

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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to

DeleteAsync(IAgentPoolsOperations, String, String, String, Nullable<Boolean>, String, CancellationToken)

Deletes an agent pool in the specified managed cluster.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerService.Models.AgentPoolsDeleteHeaders> DeleteAsync(this Microsoft.Azure.Management.ContainerService.IAgentPoolsOperations operations, string resourceGroupName, string resourceName, string agentPoolName, bool? ignorePodDisruptionBudget = default, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.ContainerService.IAgentPoolsOperations * string * string * string * Nullable<bool> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerService.Models.AgentPoolsDeleteHeaders>
<Extension()>
Public Function DeleteAsync (operations As IAgentPoolsOperations, resourceGroupName As String, resourceName As String, agentPoolName As String, Optional ignorePodDisruptionBudget As Nullable(Of Boolean) = Nothing, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AgentPoolsDeleteHeaders)

Parameters

operations
IAgentPoolsOperations

The operations group for this extension method.

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.

ignorePodDisruptionBudget
Nullable<Boolean>

ignore-pod-disruption-budget=true to delete those pods on a node without considering Pod Disruption Budget

ifMatch
String

The request should only proceed if an entity matches this string.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to