Share via


Bgp Service Communities - List

Tüm kullanılabilir BGP hizmet topluluklarını alır.

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/bgpServiceCommunities?api-version=2023-09-01

URI Parametreleri

Name İçinde Gerekli Tür Description
subscriptionId
path True

string

Microsoft Azure aboneliğini benzersiz olarak tanımlayan abonelik kimlik bilgileri. Abonelik kimliği, her hizmet çağrısı için URI'nin bir parçasını oluşturur.

api-version
query True

string

İstemci API sürümü.

Yanıtlar

Name Tür Description
200 OK

BgpServiceCommunityListResult

İstek başarılı oldu. İşlem, BgpServiceCommunity kaynaklarının listesini döndürür.

Other Status Codes

CloudError

İşlemin neden başarısız olduğunu açıklayan hata yanıtı.

Güvenlik

azure_auth

Azure Active Directory OAuth2 Flow.

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation kullanıcı hesabınızın kimliğine bürünme

Örnekler

ServiceCommunityList

Sample Request

GET https://management.azure.com/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities?api-version=2023-09-01

Sample Response

{
  "value": [
    {
      "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/skype",
      "name": "skype",
      "type": "Microsoft.Network/bgpServiceCommunities",
      "properties": {
        "serviceName": "skype",
        "bgpCommunities": [
          {
            "serviceSupportedRegion": "Global",
            "communityName": "Skype For Business Online",
            "communityValue": "12076:5030",
            "communityPrefixes": [
              "13.67.56.225/32",
              "13.67.186.105/32"
            ],
            "isAuthorizedToUse": true,
            "serviceGroup": "O365"
          }
        ]
      }
    },
    {
      "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/exchange",
      "name": "exchange",
      "type": "Microsoft.Network/bgpServiceCommunities",
      "properties": {
        "serviceName": "exchange",
        "bgpCommunities": [
          {
            "serviceSupportedRegion": "Global",
            "communityName": "Exchange Online",
            "communityValue": "12076:5040",
            "communityPrefixes": [
              "13.67.56.225/32",
              "13.67.186.105/32"
            ],
            "isAuthorizedToUse": true,
            "serviceGroup": "O365"
          }
        ]
      }
    }
  ]
}

Tanımlar

Name Description
BGPCommunity

Hizmet Topluluğu kaynaklarında sunulan bgp topluluk bilgilerini içerir.

BgpServiceCommunity

Hizmet Topluluğu Özellikleri.

BgpServiceCommunityListResult

ListServiceCommunity API hizmet çağrısı için yanıt.

CloudError

Hizmetten bir hata yanıtı.

CloudErrorBody

Hizmetten bir hata yanıtı.

BGPCommunity

Hizmet Topluluğu kaynaklarında sunulan bgp topluluk bilgilerini içerir.

Name Tür Description
communityName

string

bgp topluluğunun adı. Örneğin, Skype.

communityPrefixes

string[]

bgp topluluğunun içerdiği ön ekler.

communityValue

string

bgp topluluğunun değeri. Daha fazla bilgi için: https://docs.microsoft.com/en-us/azure/expressroute/expressroute-routing.

isAuthorizedToUse

boolean

Müşteri bgp topluluğu kullanma yetkisine sahip veya değil.

serviceGroup

string

bgp topluluğunun hizmet grubu içerir.

serviceSupportedRegion

string

Hizmetin desteklediği bölge. Örneğin, O365 için bölge Genel'dir.

BgpServiceCommunity

Hizmet Topluluğu Özellikleri.

Name Tür Description
id

string

Kaynak Kimliği.

location

string

Kaynak konumu.

name

string

Kaynak adı.

properties.bgpCommunities

BGPCommunity[]

BGP topluluklarının listesi.

properties.serviceName

string

bgp topluluğunun adı. Örneğin, Skype.

tags

object

Kaynak etiketleri.

type

string

Kaynak türü.

BgpServiceCommunityListResult

ListServiceCommunity API hizmet çağrısı için yanıt.

Name Tür Description
nextLink

string

Sonraki sonuç kümesini almak için URL.

value

BgpServiceCommunity[]

Hizmet topluluğu kaynaklarının listesi.

CloudError

Hizmetten bir hata yanıtı.

Name Tür Description
error

CloudErrorBody

Bulut hata gövdesi.

CloudErrorBody

Hizmetten bir hata yanıtı.

Name Tür Description
code

string

Hatanın tanımlayıcısı. Kodlar sabittir ve program aracılığıyla kullanılması amaçlanmıştır.

details

CloudErrorBody[]

Hatayla ilgili ek ayrıntıların listesi.

message

string

Hatayı açıklayan ve kullanıcı arabiriminde görüntülenmeye uygun olması amaçlanan bir ileti.

target

string

Belirli bir hatanın hedefi. Örneğin, özelliğin adı hatalı.