Partager via


ManagedClustersOperationsExtensions.DeleteAsync Method

Definition

Deletes a managed cluster.

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

Parameters

operations
IManagedClustersOperations

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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to