Menginisiasi tugas untuk menyalin image ke wilayah lain.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ImageId |
string |
Yes |
ID image. |
imgc-07jyldnd9i***** |
| VersionId |
string |
No |
ID versi image. Jika parameter ini tidak ditentukan, versi image terbaru yang digunakan. |
iv-07jyldnd9i**** |
| RetryType |
string |
No |
Parameter ini tidak tersedia untuk umum. |
RETRY |
| DestinationRegionList |
array |
No |
Daftar wilayah tujuan tempat image disalin. |
|
|
string |
No |
ID wilayah Alibaba Cloud. |
cn-hangzhou |
|
| ProductType |
string |
No |
Jenis produk. Valid values:
|
CloudApp |
| SourceRegion |
string |
No |
Wilayah sumber dari mana image disalin. Jika parameter ini tidak ditentukan, wilayah acak akan dipilih. |
cn-shanghai |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Struktur respons. |
||
| Data |
string |
ID task penyalinan image. |
tid-06xnr5lyp77e7**** |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. |
true |
| Code |
string |
Kode error yang dikembalikan jika permintaan gagal. |
200 |
| Message |
string |
Pesan error yang dikembalikan jika permintaan gagal. |
success |
| RequestId |
string |
ID permintaan. |
419F31B9-1FDF-5644-ABA3-D00026FA**** |
Contoh
Respons sukses
JSONformat
{
"Data": "tid-06xnr5lyp77e7****",
"Success": true,
"Code": "200",
"Message": "success",
"RequestId": "419F31B9-1FDF-5644-ABA3-D00026FA****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Instance.NotFound | The instance is not found. | |
| 400 | DesktopInstance.NotFound | The cloud computer instance does not exist. | |
| 400 | Instance.ImageUnsupported | A non-centralized image does not support this type of operation. | |
| 400 | Instance.PhysicalNodeNotExist | The instance physical node does not exist. | |
| 400 | ImageCreateByInstance.TaskExist | The image task of instance creation already exists. | |
| 400 | ExceedBuilderQuota | The maximum number of builders is reached. | |
| 400 | InvalidBaseImage.NotConfigured | Configuration required for Vhd/Container images. | |
| 400 | CreateDesktopImageRecord.Failed | Create cloud computer image failed. | |
| 400 | Image.NotExist | The image does not exist. | |
| 400 | ImageRegionDistribute.NotAllow | This image cannot be distributed. | |
| 400 | ImageUpdateFailed.NotAllow | The image is not allowed to be modified. | |
| 400 | ImageUpdateSharedImageFailed.NotAllow | The shared image is not allowed to be modified. | |
| 400 | ParentImageRegionDistribute.NotExist | The target distribution region of the parent image does not exist. | |
| 400 | InternalError | Internal error. | |
| 400 | ImageDistribute.TargetDistributeRegionListEmpty | The target distribution region list is empty. | |
| 400 | ImageDistribute.ImageNotSupport | The image does not support region distribution. | |
| 400 | ImageDistribute.RepeatedDistribution | This image has been distributed to this region. | |
| 400 | ImageDistribute.Undistributed | The image has not been distributed to any region. | |
| 400 | ImageRegion.NotConfigured | The image does not have any region configuration. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.