DomainsOperationsExtensions.DeleteAsync(IDomainsOperations, String, String, Nullable<Boolean>, CancellationToken) Method

Definition

Delete a domain.

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.AppService.Fluent.IDomainsOperations operations, string resourceGroupName, string domainName, Nullable<bool> forceHardDeleteDomain = null, System.Threading.CancellationToken cancellationToken = null);
static member DeleteAsync : Microsoft.Azure.Management.AppService.Fluent.IDomainsOperations * string * string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

operations
IDomainsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

domainName
String

Name of the domain.

forceHardDeleteDomain
Nullable<Boolean>

Specify <code>true</code> to delete the domain immediately. The default is <code>false</code> which deletes the domain after 24 hours.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task

Remarks

Delete a domain.

Applies to