SiteVirtualNetworkConnectionResource.GetSiteVirtualNetworkConnectionGatewayAsync Método

Definição

Descrição de Obtém o gateway de Rede Virtual de um aplicativo.

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

Parâmetros

gatewayName
String

Nome do gateway. Atualmente, a única cadeia de caracteres com suporte é "primária".

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

gatewayName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

gatewayName é nulo.

Aplica-se a