IDedicatedCircuitPeeringRouteTableInfoOperations.GetAsync Method

Definition

The Get DedicatedCircuitPeeringRouteTableInfo operation retrives RouteTable.

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ExpressRoute.Models.ExpressRouteOperationStatusResponse> GetAsync (string serviceKey, Microsoft.WindowsAzure.Management.ExpressRoute.Models.BgpPeeringAccessType accessType, Microsoft.WindowsAzure.Management.ExpressRoute.Models.DevicePath devicePath, System.Threading.CancellationToken cancellationToken);
abstract member GetAsync : string * Microsoft.WindowsAzure.Management.ExpressRoute.Models.BgpPeeringAccessType * Microsoft.WindowsAzure.Management.ExpressRoute.Models.DevicePath * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.ExpressRoute.Models.ExpressRouteOperationStatusResponse>
Public Function GetAsync (serviceKey As String, accessType As BgpPeeringAccessType, devicePath As DevicePath, cancellationToken As CancellationToken) As Task(Of ExpressRouteOperationStatusResponse)

Parameters

serviceKey
String

The service key representing the circuit.

accessType
BgpPeeringAccessType

Whether the peering is private or public or microsoft.

devicePath
DevicePath

Whether the device is primary or secondary.

cancellationToken
CancellationToken

Cancellation token.

Returns

The response body contains the status of the specified asynchronous operation, indicating whether it has succeeded, is inprogress, or has failed. Note that this status is distinct from the HTTP status code returned for the Get Operation Status operation itself. If the asynchronous operation succeeded, the response body includes the HTTP status code for the successful request. If the asynchronous operation failed, the response body includes the HTTP status code for the failed request, and also includes error information regarding the failure.

Applies to