Udostępnij za pośrednictwem


AppServiceDomainResource.UpdateAsync Method

Definition

Description for Creates or updates a domain.

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

Parameters

patch
AppServiceDomainPatch

Domain registration information.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to