Mengambil detail entri rute di wilayah tertentu dari instance Cloud Enterprise Network (CEN).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:DescribeCenRegionDomainRouteEntries |
get |
*CenInstance
|
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 mendapatkan ID wilayah. |
cn-hangzhou |
| PageNumber |
integer |
No |
Nomor halaman. Nilai default adalah 1. |
1 |
| PageSize |
integer |
No |
Jumlah entri yang ditampilkan per halaman. Nilai default adalah 10. Nilai yang valid: 1 hingga 500. |
10 |
| Status |
string |
No |
Status entri rute. Nilai yang valid:
|
Active |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| PageSize |
integer |
Jumlah entri yang ditampilkan per halaman. |
10 |
| RequestId |
string |
ID permintaan. |
004E99FB-E996-5777-888E-BA1D8F215407 |
| PageNumber |
integer |
Nomor halaman. |
1 |
| TotalCount |
integer |
Total jumlah entri yang ditampilkan. |
4 |
| CenRouteEntries |
object |
||
| CenRouteEntry |
array<object> |
Daftar entri rute. |
|
|
array<object> |
|||
| ToOtherRegionStatus |
string |
Status entri rute yang diiklankan ke wilayah lain.
|
Active |
| Type |
string |
Tipe entri rute.
|
CEN |
| Status |
string |
Status entri rute.
|
Active |
| NextHopType |
string |
Tipe lompatan berikutnya dari entri rute.
|
VPC |
| NextHopInstanceId |
string |
ID instans jaringan yang terkait dengan lompatan berikutnya. |
vpc-bp1j8728mm6pweeod**** |
| NextHopRegionId |
string |
ID wilayah instans jaringan yang terkait dengan lompatan berikutnya. |
cn-hangzhou |
| DestinationCidrBlock |
string |
Blok CIDR tujuan dari entri rute. |
192.168.1.0/24 |
| Preference |
integer |
Prioritas entri rute. Nilai yang lebih kecil menunjukkan prioritas yang lebih tinggi. |
50 |
| CenRouteMapRecords |
object |
||
| CenRouteMapRecord |
array<object> |
Kebijakan perutean yang cocok dengan entri rute dalam arah Ingress. |
|
|
object |
|||
| RouteMapId |
string |
ID kebijakan perutean. |
cenrmap-cz5axczdxb7yfu**** |
| RegionId |
string |
ID wilayah tempat kebijakan perutean diterapkan. |
cn-hangzhou |
| CenOutRouteMapRecords |
object |
||
| CenOutRouteMapRecord |
array<object> |
Kebijakan perutean yang cocok dengan entri rute dalam arah Egress. |
|
|
object |
|||
| RouteMapId |
string |
ID kebijakan perutean. |
cenrmap-dbarzidzp7ek4k**** |
| RegionId |
string |
ID wilayah tempat kebijakan perutean diterapkan. |
ccn-cn-shanghai |
| Communities |
object |
||
| Community |
array |
Daftar atribut community dari entri rute. |
|
|
string |
Atribut community dari entri rute. |
65501:1 |
|
| AsPaths |
object |
||
| AsPath |
array |
Daftar atribut AS-Path dari entri rute. |
|
|
string |
Atribut AS-Path dari entri rute. |
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.