Udostępnij za pośrednictwem


WebAppsOperationsExtensions.CreateOrUpdateDomainOwnershipIdentifierSlotAsync 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> CreateOrUpdateDomainOwnershipIdentifierSlotAsync (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, string domainOwnershipIdentifierName, Microsoft.Azure.Management.WebSites.Models.Identifier domainOwnershipIdentifier, string slot, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateDomainOwnershipIdentifierSlotAsync : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * string * Microsoft.Azure.Management.WebSites.Models.Identifier * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.Identifier>
<Extension()>
Public Function CreateOrUpdateDomainOwnershipIdentifierSlotAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, domainOwnershipIdentifierName As String, domainOwnershipIdentifier As Identifier, slot As String, 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.

slot
String

Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.

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