DatabaseAccountsOperations.StartDeleteAsync(String, String, CancellationToken) Method

Definition

Deletes an existing Azure Cosmos DB database account.

public virtual System.Threading.Tasks.Task<Azure.ResourceManager.CosmosDB.DatabaseAccountsDeleteOperation> StartDeleteAsync (string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default);
abstract member StartDeleteAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.CosmosDB.DatabaseAccountsDeleteOperation>
override this.StartDeleteAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.CosmosDB.DatabaseAccountsDeleteOperation>
Public Overridable Function StartDeleteAsync (resourceGroupName As String, accountName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DatabaseAccountsDeleteOperation)

Parameters

resourceGroupName
System.String

The name of the resource group. The name is case insensitive.

accountName
System.String

Cosmos DB database account name.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

System.Threading.Tasks.Task<DatabaseAccountsDeleteOperation>

Exceptions

System.ArgumentNullException

resourceGroupName or accountName is null.

Applies to