ContainerServicesOperationsExtensions.BeginDeleteAsync Method

Definition

Deletes the specified container service.

public static System.Threading.Tasks.Task BeginDeleteAsync (this Microsoft.Azure.Management.Compute.Fluent.IContainerServicesOperations operations, string resourceGroupName, string containerServiceName, System.Threading.CancellationToken cancellationToken = default);
static member BeginDeleteAsync : Microsoft.Azure.Management.Compute.Fluent.IContainerServicesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function BeginDeleteAsync (operations As IContainerServicesOperations, resourceGroupName As String, containerServiceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IContainerServicesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

containerServiceName
String

The name of the container service in the specified subscription and resource group.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Deletes the specified container service in the specified subscription and resource group. The operation does not delete other resources created as part of creating a container service, including storage accounts, VMs, and availability sets. All the other resources created with the container service are part of the same resource group and can be deleted individually.

Applies to