共用方式為


SiteDomainOwnershipIdentifierResource.Update 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: 2024-04-01
  • Resource: SiteDomainOwnershipIdentifierResource
public virtual Azure.Response<Azure.ResourceManager.AppService.SiteDomainOwnershipIdentifierResource> Update (Azure.ResourceManager.AppService.AppServiceIdentifierData data, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.AppService.AppServiceIdentifierData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.SiteDomainOwnershipIdentifierResource>
override this.Update : Azure.ResourceManager.AppService.AppServiceIdentifierData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.SiteDomainOwnershipIdentifierResource>
Public Overridable Function Update (data As AppServiceIdentifierData, Optional cancellationToken As CancellationToken = Nothing) As 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