共用方式為


AppServicePlanVirtualNetworkConnectionResource.GetRoutesForVnet 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: 2023-12-01
  • Resource: AppServicePlanVirtualNetworkConnectionResource
public virtual Azure.Pageable<Azure.ResourceManager.AppService.Models.AppServiceVirtualNetworkRoute> GetRoutesForVnet (System.Threading.CancellationToken cancellationToken = default);
abstract member GetRoutesForVnet : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.Models.AppServiceVirtualNetworkRoute>
override this.GetRoutesForVnet : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.Models.AppServiceVirtualNetworkRoute>
Public Overridable Function GetRoutesForVnet (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AppServiceVirtualNetworkRoute)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to