Share via


ExpressRouteCircuitPeeringResource.GetRoutesTableExpressRouteCircuitAsync 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: ExpressRouteCircuits_ListRoutesTable
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteCircuitResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.ExpressRouteCircuitsRoutesTableListResult>> GetRoutesTableExpressRouteCircuitAsync (Azure.WaitUntil waitUntil, string devicePath, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRoutesTableExpressRouteCircuitAsync : Azure.WaitUntil * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.ExpressRouteCircuitsRoutesTableListResult>>
override this.GetRoutesTableExpressRouteCircuitAsync : Azure.WaitUntil * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.ExpressRouteCircuitsRoutesTableListResult>>
Public Overridable Function GetRoutesTableExpressRouteCircuitAsync (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 path of the device.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

devicePath is null.

Applies to