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

Resource Orchestration Service:ALIYUN::VPC::BgpNetwork

最終更新日:Mar 28, 2026

ALIYUN::VPC::BgpNetwork は、ボーダーゲートウェイプロトコル (BGP) ネットワークをアドバタイズするために使用されます。

構文

{
  "Type": "ALIYUN::VPC::BgpNetwork",
  "Properties": {
    "VpcId": String,
    "DstCidrBlock": String,
    "RouterId": String
  }
}

プロパティ

パラメーター

タイプ

必須

更新の可否

説明

制約

DstCidrBlock

String

はい

いいえ

データセンターにアドバタイズする VPC または vSwitch の CIDR ブロック。

なし

RouterId

String

はい

いいえ

ルーターインターフェイスに関連付けられた vRouter の ID。

なし

VpcId

String

いいえ

いいえ

VPC ID。

なし

応答パラメーター

Fn::GetAtt

  • DstCidrBlock:データセンターにアドバタイズする VPC または vSwitch の CIDR ブロック。

  • RouterId:ルーターインターフェイスに関連付けられた vRouter の ID。

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  DstCidrBlock:
    Description: 'The CIDR block of the VPC or vSwitch to be advertised to a data center.'
    Type: String
  RouterId:
    Description: The ID of the vRouter associated with the router interface.
    Type: String
Resources:
  BgpNetwork:
    Properties:
      DstCidrBlock:
        Ref: DstCidrBlock
      RouterId:
        Ref: RouterId
    Type: ALIYUN::VPC::BgpNetwork
Outputs:
  DstCidrBlock:
    Description: 'The CIDR block of the VPC or vSwitch to be advertised to a data center.'
    Value:
      Fn::GetAtt:
      - BgpNetwork
      - DstCidrBlock
  RouterId:
    Description: The ID of the vRouter associated with the router interface.
    Value:
      Fn::GetAtt:
      - BgpNetwork
      - RouterId
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "DstCidrBlock": {
      "Type": "String",
      "Description": "The CIDR block of the VPC or vSwitch to be advertised to a data center."
    },
    "RouterId": {
      "Type": "String",
      "Description": "The ID of the vRouter associated with the router interface."
    }
  },
  "Resources": {
    "BgpNetwork": {
      "Type": "ALIYUN::VPC::BgpNetwork",
      "Properties": {
        "DstCidrBlock": {
          "Ref": "DstCidrBlock"
        },
        "RouterId": {
          "Ref": "RouterId"
        }
      }
    }
  },
  "Outputs": {
    "DstCidrBlock": {
      "Description": "The CIDR block of the VPC or vSwitch to be advertised to a data center.",
      "Value": {
        "Fn::GetAtt": [
          "BgpNetwork",
          "DstCidrBlock"
        ]
      }
    },
    "RouterId": {
      "Description": "The ID of the vRouter associated with the router interface.",
      "Value": {
        "Fn::GetAtt": [
          "BgpNetwork",
          "RouterId"
        ]
      }
    }
  }
}