Get-AzExpressRouteCircuitStat
取得 ExpressRoute 線路的使用量統計資料。
語法
Default (預設值)
Get-AzExpressRouteCircuitStat
-ResourceGroupName <String>
-ExpressRouteCircuitName <String>
[-PeeringType <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get-AzExpressRouteCircuitStat Cmdlet 會擷取 ExpressRoute 線路的流量統計資料。 統計資料包括透過主要和次要路由傳送和接收的位元組數。
範例
範例 1:顯示 ExpressRoute 對等的流量統計資料
Get-AzExpressRouteCircuitStat -ResourceGroupName $RG -ExpressRouteCircuitName $CircuitName -PeeringType 'AzurePrivatePeering'
參數
-DefaultProfile
用於與 azure 通訊的認證、帳戶、租用戶和訂用帳戶。
參數屬性
參數集
(All)
| Position: | Named |
| 必要: | False |
| 來自管線的值: | False |
| 來自管線按屬性名稱的值: | False |
| 來自剩餘引數的值: | False |
-ExpressRouteCircuitName
正在檢查的 ExpressRoute 線路名稱。
參數屬性
| 類型: | String
|
| 預設值: | None |
| 支援萬用字元: | False |
| 不要顯示: | False |
| 別名: | 名稱, 資源名稱 |
參數集
(All)
| Position: | Named |
| 必要: | True |
| 來自管線的值: | False |
| 來自管線按屬性名稱的值: | True |
| 來自剩餘引數的值: | False |
-PeeringType
此參數的可接受值為: AzurePrivatePeering、 AzurePublicPeering和 MicrosoftPeering
參數屬性
| 類型: | String
|
| 預設值: | None |
| 接受的值: | AzurePrivatePeering, AzurePublicPeering, MicrosoftPeering |
| 支援萬用字元: | False |
| 不要顯示: | False |
參數集
(All)
| Position: | Named |
| 必要: | False |
| 來自管線的值: | False |
| 來自管線按屬性名稱的值: | False |
| 來自剩餘引數的值: | False |
-ResourceGroupName
包含 ExpressRoute 線路的資源群組名稱。
參數屬性
| 類型: | String
|
| 預設值: | None |
| 支援萬用字元: | False |
| 不要顯示: | False |
參數集
(All)
| Position: | Named |
| 必要: | True |
| 來自管線的值: | False |
| 來自管線按屬性名稱的值: | True |
| 來自剩餘引數的值: | False |
CommonParameters
此 Cmdlet 支援常見參數:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 如需詳細資訊,請參閱 about_CommonParameters。
輸出