Mengembalikan informasi kolom tabel.
Deskripsi operasi
Hanya instans database yang mode kontrolnya adalah Kolaborasi Keamanan yang dapat memanggil API ini.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:ListColumns |
list |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Tid |
integer |
No |
ID penyewa. Anda dapat memanggil operasi GetUserActiveTenant untuk mendapatkan parameter ini. |
3*** |
| TableId |
string |
Yes |
ID tabel. Anda dapat memanggil operasi ListTables untuk mendapatkan parameter ini. |
39281**** |
| Logic |
boolean |
No |
Apakah database merupakan database logis. Nilai valid:
|
false |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
0AD9AC55-5873-474A-9F33-4285806A3619 |
| ErrorCode |
string |
Kode kesalahan. |
UnknownError |
| ColumnList |
object |
||
| Column |
array<object> |
Detail kolom. |
|
|
object |
Daftar kolom. |
||
| ColumnType |
string |
The data type of the column. |
varchar |
| AutoIncrement |
boolean |
Indicates whether the column is an auto-increment column. Valid values:
|
false |
| ColumnId |
string |
The ID of the column. |
62589**** |
| DefaultValue |
string |
The default value of the column. |
def_value |
| Sensitive |
boolean |
Indicates whether the column is a sensitive column. Valid values:
|
false |
| ColumnName |
string |
The name of the column. |
name |
| SecurityLevel |
string |
The security level of the column. Valid values:
Catatan
For more information, see Sensitivity levels of fields. |
INNER |
| Description |
string |
The description of the column. |
test |
| DataPrecision |
integer |
The number of valid digits for the field. |
0 |
| DataScale |
integer |
The number of decimal places for the field. |
0 |
| FunctionType |
string |
The type of the masking algorithm that is used for the field. Valid values:
|
DEFAULT |
| Nullable |
boolean |
Indicates whether the column can be empty. Valid values:
|
false |
| DataLength |
integer |
The length of the field. |
4 |
| ErrorMessage |
string |
Paket kesalahan. |
UnknownError |
| Success |
boolean |
Apakah permintaan berhasil. Nilai valid:
|
true |
Contoh
Respons sukses
JSONformat
{
"RequestId": "0AD9AC55-5873-474A-9F33-4285806A3619",
"ErrorCode": "UnknownError",
"ColumnList": {
"Column": [
{
"ColumnType": "varchar",
"AutoIncrement": false,
"ColumnId": "62589****",
"DefaultValue": "def_value",
"Sensitive": false,
"ColumnName": "name",
"SecurityLevel": "INNER",
"Description": "test",
"DataPrecision": 0,
"DataScale": 0,
"FunctionType": "DEFAULT",
"Nullable": false,
"DataLength": 4
}
]
},
"ErrorMessage": "UnknownError",
"Success": true
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.