Compartir a través de


AppServicePlanVirtualNetworkConnectionGatewayCollection.GetAsync Método

Definición

Descripción para Obtener una puerta de enlace de Virtual Network.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}
  • IdAppServicePlans_GetVnetGateway de operaciones
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

Nombre de la puerta de enlace. Solo se admite la puerta de enlace "principal".

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

gatewayName es una cadena vacía y se espera que no esté vacía.

gatewayName es null.

Se aplica a