Retrieves information about a specified image.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-hsm:GetImage |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ImageId |
string |
Yes |
The image ID. |
image-wz9c5ths5dfuwx47**** |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| Image |
object |
The information about the image. |
|
| BackupId |
string |
The backup ID. |
backup-1618017313 |
| CopyTime |
integer |
The time when the image was copied. This is a UNIX timestamp that is accurate to the millisecond. |
1641275680000 |
| ExportTime |
integer |
The time when the image was created. This is a UNIX timestamp that is accurate to the millisecond. |
1786776567788 |
| ImageId |
string |
The image ID. |
image-wz9c5ths5dfuwx47**** |
| InstanceId |
string |
The ID of the HSM instance. |
hsm-cn-9lb32vll**** |
| Mode |
string |
The image creation mode.
|
MANUAL |
| RegionId |
string |
The region ID. |
cn-hangzhou |
| Remark |
string |
The remarks of the backup. |
hsm-test |
| SourceBackupUid |
string |
The source backup ID. |
backup-gfuiasdfa**** |
| SourceImageUid |
string |
The source image ID. |
image-kklhhhh**** |
| SourceInstanceId |
string |
The source instance ID. |
hsm-wz9fnmvx190shfbk**** |
| SourceRegionId |
string |
The region ID of the source image. |
cn-beijing |
| Status |
string |
The status of the image.
|
NEW |
| VsmDigest |
string |
The summary of the HSM instance. |
3kGeHnmQzXwSsfF0Jk9eJYhe2gP6An0/HlYIiZh1**** |
| RequestId |
string |
The ID of the request. Alibaba Cloud generates a unique ID for each request. Use this ID to troubleshoot issues. |
4C467B38-3910-447D-87BC-AC049166F216 |
Examples
Success response
JSON format
{
"Image": {
"BackupId": "backup-1618017313",
"CopyTime": 1641275680000,
"ExportTime": 1786776567788,
"ImageId": "image-wz9c5ths5dfuwx47****",
"InstanceId": "hsm-cn-9lb32vll****",
"Mode": "MANUAL",
"RegionId": "cn-hangzhou",
"Remark": "hsm-test",
"SourceBackupUid": "backup-gfuiasdfa****",
"SourceImageUid": "image-kklhhhh****",
"SourceInstanceId": "hsm-wz9fnmvx190shfbk****",
"SourceRegionId": "cn-beijing",
"Status": "NEW",
"VsmDigest": "3kGeHnmQzXwSsfF0Jk9eJYhe2gP6An0/HlYIiZh1****"
},
"RequestId": "4C467B38-3910-447D-87BC-AC049166F216"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.