Memanggil GetPermApplyOrderDetail untuk mendapatkan detail tiket permohonan izin.
Deskripsi operasi
Operasi ini digunakan untuk mendapatkan izin tingkat basis data, izin tingkat tabel, dan izin tingkat kolom sensitif.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:GetPermApplyOrderDetail |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| OrderId |
integer |
Yes |
ID tiket. Anda dapat memanggil operasi ListOrders untuk mendapatkan nilai parameter ini. |
73**** |
| Tid |
integer |
No |
ID penyewa. Catatan
Diperoleh dari informasi ID penyewa yang ditampilkan saat Anda mengarahkan kursor ke foto profil Anda di sudut kanan atas sistem. Untuk informasi lebih lanjut, lihat Melihat informasi tentang penyewa. |
3*** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons |
||
| RequestId |
string |
ID permintaan. Digunakan untuk menemukan log dan memecahkan masalah. |
A4C4499E-5AC2-4318-9FCF-03E426781A04 |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. Nilai yang valid:
|
true |
| ErrorMessage |
string |
Pesan kesalahan yang dikembalikan jika pemanggilan gagal. |
UnknownError |
| ErrorCode |
string |
Kode kesalahan yang dikembalikan jika pemanggilan gagal. |
UnknownError |
| PermApplyOrderDetail |
object |
Detail permohonan izin. |
|
| Resources |
array<object> |
Daftar detail sumber daya. |
|
|
array<object> |
Detail sumber daya. |
||
| DatabaseInfo |
object |
The information about the database. |
|
| DbId |
integer |
The database ID. |
12345 |
| Logic |
boolean |
Indicates whether the database is a logical database. Valid values:
|
false |
| DbType |
string |
The type of the database engine. |
MySQL |
| SearchName |
string |
The name that is used to search for the database. |
test@xxxx:3306[test] |
| OwnerIds |
array |
The IDs of the owners of the database. |
|
|
integer |
The ID of the owner of the database. |
12345 |
|
| OwnerNickNames |
array |
The nicknames of the owners of the database. |
|
|
string |
The nickname of the owner of the database. |
test_user |
|
| EnvType |
string |
The type of the environment to which the instance belongs. For more information, see Change the environment type of an instance. |
product |
| TableInfo |
object |
The information about the table. |
|
| TableName |
string |
The name of the table. |
test_tb |
| ColumnInfo |
object |
The information about the column. |
|
| TableName |
string |
The name of the table. |
test_tb |
| ColumnName |
string |
The name of the column. |
test_col |
| InstanceInfo |
object |
The information about the instance. |
|
| InstanceId |
string |
The ID of the instance. |
12345 |
| SearchName |
string |
The name that is used to search for the instance. |
xxxx:3306 |
| DbType |
string |
The type of the database engine. |
MySQL |
| EnvType |
string |
The type of the environment to which the instance belongs. For more information, see Change the environment type of an instance. |
product |
| Host |
string |
The endpoint of the instance. |
xxxx |
| Port |
integer |
The port that is used to connect to the instance. |
3306 |
| OwnerIds |
array |
The IDs of the owners of the instance. |
|
|
integer |
The ID of the owner of the instance. |
12345 |
|
| OwnerNickName |
array |
The nicknames of the owners of the instance. |
|
|
string |
The nickname of the owner of the instance. |
test_owner |
|
| DbaId |
integer |
The ID of the database administrator (DBA) of the instance. |
123**** |
| DbaNickName |
string |
The nickname of the DBA of the instance. |
test_dba |
| RowInfo |
object |
||
| DbId |
integer |
69256456 |
|
| Logic |
boolean |
false |
|
| SchemaName |
string |
testdb003 |
|
| TableName |
string |
ods_qr_dms_vehicleorder_df |
|
| ColumnName |
string |
xrxs_xid |
|
| MatchMode |
string |
EQ |
|
| RowGroupId |
integer |
123434 |
|
| RowValueInfo |
object |
||
| RowValue |
string |
test_value |
|
| PermType |
integer |
Tipe izin. Nilai yang valid dan deskripsi:
|
7 |
| Seconds |
integer |
Durasi izin, dalam detik. |
3600 |
| ApplyType |
string |
Tipe izin yang diajukan. Nilai yang valid dan deskripsi:
|
DB |
Contoh
Respons sukses
JSONformat
{
"RequestId": "A4C4499E-5AC2-4318-9FCF-03E426781A04",
"Success": true,
"ErrorMessage": "UnknownError",
"ErrorCode": "UnknownError",
"PermApplyOrderDetail": {
"Resources": [
{
"DatabaseInfo": {
"DbId": 12345,
"Logic": false,
"DbType": "MySQL",
"SearchName": "test@xxxx:3306[test]",
"OwnerIds": [
12345
],
"OwnerNickNames": [
"test_user"
],
"EnvType": "product"
},
"TableInfo": {
"TableName": "test_tb"
},
"ColumnInfo": {
"TableName": "test_tb",
"ColumnName": "test_col"
},
"InstanceInfo": {
"InstanceId": "12345",
"SearchName": "xxxx:3306",
"DbType": "MySQL",
"EnvType": "product",
"Host": "xxxx",
"Port": 3306,
"OwnerIds": [
12345
],
"OwnerNickName": [
"test_owner"
],
"DbaId": 0,
"DbaNickName": "test_dba"
},
"RowInfo": {
"DbId": 69256456,
"Logic": false,
"SchemaName": "testdb003",
"TableName": "ods_qr_dms_vehicleorder_df",
"ColumnName": "xrxs_xid",
"MatchMode": "EQ",
"RowGroupId": 123434
},
"RowValueInfo": {
"RowValue": "test_value"
}
}
],
"PermType": 7,
"Seconds": 3600,
"ApplyType": "DB"
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.