Mengkueri konfigurasi layanan PrivateZone dari Instans Cloud Enterprise Network (CEN).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:DescribeCenPrivateZoneRoutes |
get |
*CenInstance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| PageNumber |
integer |
No |
Nomor halaman. Nilai default: 1. |
1 |
| PageSize |
integer |
No |
Jumlah entri per halaman. Nilai default: 10. Nilai valid: 1 hingga 50. |
10 |
| CenId |
string |
Yes |
ID Instans CEN. |
cen-7qthudw0ll6jmc**** |
| AccessRegionId |
string |
No |
ID Wilayah tempat Anda mengakses layanan PrivateZone. Untuk mengkueri ID Wilayah, panggil operasi DescribeChildInstanceRegions. |
cn-hangzhou |
| HostRegionId |
string |
No |
ID Wilayah tempat layanan PrivateZone diterapkan. |
cn-hangzhou |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
461EC1B5-04A8-4706-8764-8F5BCEF48A6F |
| PrivateZoneDnsServers |
string |
The IP addresses of the DNS servers for the PrivateZone service. |
100.100.XX.XX/32,100.100.XX.XX/32 |
| CenId |
string |
The ID of the CEN instance. |
cen-7qthudw0ll6jmc**** |
| PageNumber |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of entries returned per page. |
10 |
| TotalCount |
integer |
The total number of entries. |
2 |
| PrivateZoneInfos |
object |
||
| PrivateZoneInfo |
array<object> |
The detailed configurations of the PrivateZone service. |
|
|
object |
|||
| Status |
string |
The status of the PrivateZone service.
|
Active |
| AccessRegionId |
string |
The ID of the region where you access the PrivateZone service. |
cn-hangzhou |
| HostRegionId |
string |
The ID of the region where the PrivateZone service is deployed. |
cn-hangzhou |
| HostVpcId |
string |
The ID of the VPC that is associated with the PrivateZone service. |
vpc-bp18sth14qii3pnvo**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "461EC1B5-04A8-4706-8764-8F5BCEF48A6F",
"PrivateZoneDnsServers": "100.100.XX.XX/32,100.100.XX.XX/32",
"CenId": "cen-7qthudw0ll6jmc****\t",
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 2,
"PrivateZoneInfos": {
"PrivateZoneInfo": [
{
"Status": "Active",
"AccessRegionId": "cn-hangzhou",
"HostRegionId": "cn-hangzhou",
"HostVpcId": "vpc-bp18sth14qii3pnvo****"
}
]
}
}
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.