共用方式為


AppServicePlanVirtualNetworkConnectionResource.GetRoutesForVnetAsync Method

Definition

Description for Get all routes that are associated with a Virtual Network in an App Service plan.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes
  • Operation Id: AppServicePlans_ListRoutesForVnet
  • Default Api Version: 2024-04-01
  • Resource: AppServicePlanVirtualNetworkConnectionResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.AppServiceVirtualNetworkRoute> GetRoutesForVnetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetRoutesForVnetAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.AppServiceVirtualNetworkRoute>
override this.GetRoutesForVnetAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.AppServiceVirtualNetworkRoute>
Public Overridable Function GetRoutesForVnetAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AppServiceVirtualNetworkRoute)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of AppServiceVirtualNetworkRoute that may take multiple service requests to iterate over.

Applies to