Compartilhar via


SiteVirtualNetworkConnectionResource.UpdateAsync Método

Definição

Descrição de Adiciona uma conexão Rede Virtual a um aplicativo ou slot (PUT) ou atualiza as propriedades de conexão (PATCH).

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

Parâmetros

data
AppServiceVirtualNetworkData

Propriedades da conexão Rede Virtual. Confira o exemplo.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

data é nulo.

Aplica-se a