Partilhar via


AppServicePlanVirtualNetworkConnectionGatewayCollection.GetAsync Método

Definição

Descrição para Obter um gateway de Rede Virtual.

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

Parâmetros

gatewayName
String

Nome do gateway. Há suporte apenas para o gateway 'primário'.

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