Memanggil ListIndexes untuk meminta informasi indeks dari sebuah tabel.
Deskripsi operasi
Anda hanya dapat memanggil operasi ini untuk instance basis data yang mode kontrolnya adalah Security Collaboration.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:ListIndexes |
list |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Tid |
integer |
No |
ID penyewa. Catatan
Untuk memperoleh ID penyewa, arahkan penunjuk ke gambar profil di sudut kanan atas konsol DMS. Untuk informasi selengkapnya, lihat Melihat informasi tentang penyewa saat ini. |
0 |
| TableId |
string |
Yes |
ID tabel. |
1 |
| Logic |
boolean |
No |
Menentukan apakah tabel merupakan tabel logis. |
false |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
1F4DE2F1-5B47-462A-A973-E02EB7AF386B |
| ErrorCode |
string |
Kode kesalahan. |
UnknownError |
| ErrorMessage |
string |
Pesan kesalahan. |
UnknownError |
| IndexList |
object |
||
| Index |
array<object> |
Daftar detail indeks. |
|
|
object |
|||
| IndexName |
string |
The name of the index. |
idx_test |
| IndexType |
string |
The type of the index. Valid values:
|
Primary |
| TableId |
string |
The ID of the table. |
1 |
| IndexId |
string |
The ID of the index. |
1 |
| IndexComment |
string |
The description of the index. |
test |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. |
true |
Contoh
Respons sukses
JSONformat
{
"RequestId": "1F4DE2F1-5B47-462A-A973-E02EB7AF386B",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"IndexList": {
"Index": [
{
"IndexName": "idx_test",
"IndexType": "Primary",
"TableId": "1",
"IndexId": "1",
"IndexComment": "test"
}
]
},
"Success": true
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.