ContainerServicesOperations.StartDeleteAsync(String, String, CancellationToken) 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.
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.
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.Compute.ContainerServicesDeleteOperation> StartDeleteAsync (string resourceGroupName, string containerServiceName, System.Threading.CancellationToken cancellationToken = default);
abstract member StartDeleteAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.Compute.ContainerServicesDeleteOperation>
override this.StartDeleteAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.Compute.ContainerServicesDeleteOperation>
Public Overridable Function StartDeleteAsync (resourceGroupName As String, containerServiceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ContainerServicesDeleteOperation)
Parameters
- resourceGroupName
- System.String
The name of the resource group.
- containerServiceName
- System.String
The name of the container service in the specified subscription and resource group.
- cancellationToken
- System.Threading.CancellationToken
The cancellation token to use.
Returns
- System.Threading.Tasks.Task<ContainerServicesDeleteOperation>
Exceptions
resourceGroupName
or containerServiceName
is null.