共用方式為


DomainsOperationsExtensions.CreateOrUpdateOwnershipIdentifierAsync 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
String

Name of the resource group to which the resource belongs.

domainName
String

Name of domain.

name
String

Name of identifier.

domainOwnershipIdentifier
DomainOwnershipIdentifier

A JSON representation of the domain ownership properties.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

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

Applies to