Partilhar via


SiteVirtualNetworkConnectionResource.Update 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}
  • Operação IdWebApps_UpdateVnetConnection
public virtual Azure.Response<Azure.ResourceManager.AppService.SiteVirtualNetworkConnectionResource> Update (Azure.ResourceManager.AppService.AppServiceVirtualNetworkData data, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.AppService.AppServiceVirtualNetworkData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.SiteVirtualNetworkConnectionResource>
override this.Update : Azure.ResourceManager.AppService.AppServiceVirtualNetworkData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.SiteVirtualNetworkConnectionResource>
Public Overridable Function Update (data As AppServiceVirtualNetworkData, Optional cancellationToken As CancellationToken = Nothing) As 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