ExpressRouteCircuitsOperationsExtensions.GetPeeringStatsAsync Method

Definition

Gets all stats from an express route circuit in a resource group.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.ExpressRouteCircuitStats> GetPeeringStatsAsync (this Microsoft.Azure.Management.Network.IExpressRouteCircuitsOperations operations, string resourceGroupName, string circuitName, string peeringName, System.Threading.CancellationToken cancellationToken = default);
static member GetPeeringStatsAsync : Microsoft.Azure.Management.Network.IExpressRouteCircuitsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.ExpressRouteCircuitStats>
<Extension()>
Public Function GetPeeringStatsAsync (operations As IExpressRouteCircuitsOperations, resourceGroupName As String, circuitName As String, peeringName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ExpressRouteCircuitStats)

Parameters

operations
IExpressRouteCircuitsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

circuitName
String

The name of the express route circuit.

peeringName
String

The name of the peering.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to