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

Definition

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

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 = null);
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>

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

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

Applies to