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
System.String

Name of the resource group to which the resource belongs.

domainName
System.String

Name of the domain.

forceHardDeleteDomain
System.Nullable<System.Boolean>

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

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task

Remarks

Description for Delete a domain.

Applies to