Memanggil ExportImage untuk mengekspor gambar kustom ke bucket OSS yang berada di wilayah yang sama dengan gambar kustom.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:ExportImage |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ImageId |
string |
Yes |
ID image. |
m-5ragaz3s74b7go8ks7jp9**** |
| OSSBucket |
string |
Yes |
Bucket OSS tempat image yang diekspor disimpan. |
whxyl**** |
| OSSRegionId |
string |
Yes |
ID wilayah. |
cn-beijing |
| OSSPrefix |
string |
No |
Awalan objek OSS Anda. Awalan dapat berisi angka dan huruf, serta harus memiliki panjang 1 hingga 30 karakter. |
dataCenter/972****/ |
| RoleName |
string |
No |
Nama peran yang diotorisasi. |
AliyunMNSLoggingRole |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| ExportedImageURL |
string |
URL image yang diekspor. |
http://oss.url |
| RequestId |
string |
ID permintaan. |
43A426AD-3F2E-5DD9-9C08-D4DBDCA48D85 |
Contoh
Respons sukses
JSONformat
{
"ExportedImageURL": "http://oss.url",
"RequestId": "43A426AD-3F2E-5DD9-9C08-D4DBDCA48D85"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParameter | The input parameter that is mandatory for processing this request is not supplied. | |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. | |
| 400 | InvalidParameter | The errorMessage is %s. Please check it again. | |
| 400 | InvalidSecurityGroupId.NotFound | The specified SecurityGroupId does not exist. | |
| 400 | SecurityGroupRuleConflict.Duplicated | The SecurityGroup rule already exists. | |
| 400 | AuthorizationLimitExceed | The limit of authorization records in the security group reaches. | |
| 400 | ens.interface.error | An error occurred while calling the API. | |
| 400 | CallInterface | Call Interface Happen Error. | |
| 400 | InvalidImageType.NotSupported | The specified image type is not supported. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.