共用方式為


Get-AzPeeringRpUnbilledPrefix

列出指定對等互連的所有 RP 未計費前置詞

語法

Get-AzPeeringRpUnbilledPrefix
   -PeeringName <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-Consolidate]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

列出指定對等互連的所有 RP 未計費前置詞

範例

範例 1:列出對等互連的所有未計費前置詞

Get-AzPeeringRpUnbilledPrefix -PeeringName DemoPeering -ResourceGroupName DemoRG

Prefix      AzureRegion PeerASN
------      ----------- -------
2.16.0.0/13 West US 2   65010
23.0.0.0/12 West US 2   65010
...

列出對等互連的所有未計費前置詞

參數

-Consolidate

啟用合併前置詞的旗標

類型:SwitchParameter
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-DefaultProfile

DefaultProfile 參數無法運作。 如果針對不同的訂用帳戶執行 Cmdlet,請使用 SubscriptionId 參數。

類型:PSObject
別名:AzureRMContext, AzureCredential
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-PeeringName

對等互連名稱。

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-ResourceGroupName

Azure 資源群組名稱。

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-SubscriptionId

Azure 訂閱識別碼。

類型:String[]
Position:Named
預設值:(Get-AzContext).Subscription.Id
必要:False
接受管線輸入:False
接受萬用字元:False

輸出

IRpUnbilledPrefix