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

Cloud Enterprise Network:DescribeCenChildInstanceRouteEntries

最終更新日:Jun 10, 2026

Cloud Enterprise Network (CEN) インスタンスに接続されているネットワークインスタンスのルートを照会します。

今すぐお試しください

この API を OpenAPI Explorer でお試しください。手作業による署名は必要ありません。呼び出しに成功すると、入力したパラメーターに基づき、資格情報が組み込まれた SDK コードが自動的に生成されます。このコードをダウンロードしてローカルで使用できます。

テスト

RAM 認証

下表に、この API を呼び出すために必要な認証情報を示します。認証情報は、RAM (Resource Access Management) ポリシーを使用して定義できます。以下で各列名について説明します。

  • アクション:特定のリソースに対して実行可能な操作。ポリシー構文ではAction要素として指定します。

  • API:アクションを具体的に実行するための API。

  • アクセスレベル:各 API に対して事前定義されているアクセスの種類。有効な値:create、list、get、update、delete。

  • リソースタイプ:アクションが作用するリソースの種類。リソースレベルでの権限をサポートするかどうかを示すことができます。ポリシーの有効性を確保するため、アクションの対象として適切なリソースを指定してください。

    • リソースレベルの権限を持つ API の場合、必要なリソースタイプはアスタリスク (*) でマークされます。ポリシーのResource要素で対応する ARN を指定してください。

    • リソースレベルの権限を持たない API の場合、「すべてのリソース」と表示され、ポリシーのResource要素でアスタリスク (*) でマークされます。

  • 条件キー:サービスによって定義された条件のキー。このキーにより、きめ細やかなアクセス制御が可能になります。この制御は、アクション単体に適用することも、特定のリソースに対するアクションに適用することもできます。Alibaba Cloud は、サービス固有の条件キーに加えて、すべての RAM 統合サービスに適用可能な一連の共通条件キーを提供しています。

  • 依存アクション:ある特定のアクションを実行するために、前提として実行が必要となる他のアクション。依存アクションの権限も RAM ユーザーまたは RAM ロールに付与する必要があります。

アクション

アクセスレベル

リソースタイプ

条件キー

依存アクション

cen:DescribeCenChildInstanceRouteEntries

get

*CenInstance

