共用方式為


DomainOwnershipIdentifierResource.UpdateAsync Method

Definition

Description for Creates an ownership identifier for a domain or updates identifier details for an existing identifier

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers/{name}
  • Operation Id: Domains_UpdateOwnershipIdentifier
  • Default Api Version: 2024-04-01
  • Resource: DomainOwnershipIdentifierResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.DomainOwnershipIdentifierResource>> UpdateAsync (Azure.ResourceManager.AppService.DomainOwnershipIdentifierData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.AppService.DomainOwnershipIdentifierData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.DomainOwnershipIdentifierResource>>
override this.UpdateAsync : Azure.ResourceManager.AppService.DomainOwnershipIdentifierData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.DomainOwnershipIdentifierResource>>
Public Overridable Function UpdateAsync (data As DomainOwnershipIdentifierData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DomainOwnershipIdentifierResource))

Parameters

data
DomainOwnershipIdentifierData

A JSON representation of the domain ownership properties.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to