IDedicatedCircuitPeeringStatsOperations.GetAsync Method

Definition

The Get Dedicated Circuit Stats operation retrieves the bytesin/bytesout of the dedicated circuit on primary/secondary devices for specified peering type.

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

Parameters

serviceKey
String

The service key representing the circuit.

accessType
BgpPeeringAccessType

Whether the peering is private or public or microsoft.

cancellationToken
CancellationToken

Cancellation token.

Returns

The Get DedicatedCircuitPeeringStats operation response.

Applies to