共用方式為


Get-AzPeeringCdnPrefix

列出指定對等互連位置的所有公告前置詞

語法

Get-AzPeeringCdnPrefix
   [-SubscriptionId <String[]>]
   -PeeringLocation <String>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

列出指定對等互連位置的所有公告前置詞

範例

範例 1:取得 Cdn 前置詞

Get-AzPeeringCdnPrefix -PeeringLocation Seattle

Prefix          AzureRegion AzureService IsPrimaryRegion BgpCommunity
------          ----------- ------------ --------------- ------------
20.157.110.0/24 West US 2   AzureCompute True            8069:51026
20.157.118.0/24 West US 2   AzureCompute True            8069:51026
20.157.125.0/24 West US 2   AzureCompute True            8069:51026
20.157.180.0/24 West US 2   AzureStorage True            8069:52026
20.157.25.0/24  West US 2   AzureCompute True            8069:51026
20.157.50.0/23  West US 2   AzureStorage True            8069:52026
20.47.120.0/23  West US 2   AzureCompute True            8069:51026
20.47.62.0/23   West US 2   AzureStorage True            8069:52026

取得訂用帳戶的所有 cdn 前置詞

參數

-DefaultProfile

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

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

-PeeringLocation

對等互連位置。

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

-SubscriptionId

Azure 訂閱識別碼。

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

輸出

ICdnPeeringPrefix