Get-AzExpressRouteCircuitStat
Gets usage statistics of an ExpressRoute circuit.
Syntax
Default (Default)
Get-AzExpressRouteCircuitStat
-ResourceGroupName <String>
-ExpressRouteCircuitName <String>
[-PeeringType <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzExpressRouteCircuitStat cmdlet retrieves traffic statistics for an ExpressRoute
circuit. The statistics include the number of bytes sent and received over both the primary and
secondary routes.
Examples
Example 1: Display the traffic statistics for an ExpressRoute peer
Get-AzExpressRouteCircuitStat -ResourceGroupName $RG -ExpressRouteCircuitName $CircuitName -PeeringType 'AzurePrivatePeering'
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with azure.
Parameter properties
Type: IAzureContextContainer
Default value: None
Supports wildcards: False
DontShow: False
Aliases: AzContext, AzureRmContext, AzureCredential
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ExpressRouteCircuitName
The name of the ExpressRoute circuit being examined.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Aliases: Name, ResourceName
Parameter sets
(All)
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: True
Value from remaining arguments: False
-PeeringType
The acceptable values for this parameter are: AzurePrivatePeering, AzurePublicPeering, and
MicrosoftPeering
Parameter properties
Type: String
Default value: None
Accepted values: AzurePrivatePeering, AzurePublicPeering, MicrosoftPeering
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ResourceGroupName
The name of the resource group containing the ExpressRoute circuit.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: True
Value from remaining arguments: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters .
Outputs