Udostępnij za pośrednictwem


ContainerServicesOperationsExtensions.BeginDeleteAsync Method

Definition

Caution

This operation is deprecated. Please do not use it any longer.

Deletes the specified container service.

[System.Obsolete("This operation is deprecated. Please do not use it any longer.")]
public static System.Threading.Tasks.Task BeginDeleteAsync (this Microsoft.Azure.Management.ContainerService.Fluent.IContainerServicesOperations operations, string resourceGroupName, string containerServiceName, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("This operation is deprecated. Please do not use it any longer.")>]
static member BeginDeleteAsync : Microsoft.Azure.Management.ContainerService.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

Attributes

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