Compartilhar via


WebSiteHybridConnectionResource.UpdateAsync Método

Definição

Descrição de Cria uma nova configuração de conexão híbrida (PUT) ou atualiza uma existente (PATCH).

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}
  • Operação IdWebApps_UpdateRelayServiceConnection
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.WebSiteHybridConnectionResource>> UpdateAsync (Azure.ResourceManager.AppService.RelayServiceConnectionEntityData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.AppService.RelayServiceConnectionEntityData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.WebSiteHybridConnectionResource>>
override this.UpdateAsync : Azure.ResourceManager.AppService.RelayServiceConnectionEntityData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.WebSiteHybridConnectionResource>>
Public Overridable Function UpdateAsync (data As RelayServiceConnectionEntityData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of WebSiteHybridConnectionResource))

Parâmetros

data
RelayServiceConnectionEntityData

Detalhes da configuração de conexão híbrida.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

data é nulo.

Aplica-se a