Compartilhar via


SiteSlotVirtualNetworkConnectionGatewayResource.UpdateAsync Método

Definição

Descrição de Adicionar um gateway a um REDE VIRTUAL conectado (PUT) ou atualizá-lo (PATCH).

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}
  • Operação IdWebApps_UpdateVnetConnectionGatewaySlot
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteSlotVirtualNetworkConnectionGatewayResource>> 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.SiteSlotVirtualNetworkConnectionGatewayResource>>
override this.UpdateAsync : Azure.ResourceManager.AppService.AppServiceVirtualNetworkGatewayData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteSlotVirtualNetworkConnectionGatewayResource>>
Public Overridable Function UpdateAsync (data As AppServiceVirtualNetworkGatewayData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SiteSlotVirtualNetworkConnectionGatewayResource))

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