Share via


DomainsOperationsExtensions.DeleteAsync Method

Definition

Delete a domain.

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.WebSites.IDomainsOperations operations, string resourceGroupName, string domainName, bool? forceHardDeleteDomain = default, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.WebSites.IDomainsOperations * string * string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As IDomainsOperations, resourceGroupName As String, domainName As String, Optional forceHardDeleteDomain As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As 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

Remarks

Description for Delete a domain.

Applies to