次の方法で共有


Bgp Service Communities - List

使用可能なすべての bgp サービス コミュニティを取得します。

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

URI パラメーター

名前 / 必須 説明
subscriptionId
path True

string

Microsoft Azure サブスクリプションを一意に識別するサブスクリプション資格情報。 サブスクリプション ID は、すべてのサービス呼び出しの URI の一部を形成します。

api-version
query True

string

クライアント API のバージョン。

応答

名前 説明
200 OK

BgpServiceCommunityListResult

要求が成功しました。 この操作は、BgpServiceCommunity リソースの一覧を返します。

Other Status Codes

CloudError

操作が失敗した理由を説明するエラー応答。

セキュリティ

azure_auth

Azure Active Directory OAuth2 フロー。

型: oauth2
フロー: implicit
Authorization URL (承認 URL): https://login.microsoftonline.com/common/oauth2/authorize

スコープ

名前 説明
user_impersonation ユーザー アカウントを偽装する

ServiceCommunityList

要求のサンプル

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

応答のサンプル

{
  "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"
          }
        ]
      }
    }
  ]
}

定義

名前 説明
BGPCommunity

Service Community リソースで提供される bgp コミュニティ情報が含まれています。

BgpServiceCommunity

サービス コミュニティのプロパティ。

BgpServiceCommunityListResult

ListServiceCommunity API サービス呼び出しの応答。

CloudError

サービスからのエラー応答。

CloudErrorBody

サービスからのエラー応答。

BGPCommunity

Service Community リソースで提供される bgp コミュニティ情報が含まれています。

名前 説明
communityName

string

bgp コミュニティの名前。 Skype など。

communityPrefixes

string[]

bgp コミュニティに含まれるプレフィックス。

communityValue

string

bgp コミュニティの値。 詳細については、https://docs.microsoft.com/en-us/azure/expressroute/expressroute-routingを参照してください。

isAuthorizedToUse

boolean

お客様は bgp コミュニティを使用する権限を持っています。

serviceGroup

string

bgp コミュニティのサービス グループに含まれています。

serviceSupportedRegion

string

サービスがサポートするリージョン。 たとえば、O365 の場合、リージョンはグローバルです。

BgpServiceCommunity

サービス コミュニティのプロパティ。

名前 説明
id

string

リソース ID。

location

string

リソースの場所。

name

string

リソース名。

properties.bgpCommunities

BGPCommunity[]

bgp コミュニティの一覧。

properties.serviceName

string

bgp コミュニティの名前。 Skype など。

tags

object

リソース タグ。

type

string

リソースの種類。

BgpServiceCommunityListResult

ListServiceCommunity API サービス呼び出しの応答。

名前 説明
nextLink

string

次の結果セットを取得する URL。

value

BgpServiceCommunity[]

サービス コミュニティ リソースの一覧。

CloudError

サービスからのエラー応答。

名前 説明
error

CloudErrorBody

クラウド エラー本文。

CloudErrorBody

サービスからのエラー応答。

名前 説明
code

string

エラーの識別子。 コードは不変であり、プログラムで使用することを目的としています。

details

CloudErrorBody[]

エラーに関する追加の詳細の一覧。

message

string

ユーザー インターフェイスでの表示に適したエラーを説明するメッセージ。

target

string

特定のエラーのターゲット。 たとえば、エラーが発生したプロパティの名前です。