共用方式為


WebAppsOperationsExtensions.CreateOrUpdateDomainOwnershipIdentifierAsync Method

Definition

Creates a domain ownership identifier for web app, or updates an existing ownership identifier.

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

Parameters

operations
IWebAppsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

name
String

Name of the app.

domainOwnershipIdentifierName
String

Name of domain ownership identifier.

domainOwnershipIdentifier
Identifier

A JSON representation of the domain ownership properties.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Creates a domain ownership identifier for web app, or updates an existing ownership identifier.

Applies to