すべてのプロダクト
Search
ドキュメントセンター

Resource Orchestration Service:ALIYUN::VPC::BgpPeer

最終更新日:Jan 16, 2025

ALIYUN::VPC::BgpPeer は、特定の BGP グループに Border Gateway Protocol(BGP)ピアを追加するために使用されます。

構文

{
  "Type": "ALIYUN::VPC::BgpPeer",
  "Properties": {
    "PeerIpAddress": String,
    "EnableBfd": Boolean,
    "BgpGroupId": String
  }
}

プロパティ

プロパティタイプ必須編集可能説明制約
PeerIpAddressStringいいえはいBGP ピアの IP アドレス。なし
EnableBfdBooleanいいえはいBidirectional Forwarding Detection(BFD)機能を有効にするかどうかを指定します。有効な値:
  • true: BFD が有効です。
  • false: BFD が無効です。
BgpGroupIdStringはいいいえBGP グループの ID。なし

レスポンスパラメータ

Fn::GetAtt

BgpPeerId: BGP ピアの ID。

  • YAML 形式

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      BgpGroupId:
        Type: String
        Description: The ID of the BGP group.
    Resources:
      BgpPeer:
        Type: ALIYUN::VPC::BgpPeer
        Properties:
          PeerIpAddress: 192.168.1.1
          EnableBfd: false
          BgpGroupId:
            Ref: BgpGroupId
    Outputs:
      BgpPeerId:
        Description: The ID of the BGP peer.
        Value:
          Fn::GetAtt:
            - BgpPeer
            - BgpPeerId
  • JSON 形式

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
        "BgpGroupId": {
          "Type": "String",
          "Description": "BGP グループの ID。"
        }
      },
      "Resources": {
        "BgpPeer": {
          "Type": "ALIYUN::VPC::BgpPeer",
          "Properties": {
            "PeerIpAddress": "192.168.1.1",
            "EnableBfd": false,
            "BgpGroupId": {
              "Ref": "BgpGroupId"
            }
          }
        }
      },
      "Outputs": {
        "BgpPeerId": {
          "Description": "BGP ピアの ID。",
          "Value": {
            "Fn::GetAtt": [
              "BgpPeer",
              "BgpPeerId"
            ]
          }
        }
      }
    }