acs:cen:*:{#accountId}:ceninstance/{#ceninstanceId}

なし なし

リクエストパラメーター

パラメーター

必須 / 任意

説明

CenId

string

必須

CEN インスタンスの ID。

cen-7qthudw0ll6jmc****

ChildInstanceId

string

必須

ネットワークインスタンスの ID。

vpc-bp18sth14qii3pnvo****

ChildInstanceType

string

必須

ネットワークインスタンスのタイプ。有効な値:

  • VPC: 仮想非公開クラウド (VPC)

  • VBR: 仮想ボーダールーター (VBR)

  • CCN: Cloud Connect Network (CCN) インスタンス

  • ECR: Express Connect Router (ECR)。

VPC

Status

string

任意

ルートのステータス。有効な値:

  • Active: 利用可能

  • Candidate: スタンバイ

  • Rejected: 拒否

  • Prohibited: 禁止

  • All (デフォルト): すべてのルート。

Active

PageNumber

integer

任意

返されるページの番号。デフォルト値: 1

1

PageSize

integer

任意

ページあたりのエントリ数。有効な値: 1 から 500。デフォルト値: 10

10

ChildInstanceRegionId

string

任意

ネットワークインスタンスがデプロイされているリージョンの ID。

DescribeChildInstanceRegions 操作を呼び出して、最新のリージョンリストをクエリできます。

cn-hangzhou

ChildInstanceRouteTableId

string

任意

ネットワークインスタンスのルートテーブルの ID。ルートテーブル ID を指定しない場合、システムはデフォルトで VPC のシステムルートテーブル内のルートを照会します。

vtb-p0wxx3apzgn6uqp3r****

レスポンスフィールド

フィールド

説明

object

PageSize

integer

The number of entries returned per page.

10

RequestId

string

The ID of the request.

17A57456-EF48-419D-9AE6-9B03D9996018

PageNumber

integer

The page number of the returned page.

1

TotalCount

integer

The total number of entries returned.

4

CenRouteEntries

object

CenRouteEntry

array<object>

The information about the route.

array<object>

Status

string

The route status. Valid values:

  • Active: available routes

  • Candidate: standby routes

  • Rejected: rejected routes

  • Prohibited: prohibited routes

Active

Type

string

The route type. Valid values:

  • CEN: route that is advertised through CEN

  • System: system route

  • Custom: custom route

CEN

PublishStatus

string

Indicates whether the route is advertised to the CEN instance. Valid values:

  • Published

  • NonPublished

Published

NextHopType

string

The type of the instance specified as the next hop in the route. Valid values:

  • Instance: an ECS instance

  • HaVip: an HAVIP

  • RouterInterface: a router interface

  • NetworkInterface: an ENI

  • VpnGateway: a VPN gateway

  • IPv6Gateway: an IPv6 gateway

  • Ipv4Gateway: an IPv4 gateway

  • NatGateway: a NAT gateway

  • Attachment: a network instance connection

  • service: a cloud service

  • VBR: a VBR

  • CCN: a CCN instance

  • VPC: a VPC

  • local: a system route (no next hop is specified)

  • TR: a transit router

  • BlackHole: a blackhole route (no next hop is specified)

  • EcRouterInterface: a router interface for Express Connect

  • HealthCheck: a health check

  • AS: an access gateway for CCN

  • classic: a classic network-type instance

  • GatewayEndpoint: a gateway endpoint

  • CPE: a data center connected to a VBR

VBR

OperationalMode

boolean

Indicates whether the route is allowed to be advertised to or withdrawn from the CEN instance. Valid values:

  • true

  • false

true

NextHopRegionId

string

The region ID of the instance specified as the next hop in the route.

cn-hangzhou

NextHopInstanceId

string

The ID of the instance specified as the next hop in the route.

vbr-bp13gtbhdp0pfqg6s****

DestinationCidrBlock

string

The destination CIDR block of the route.

10.0.0.0/24

RouteTableId

string

The route table ID.

vtb-bp1r9pvl4xen8s9ju****

CenRouteMapRecords

object

CenRouteMapRecord

array<object>

The routing policy that the routes match.

object

RouteMapId

string

The routing policy ID.

cenrmap-w4yf7toozfol3q****

RegionId

string

The region ID of the routing policy.

cn-hangzhou

Conflicts

object

Conflict

array<object>

A list of overlapping routes.

object

Status

string

The cause of the route error. Valid values:

  • conflict: The routes have the same destination CIDR block.

  • overflow: The number of routes in the route table configured on another network instance has reached the upper limit.

conflict

DestinationCidrBlock

string

The destination CIDR block of the overlapping route.

192.168.1.0/24

InstanceId

string

The ID of the peer network instance on which the overlapping routes are found.

ccn-0q3b7oviikmm9h****

InstanceType

string

The type of the peer network instance on which the overlapping routes are found. Valid values:

  • VPC: VPC

  • VBR: VBR

  • CCN: CCN instance

  • ECR: ECR

CCN

RegionId

string

The region ID of the peer network instance on which the overlapping routes are found.

ccn-cn-shanghai

Communities

object

Community

array

The community attributes of the route entries.

string

The route community value.

65501:1

AsPaths

object

AsPath

array

The AS paths of the routes.

string

The route AS path value.

65501

成功レスポンス

JSONJSON

{
  "PageSize": 10,
  "RequestId": "17A57456-EF48-419D-9AE6-9B03D9996018",
  "PageNumber": 1,
  "TotalCount": 4,
  "CenRouteEntries": {
    "CenRouteEntry": [
      {
        "Status": "Active",
        "Type": "CEN",
        "PublishStatus": "Published",
        "NextHopType": "VBR",
        "OperationalMode": true,
        "NextHopRegionId": "cn-hangzhou",
        "NextHopInstanceId": "vbr-bp13gtbhdp0pfqg6s****",
        "DestinationCidrBlock": "10.0.0.0/24",
        "RouteTableId": "vtb-bp1r9pvl4xen8s9ju****",
        "CenRouteMapRecords": {
          "CenRouteMapRecord": [
            {
              "RouteMapId": "cenrmap-w4yf7toozfol3q****",
              "RegionId": "cn-hangzhou"
            }
          ]
        },
        "Conflicts": {
          "Conflict": [
            {
              "Status": "conflict",
              "DestinationCidrBlock": "192.168.1.0/24",
              "InstanceId": "ccn-0q3b7oviikmm9h****",
              "InstanceType": "CCN",
              "RegionId": "ccn-cn-shanghai"
            }
          ]
        },
        "Communities": {
          "Community": [
            "65501:1"
          ]
        },
        "AsPaths": {
          "AsPath": [
            "65501"
          ]
        }
      }
    ]
  }
}

エラーコード

HTTP ステータスコード

エラーコード

エラーメッセージ

説明

400 InvalidParameter Invalid parameter.
400 Unauthorized The AccessKeyId is unauthorized.
404 InvalidRouteTableId.NotFound The specified RouteTableId is not found.

完全なリストについては、「エラーコード」をご参照ください。

変更履歴

完全なリストについては、「変更履歴」をご参照ください。