Share via


DomainsOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Creates or updates a domain.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.Domain> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.WebSites.IDomainsOperations operations, string resourceGroupName, string domainName, Microsoft.Azure.Management.WebSites.Models.Domain domain, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.WebSites.IDomainsOperations * string * string * Microsoft.Azure.Management.WebSites.Models.Domain * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.Domain>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As IDomainsOperations, resourceGroupName As String, domainName As String, domain As Domain, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Domain)

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.

domain
Domain

Domain registration information.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Creates or updates a domain.

Applies to