Share via


DomainsOperationsExtensions.UpdateAsync Method

Definition

Creates or updates a domain.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.Domain> UpdateAsync (this Microsoft.Azure.Management.WebSites.IDomainsOperations operations, string resourceGroupName, string domainName, Microsoft.Azure.Management.WebSites.Models.DomainPatchResource domain, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.WebSites.IDomainsOperations * string * string * Microsoft.Azure.Management.WebSites.Models.DomainPatchResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.Domain>
<Extension()>
Public Function UpdateAsync (operations As IDomainsOperations, resourceGroupName As String, domainName As String, domain As DomainPatchResource, 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
DomainPatchResource

Domain registration information.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Creates or updates a domain.

Applies to