Share via


SiteDomainOwnershipIdentifierResource.UpdateAsync Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}
  • Operation Id: WebApps_UpdateDomainOwnershipIdentifier
  • Default Api Version: 2023-12-01
  • Resource: SiteDomainOwnershipIdentifierResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteDomainOwnershipIdentifierResource>> UpdateAsync (Azure.ResourceManager.AppService.AppServiceIdentifierData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.AppService.AppServiceIdentifierData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteDomainOwnershipIdentifierResource>>
override this.UpdateAsync : Azure.ResourceManager.AppService.AppServiceIdentifierData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteDomainOwnershipIdentifierResource>>
Public Overridable Function UpdateAsync (data As AppServiceIdentifierData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SiteDomainOwnershipIdentifierResource))

Parameters

data
AppServiceIdentifierData

A JSON representation of the domain ownership properties.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to