Share via


DomainsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a domain.

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

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
DomainInner

Domain registration information.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Creates or updates a domain.

Applies to