AppServicePlanVirtualNetworkConnectionResource.GetRoutesForVnet Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.