WebAppsOperationsExtensions.CreateOrUpdateDomainOwnershipIdentifierAsync(IWebAppsOperations, String, String, String, IdentifierInner, CancellationToken) 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.AppService.Fluent.Models.IdentifierInner> CreateOrUpdateDomainOwnershipIdentifierAsync (this Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations operations, string resourceGroupName, string name, string domainOwnershipIdentifierName, Microsoft.Azure.Management.AppService.Fluent.Models.IdentifierInner domainOwnershipIdentifier, System.Threading.CancellationToken cancellationToken = null);
static member CreateOrUpdateDomainOwnershipIdentifierAsync : Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations * string * string * string * Microsoft.Azure.Management.AppService.Fluent.Models.IdentifierInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.IdentifierInner>

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
IdentifierInner

A JSON representation of the domain ownership properties.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<IdentifierInner>

Remarks

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

ownership identifier.

Applies to