Partilhar via


SiteVirtualNetworkConnectionGatewayResource.UpdateAsync Método

Definição

Descrição de Adiciona um gateway a um PUT (Rede Virtual conectado) ou o atualiza (PATCH).

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

Parâmetros

data
AppServiceVirtualNetworkGatewayData

As propriedades com as qual atualizar esse gateway.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

data é nulo.

Aplica-se a