Mengambil detail tugas ekspor konfigurasi untuk instans Host Bastion.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-bastionhost:GetExportConfigJob |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instans Host Bastion. Catatan
Anda dapat memanggil operasi DescribeInstances untuk mendapatkan parameter ini. |
bastionhost-cn-st220aw**** |
| RegionId |
string |
No |
ID wilayah instans Host Bastion. Catatan
Untuk pemetaan antara ID wilayah dan nama wilayah, lihat Wilayah dan zona. |
cn-hangzhou |
| JobId |
string |
Yes |
ID pekerjaan ekspor cadangan konfigurasi. Catatan
Parameter ini adalah JobId yang dikembalikan setelah Anda berhasil memanggil operasi CreateExportConfigJob untuk membuat pekerjaan ekspor cadangan konfigurasi. |
2 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| DownloadUrl |
string |
The download link of the configuration backup file. |
https://bastionhost-cn-hangzhou-164***.oss-cn-hangzhou.aliyuncs.com/bastionhost-cn-2****** |
| JobId |
string |
The ID of the configuration backup export job. |
2 |
| Message |
string |
The error message. |
message |
| RequestId |
string |
The unique identifier that Alibaba Cloud generates for this request. |
98DBE5C2-7D7A-5393-9E5A-71074336D33B |
| Status |
string |
The status of the configuration backup export job. |
Success |
| ExpireTime |
integer |
The expiration time of the configuration backup download link. (In seconds, UNIX timestamp format) |
1679393152 |
Contoh
Respons sukses
JSONformat
{
"DownloadUrl": "https://bastionhost-cn-hangzhou-164***.oss-cn-hangzhou.aliyuncs.com/bastionhost-cn-2******",
"JobId": "2",
"Message": "message",
"RequestId": "98DBE5C2-7D7A-5393-9E5A-71074336D33B",
"Status": "Success",
"ExpireTime": 1679393152
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The argument is invalid. | |
| 500 | InternalError | An unknown error occurred. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.