DomainsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a domain.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.Domain> CreateOrUpdateAsync (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 CreateOrUpdateAsync : 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 CreateOrUpdateAsync (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
System.String

Name of the resource group to which the resource belongs.

domainName
System.String

Name of the domain.

domain
Domain

Domain registration information.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<Domain>

Remarks

Description for Creates or updates a domain.

Applies to