Compartir a través de


AppServicePlanResource.GetAppServicePlanVirtualNetworkConnectionAsync Método

Definición

Descripción para Obtener un Virtual Network asociado a un plan de App Service.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}
  • IdAppServicePlans_GetVnetFromServerFarm de operación
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.AppServicePlanVirtualNetworkConnectionResource>> GetAppServicePlanVirtualNetworkConnectionAsync (string vnetName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAppServicePlanVirtualNetworkConnectionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.AppServicePlanVirtualNetworkConnectionResource>>
override this.GetAppServicePlanVirtualNetworkConnectionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.AppServicePlanVirtualNetworkConnectionResource>>
Public Overridable Function GetAppServicePlanVirtualNetworkConnectionAsync (vnetName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppServicePlanVirtualNetworkConnectionResource))

Parámetros

vnetName
String

Nombre del Virtual Network.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

vnetName es una cadena vacía y se esperaba que no estuviera vacía.

vnetName es null.

Se aplica a