Memanggil GetStructSyncOrderDetail untuk mengkueri detail tiket sinkronisasi skema.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:GetStructSyncOrderDetail |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| OrderId |
integer |
Yes |
ID tiket. |
43**** |
| Tid |
integer |
No |
ID penyewa. Catatan
Untuk mendapatkan ID penyewa, arahkan pointer ke gambar profil di pojok kanan atas Konsol Data Management (DMS). Untuk informasi lebih lanjut, lihat Melihat informasi tentang penyewa saat ini. |
1 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Tanggapan. |
||
| RequestId |
string |
ID permintaan. |
4E1D2B4D-3E53-4ABC-999D-1D2520B3471A |
| Success |
boolean |
Apakah permintaan berhasil. |
true |
| ErrorMessage |
string |
Paket kesalahan yang dikembalikan. |
UnknownError |
| ErrorCode |
string |
Kode kesalahan yang dikembalikan. |
UnknownError |
| StructSyncOrderDetail |
object |
Detail tiket sinkronisasi skema. |
|
| SourceDatabaseInfo |
object |
Informasi tentang database sumber. |
|
| DbId |
integer |
The ID of the source database. |
432532 |
| SearchName |
string |
The name that is used to search for the database. |
test |
| DbType |
string |
The type of the database engine. |
MySQL |
| EnvType |
string |
The type of the environment to which the database instance belongs. For more information, see Change the environment type of an instance. |
dev |
| Logic |
boolean |
Indicates whether the database is a logical database. Valid values:
|
false |
| TargetDatabaseInfo |
object |
Informasi tentang database tujuan. |
|
| DbId |
integer |
The ID of the destination database. |
432543 |
| SearchName |
string |
The name that is used to search for the database. |
test |
| DbType |
string |
The type of the database engine. |
MySQL |
| EnvType |
string |
The type of the environment to which the database instance belongs. For more information, see Change the environment type of an instance. |
dev |
| Logic |
boolean |
Indicates whether the database is a logical database. Valid values:
|
false |
| SourceType |
string |
Tipe skema sumber. Nilai valid:
|
VERSION |
| SourceVersionInfo |
object |
Informasi tentang versi sumber. Catatan
Parameter ini hanya dikembalikan jika SourceType diatur ke VERSION. |
|
| VersionId |
string |
The version number. |
e179bbb8163dcdcfacda24858bedb4d8006ae2b8 |
| TargetType |
string |
Tipe skema tujuan. Nilai valid:
|
DATASOURCE |
| TargetVersionInfo |
object |
Informasi tentang versi tujuan. Catatan
Parameter ini hanya dikembalikan jika SourceType diatur ke VERSION. |
|
| VersionId |
string |
The version number. |
e179bbb8163dcdcfacda24858bedb4d8006ae2b8 |
| TableInfoList |
array<object> |
Informasi tentang tabel yang disinkronkan. |
|
|
object |
Tabel yang disinkronkan. |
||
| SourceTableName |
string |
The name of the table whose schema you want to synchronize. |
test_tbl |
| TargetTableName |
string |
The name of the table to which you want to synchronize the schema of a table. |
test_tbl |
| IgnoreError |
boolean |
Apakah kesalahan diabaikan. Nilai valid:
|
false |
Contoh
Respons sukses
JSONformat
{
"RequestId": "4E1D2B4D-3E53-4ABC-999D-1D2520B3471A",
"Success": true,
"ErrorMessage": "UnknownError",
"ErrorCode": "UnknownError",
"StructSyncOrderDetail": {
"SourceDatabaseInfo": {
"DbId": 432532,
"SearchName": "test",
"DbType": "MySQL",
"EnvType": "dev",
"Logic": false
},
"TargetDatabaseInfo": {
"DbId": 432543,
"SearchName": "test",
"DbType": "MySQL",
"EnvType": "dev",
"Logic": false
},
"SourceType": "VERSION",
"SourceVersionInfo": {
"VersionId": "e179bbb8163dcdcfacda24858bedb4d8006ae2b8"
},
"TargetType": "DATASOURCE",
"TargetVersionInfo": {
"VersionId": "e179bbb8163dcdcfacda24858bedb4d8006ae2b8"
},
"TableInfoList": [
{
"SourceTableName": "test_tbl",
"TargetTableName": "test_tbl"
}
],
"IgnoreError": false
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.