Partilhar via


SiteSlotVirtualNetworkConnectionResource.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}/slots/{slot}/virtualNetworkConnections/{vnetName}
  • Operação IdWebApps_UpdateVnetConnectionSlot
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteSlotVirtualNetworkConnectionResource>> 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.SiteSlotVirtualNetworkConnectionResource>>
override this.UpdateAsync : Azure.ResourceManager.AppService.AppServiceVirtualNetworkData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteSlotVirtualNetworkConnectionResource>>
Public Overridable Function UpdateAsync (data As AppServiceVirtualNetworkData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SiteSlotVirtualNetworkConnectionResource))

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