Memanggil operasi ListLogicDatabases untuk mengkueri daftar detail database logis.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:ListLogicDatabases |
list |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Tid |
integer |
No |
ID penyewa. Anda dapat memanggil operasi GetUserActiveTenant untuk mendapatkan nilai parameter ini. |
3*** |
| PageNumber |
integer |
No |
Nomor halaman. |
1 |
| PageSize |
integer |
No |
Jumlah entri per halaman. |
50 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalCount |
integer |
Jumlah total database logis. |
7 |
| LogicDatabaseList |
object |
||
| LogicDatabase |
array<object> |
Daftar database logis. |
|
|
array<object> |
Daftar database logis. |
||
| DatabaseId |
string |
The ID of the logical database. |
1*** |
| OwnerIdList |
object |
||
| OwnerIds |
array |
The IDs of the owners of the logical database. |
|
|
string |
Logical database Owner ID. |
51**** |
|
| DbType |
string |
The type of the logical database. For more information about the valid values of this parameter, see DbType parameter. |
POLARDB |
| OwnerNameList |
object |
||
| OwnerNames |
array |
The names of the owners of the logical database. |
|
|
string |
The name of the owner of the logical database. |
owner_name |
|
| Logic |
boolean |
Indicates whether the database is a logical database. The return value is true. |
true |
| SchemaName |
string |
The name of the logical database. |
logic_db |
| SearchName |
string |
The name that is used to search for the logical database. Catatan
We recommend that you do not use this parameter for business development. The format of the parameter value may be modified in later versions. |
logic_db[logic_db_alias] |
| EnvType |
string |
The type of the environment to which the logical database belongs. Valid values:
|
test |
| Alias |
string |
The alias of the logical database. |
logic_db_alias |
| DatabaseIds |
object |
||
| DatabaseIds |
array |
Logical database sub-ID list. |
|
|
integer |
Logical database sub-ID. |
12**** |
|
| RequestId |
string |
ID permintaan. |
8068AF82-8A1A-592C-AC2E-6B75338BAB87 |
| ErrorCode |
string |
Kode kesalahan. |
UnknownError |
| ErrorMessage |
string |
Paket kesalahan. |
UnknownError |
| Success |
boolean |
Apakah permintaan berhasil. Nilai valid:
|
true |
Contoh
Respons sukses
JSONformat
{
"TotalCount": 7,
"LogicDatabaseList": {
"LogicDatabase": [
{
"DatabaseId": "1***",
"OwnerIdList": {
"OwnerIds": [
"51****"
]
},
"DbType": "POLARDB",
"OwnerNameList": {
"OwnerNames": [
"owner_name"
]
},
"Logic": true,
"SchemaName": "logic_db",
"SearchName": "logic_db[logic_db_alias]",
"EnvType": "test",
"Alias": "logic_db_alias",
"DatabaseIds": {
"DatabaseIds": [
0
]
}
}
]
},
"RequestId": "8068AF82-8A1A-592C-AC2E-6B75338BAB87",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.