How to query information about imported and exported images
This article shows you how to query the import image and export image information, the code is concise and easy to understand, can definitely brighten your eyes, through the detailed introduction of this article, I hope you can get something.
DescribeTaskAttribute
Request parameter
Return parameters
Example
Request example
Https://ecs.aliyuncs.com/?Action=DescribeTaskAttribute&RegionId=cn-hangzhou&TaskId=t-23ym6mvro&
Return the example
XML format
2015-11-23T02:13Z OSSBucket image-temp OSSObject MYOSSPRE_m-23f8tcp8y_t-23ym6mvro.vhd ImageFormat vhd Success 2015-11-23T02:19Z 0 true 11 EF0C5969-279B-49C8-AD83-BACCC74DD38C cn-hangzhou ExportImage Finished 100% t-23ym6mvro
JSON format
{"CreationTime": "2015-11-23T02:13Z", "OperationProgressSet": {"OperationProgress": [{"RelatedItemSet": {"RelatedItem": [{"Name": "OSSBucket" "Value": "image-temp"}, {"Name": "OSSObject", "Value": "MYOSSPRE_m-23f8tcp8y_t-23ym6mvro.vhd"} {"Name": "ImageFormat", "Value": "vhd"}}, "ErrorMsg": "," ErrorCode ":" "OperationStatus": "Success"}}, "FinishedTime": "2015-11-23T02:19Z", "FailedCount": 0, "SupportCancel": true, "TotalCount": 1, "SuccessCount": 1, "RequestId": "4BE2C7FE-C7A4-4675-A153-174E032AABFB", "RegionId": "cn-hangzhou", "TaskAction": "ExportImage" "TaskStatus": "Finished", "TaskProcess": "100%", "TaskId": "t-23ym6mvro"}
Error code
It's all public error codes. For more error codes, please visit the API error Center.
The above content is how to query the information about importing and exporting images. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.