ContainerServicesOperationsExtensions.DeleteAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 DeleteAsync (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 DeleteAsync : Microsoft.Azure.Management.ContainerService.Fluent.IContainerServicesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (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
Azure SDK for .NET