Get-AzBgpServiceCommunity
提供所有服務/區域、BGP 社群和相關字首的清單。
語法
Default (預設值)
Get-AzBgpServiceCommunity
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
此 Cmdlet 提供所有服務/區域、BGP 社群和相關聯前置詞的清單。
範例
範例 1
Get-AzBgpServiceCommunity
...
Name : AzureCentralIndia
Id : /subscriptions//resourceGroups//providers/Microsoft.Network/bgpServiceCommunities/AzureCentralIndia
Type : Microsoft.Network/bgpServiceCommunities
BgpCommunities : [
{
"ServiceSupportedRegion": "Global",
"CommunityName": "Azure Central India",
"CommunityValue": "12076:51017",
"CommunityPrefixes": [
"13.71.0.0/18",
"20.190.146.0/25",
"40.79.214.0/24",
"40.81.224.0/19",
"40.87.224.0/22",
"40.112.39.0/25",
"40.112.39.128/26",
"40.126.18.0/25",
"52.136.24.0/24",
"52.140.64.0/18",
"52.159.64.0/19",
"52.172.128.0/17",
"52.239.135.64/26",
"52.239.202.0/24",
"52.245.96.0/22",
"52.253.168.0/22",
"104.47.210.0/23",
"104.211.64.0/20",
"104.211.81.0/24",
"104.211.82.0/23",
"104.211.84.0/22",
"104.211.88.0/21",
"104.211.96.0/19"
],
"IsAuthorizedToUse": true,
"ServiceGroup": "Azure"
}
]
...
此 Cmdlet 提供所有服務/區域、BGP 社群和相關聯前置詞的清單。
參數
-DefaultProfile
用於與 azure 通訊的認證、帳戶、租用戶和訂用帳戶。
參數屬性
| 類型: | IAzureContextContainer |
| 預設值: | None |
| 支援萬用字元: | False |
| 不要顯示: | False |
| 別名: | AzContext, AzureRmContext, AzureCredential |
參數集
(All)
| Position: | Named |
| 必要: | False |
| 來自管線的值: | False |
| 來自管線按屬性名稱的值: | False |
| 來自剩餘引數的值: | False |
CommonParameters
此 Cmdlet 支援常見參數:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 如需詳細資訊,請參閱 about_CommonParameters。