Get-AzPeeringLocation
列出指定之對等互連類型的所有可用對等互連位置。
語法
Get-AzPeeringLocation
[-SubscriptionId <String[]>]
-Kind <PeeringLocationsKind>
[-DirectPeeringType <PeeringLocationsDirectPeeringType>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
列出指定之對等互連類型的所有可用對等互連位置。
範例
範例 1:取得所有直接對等互連位置
Get-AzPeeringLocation -Kind Direct
Get-AzPeeringLocation -Kind Direct
Name Country AzureRegion Kind
---- ------- ----------- ----
Amsterdam NL West Europe Direct
Ashburn US East US Direct
Athens GR France Central Direct
Atlanta US East US 2 Direct
Auckland NZ Australia East Direct
Barcelona ES France Central Direct
Berlin DE West Europe Direct
...
取得直接對等的所有對等互連位置
參數
-DefaultProfile
DefaultProfile 參數無法運作。 如果針對不同的訂用帳戶執行 Cmdlet,請使用 SubscriptionId 參數。
類型: | PSObject |
別名: | AzureRMContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-DirectPeeringType
直接對等互連的類型。
類型: | PeeringLocationsDirectPeeringType |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-Kind
對等互連的種類。
類型: | PeeringLocationsKind |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-SubscriptionId
Azure 訂用帳戶標識碼。
類型: | String[] |
Position: | Named |
預設值: | (Get-AzContext).Subscription.Id |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |