Membuat kueri semua aturan akses jaringan di region saat ini.
Deskripsi operasi
Untuk informasi selengkapnya tentang kebijakan akses yang diperlukan oleh pengguna RAM atau peran RAM untuk memanggil API ini, lihat Resource Access Management.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| PageNumber |
integer |
No |
Nomor halaman. Nilai default: 1. |
1 |
| PageSize |
integer |
No |
Jumlah entri per halaman. Nilai yang valid: 1 hingga 100. Nilai default: 20. |
10 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
3bf02f7a-015b-4f34-be0f-cc043fda2d33 |
| PageNumber |
integer |
Nomor halaman. |
1 |
| PageSize |
integer |
Jumlah entri per halaman. |
10 |
| TotalCount |
integer |
Jumlah total entri yang dikembalikan. |
1 |
| NetworkRules |
object |
||
| NetworkRule |
array<object> |
Daftar aturan kontrol akses. |
|
|
object |
Daftar aturan kontrol akses. |
||
| Type |
string |
The network type. The value is fixed as Private. Self-managed applications can access KMS instances only over a private virtual private cloud (VPC). |
Private |
| Name |
string |
The name of the access control rule. |
networkrule_test |
Contoh
Respons sukses
JSONformat
{
"RequestId": "3bf02f7a-015b-4f34-be0f-cc043fda2d33",
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 1,
"NetworkRules": {
"NetworkRule": [
{
"Type": "Private",
"Name": "networkrule_test"
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | An invalid value is specified for the parameter. |
| 404 | InvalidAccessKeyId.NotFound | The Access Key ID provided does not exist in our records. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.