ExpressRouteCircuitPeeringResource.GetRoutesTableAsync Method

Definition

Gets the currently advertised routes table associated with the express route circuit in a resource group.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}.
  • Operation Id. : ExpressRouteCircuitPeerings_ListRoutesTable.
  • Default Api Version. : 2025-07-01.
  • Resource. : ExpressRouteCircuitPeeringResource.
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.ExpressRouteCircuitsRoutesTableListResult>> GetRoutesTableAsync(Azure.WaitUntil waitUntil, string devicePath, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRoutesTableAsync : Azure.WaitUntil * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.ExpressRouteCircuitsRoutesTableListResult>>
override this.GetRoutesTableAsync : Azure.WaitUntil * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.ExpressRouteCircuitsRoutesTableListResult>>
Public Overridable Function GetRoutesTableAsync (waitUntil As WaitUntil, devicePath As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of ExpressRouteCircuitsRoutesTableListResult))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

devicePath
String

The name of the routeTables.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

devicePath is null.

devicePath is an empty string, and was expected to be non-empty.

Applies to