Partilhar via


AppServicePlanVirtualNetworkConnectionResource.GetAppServicePlanVirtualNetworkConnectionGateway 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 Azure.Response<Azure.ResourceManager.AppService.AppServicePlanVirtualNetworkConnectionGatewayResource> GetAppServicePlanVirtualNetworkConnectionGateway (string gatewayName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAppServicePlanVirtualNetworkConnectionGateway : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.AppServicePlanVirtualNetworkConnectionGatewayResource>
override this.GetAppServicePlanVirtualNetworkConnectionGateway : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.AppServicePlanVirtualNetworkConnectionGatewayResource>
Public Overridable Function GetAppServicePlanVirtualNetworkConnectionGateway (gatewayName As String, Optional cancellationToken As CancellationToken = Nothing) As 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