All Products
Search
Document Center

Cloud Enterprise Network:DescribeCenRegionDomainRouteEntries

Last Updated:Jun 10, 2026

Mengkueri entri rute di wilayah tertentu dari 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:DescribeCenRegionDomainRouteEntries

get

*CenInstance

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

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

CenId

string

Yes

ID instans CEN.

cen-7qthudw0ll6j****

CenRegionId

string

Yes

ID wilayah.

Panggil DescribeChildInstanceRegions untuk memperoleh ID wilayah.

cn-hangzhou

PageNumber

integer

No

Nomor halaman. Nilai default: 1.

1

PageSize

integer

No

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

10

Status

string

No

Status entri rute. Nilai valid:

  • Active (default): aktif.

  • Candidate: cadangan.

  • Rejected: ditolak.

  • Prohibited: dinonaktifkan.

  • All: semua entri rute di wilayah saat ini, terlepas dari status.

Active

Elemen respons

Element

Type

Description

Example

object

PageSize

integer

The number of entries returned per page.

10

RequestId

string

The request ID.

004E99FB-E996-5777-888E-BA1D8F215407

PageNumber

integer

The page number.

1

TotalCount

integer

The total number of entries returned.

4

CenRouteEntries

object

CenRouteEntry

array<object>

A list of route entries.

array<object>

ToOtherRegionStatus

string

The status of the route entry that is advertised to another region.

  • Active: active.

  • Prohibited: disabled.

Active

Type

string

The type of the route entry.

  • CEN: The route is advertised through CEN.

  • Custom: The route is a custom route.

  • System: The route is a system route.

CEN

Status

string

The status of the route entry.

  • Active: active.

  • Candidate: backup.

  • Rejected: rejected.

  • Prohibited: disabled.

Active

NextHopType

string

The next hop type of the route entry.

  • VPC: virtual private cloud.

  • VBR: virtual border router.

  • CCN: Cloud Connect Network.

  • local_service: The route entry is a system route for an Alibaba Cloud service and has no next hop.

VPC

NextHopInstanceId

string

The ID of the network instance that is associated with the next hop.

vpc-bp1j8728mm6pweeod****

NextHopRegionId

string

The region ID of the network instance that is associated with the next hop.

cn-hangzhou

DestinationCidrBlock

string

The destination CIDR block of the route entry.

192.168.1.0/24

Preference

integer

The priority of the route entry.

A smaller value indicates a higher priority.

50

CenRouteMapRecords

object

CenRouteMapRecord

array<object>

The routing policy that the route entry matches in the Ingress direction.

object

RouteMapId

string

The routing policy ID.

cenrmap-cz5axczdxb7yfu****

RegionId

string

The ID of the region where the routing policy is applied.

cn-hangzhou

CenOutRouteMapRecords

object

CenOutRouteMapRecord

array<object>

The routing policy that the route entry matches in the Egress direction.

object

RouteMapId

string

The routing policy ID.

cenrmap-dbarzidzp7ek4k****

RegionId

string

The ID of the region where the routing policy is applied.

ccn-cn-shanghai

Communities

object

Community

array

A list of community attributes of the route entry.

string

The community attribute of the route entry.

65501:1

AsPaths

object

AsPath

array

A list of AS-Path attributes of the route entry.

string

The AS-Path attribute of the route entry.

65501

Contoh

Respons sukses

JSONformat

{
  "PageSize": 10,
  "RequestId": "004E99FB-E996-5777-888E-BA1D8F215407",
  "PageNumber": 1,
  "TotalCount": 4,
  "CenRouteEntries": {
    "CenRouteEntry": [
      {
        "ToOtherRegionStatus": "Active",
        "Type": "CEN",
        "Status": "Active",
        "NextHopType": "VPC",
        "NextHopInstanceId": "vpc-bp1j8728mm6pweeod****",
        "NextHopRegionId": "cn-hangzhou",
        "DestinationCidrBlock": "192.168.1.0/24",
        "Preference": 50,
        "CenRouteMapRecords": {
          "CenRouteMapRecord": [
            {
              "RouteMapId": "cenrmap-cz5axczdxb7yfu****",
              "RegionId": "cn-hangzhou"
            }
          ]
        },
        "CenOutRouteMapRecords": {
          "CenOutRouteMapRecord": [
            {
              "RouteMapId": "cenrmap-dbarzidzp7ek4k****",
              "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.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.