你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Get-AzPeeringServiceLocation
列出对等互连服务的所有可用位置。
语法
Get-AzPeeringServiceLocation
[-SubscriptionId <String[]>]
[-Country <String>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
说明
列出对等互连服务的所有可用位置。
示例
示例 1:列出所有对等互连服务位置
Get-AzPeeringServiceLocation
Name State Country AzureRegion
---- ----- ------- -----------
Obwalden Obwalden Switzerland France Central
Sankt Gallen Sankt Gallen Switzerland France Central
Schaffhausen Schaffhausen Switzerland France Central
Schwyz Schwyz Switzerland France Central
Solothurn Solothurn Switzerland France Central
Thurgau Thurgau Switzerland France Central
Ticino Ticino Switzerland France Central
Uri Uri Switzerland France Central
Valais Valais Switzerland France Central
Vaud Vaud Switzerland France Central
Zug Zug Switzerland France Central
Zurich Zurich Switzerland France Central
Aberdeen City Aberdeen City United Kingdom UK West
Angus Angus United Kingdom UK West
Antrim and Newtownabbey Antrim and Newtownabbey United Kingdom North Europe
Ards and North Down Ards and North Down United Kingdom North Europe
Argyll and Bute Argyll and Bute United Kingdom North Europe
Armagh, Banbridge and Craigavon Armagh, Banbridge and Craigavon United Kingdom North Europe
Barking and Dagenham Barking and Dagenham United Kingdom UK South
...
检索所有对等互连服务位置
示例 2:列出所有对等互连服务
Get-AzPeeringServiceLocation -Country Japan
Name State Country AzureRegion
---- ----- ------- -----------
Aichi Aichi Japan Japan West
Akita Akita Japan Japan East
Aomori Aomori Japan Japan East
Chiba Chiba Japan Japan East
Ehime Ehime Japan Japan West
Fukui Fukui Japan Japan West
Fukuoka Fukuoka Japan Japan West
Fukushima Fukushima Japan Japan East
Gifu Gifu Japan Japan West
Gunma Gunma Japan Japan East
Hiroshima Hiroshima Japan Japan West
Hyogo Hyogo Japan Japan West
Ibaraki Ibaraki Japan Japan East
Ishikawa Ishikawa Japan Japan West
...
检索特定国家/地区的所有对等互连服务位置
参数
-Country
感兴趣的国家/地区,这些地点将存在于其中。
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-DefaultProfile
DefaultProfile 参数不起作用。 如果对其他订阅执行 cmdlet,请使用 SubscriptionId 参数。
类型: | PSObject |
别名: | AzureRMContext, AzureCredential |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-SubscriptionId
Azure 订阅 ID。
类型: | String[] |
Position: | Named |
默认值: | (Get-AzContext).Subscription.Id |
必需: | False |
接受管道输入: | False |
接受通配符: | False |