DomainsOperationsExtensions.CreateOrUpdateOwnershipIdentifierAsync(IDomainsOperations, String, String, String, DomainOwnershipIdentifier, CancellationToken) Method

Definition

Creates an ownership identifier for a domain or updates identifier details for an existing identifier

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

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 domain.

name
System.String

Name of identifier.

domainOwnershipIdentifier
DomainOwnershipIdentifier

A JSON representation of the domain ownership properties.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<DomainOwnershipIdentifier>

Remarks

Description for Creates an ownership identifier for a domain or updates identifier details for an existing identifier

Applies to