All Products
Search
Document Center

Cloud Enterprise Network:DescribeCenChildInstanceRouteEntries

Last Updated:Jun 10, 2026

Mengkueri entri rute Instans jaringan yang terhubung ke instans Cloud Enterprise Network (CEN).

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

Action

Access level

Resource type

Condition key

Dependent action

cen:DescribeCenChildInstanceRouteEntries

get

*CenInstance

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

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

CenId

string

Yes

ID instans CEN.

cen-7qthudw0ll6jmc****

ChildInstanceId

string

Yes

ID Instans jaringan.

vpc-bp18sth14qii3pnvo****

ChildInstanceType

string

Yes

Tipe Instans jaringan. Nilai valid:

  • VPC: virtual private cloud (VPC)

  • VBR: virtual border router (VBR)

  • CCN: Instans Cloud Connect Network (CCN)

  • ECR: Express Connect Router (ECR)

VPC

Status

string

No

Status entri rute. Nilai valid:

  • Active: tersedia

  • Candidate: siaga

  • Rejected: ditolak

  • Prohibited: dilarang

  • All (default): semua entri rute.

Active

PageNumber

integer

No

Nomor halaman yang akan dikembalikan. Nilai default: 1.

1

PageSize

integer

No

Jumlah entri per halaman. Nilai valid: 1 hingga 500. Nilai default: 10.

10

ChildInstanceRegionId

string

No

ID Wilayah tempat Instans jaringan di-deploy.

Anda dapat memanggil operasi DescribeChildInstanceRegions untuk mengkueri daftar Wilayah terbaru.

cn-hangzhou

ChildInstanceRouteTableId

string

No

ID tabel rute Instans jaringan. Jika Anda tidak menentukan ID tabel rute, sistem mengkueri entri rute di tabel rute sistem VPC secara default.

vtb-p0wxx3apzgn6uqp3r****

Elemen respons

Element

Type

Description

Example

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

Contoh

Respons sukses

JSONformat

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

Kode kesalahan

HTTP status code

Error code

Error message

Description

400 InvalidParameter Invalid parameter. The error message returned because the parameter is set to an invalid value.
400 Unauthorized The AccessKeyId is unauthorized. The error message returned because you do not have the permissions to perform this operation.
404 InvalidRouteTableId.NotFound The specified RouteTableId is not found. The specified route table ID does not exist.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.