Share via


ExpressRouteCrossConnectionPeeringResource.GetRoutesTableExpressRouteCrossConnectionAsync Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTables/{devicePath}
  • Operation Id: ExpressRouteCrossConnections_ListRoutesTable
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteCrossConnectionResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.ExpressRouteCircuitsRoutesTableListResult>> GetRoutesTableExpressRouteCrossConnectionAsync (Azure.WaitUntil waitUntil, string devicePath, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRoutesTableExpressRouteCrossConnectionAsync : Azure.WaitUntil * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.ExpressRouteCircuitsRoutesTableListResult>>
override this.GetRoutesTableExpressRouteCrossConnectionAsync : Azure.WaitUntil * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.ExpressRouteCircuitsRoutesTableListResult>>
Public Overridable Function GetRoutesTableExpressRouteCrossConnectionAsync (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