Get-AzBgpServiceCommunity
提供所有服務/區域、BGP 社群和相關聯前置詞的清單。
語法
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 |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
輸入
None