怎么查询导入镜像和导出镜像的详细信息
程序员文章站
2022-04-18 10:34:43
...
本篇文章给大家带来的内容是关于怎么查询导入镜像和导出镜像的详细信息,有一定的参考价值,有需要的朋友可以参考一下,希望对你有所帮助。
DescribeTaskAttribute
请求参数
返回参数
示例
请求示例
https://ecs.aliyuncs.com/?Action=DescribeTaskAttribute &RegionId=cn-hangzhou &TaskId=t-23ym6mvro &<公共请求参数>
返回示例
XML 格式
<DescribeTaskAttributeResponse> <CreationTime>2015-11-23T02:13Z</CreationTime> <OperationProgressSet> <OperationProgress> <RelatedItemSet> <RelatedItem> <Name>OSSBucket</Name> <Value>image-temp</Value> </RelatedItem> <RelatedItem> <Name>OSSObject</Name> <Value>MYOSSPRE_m-23f8tcp8y_t-23ym6mvro.vhd</Value> </RelatedItem> <RelatedItem> <Name>ImageFormat</Name> <Value>vhd</Value> </RelatedItem> </RelatedItemSet> <ErrorMsg/> <ErrorCode/> <OperationStatus>Success</OperationStatus> </OperationProgress> </OperationProgressSet> <FinishedTime>2015-11-23T02:19Z</FinishedTime> <FailedCount>0</FailedCount> <SupportCancel>true</SupportCancel> <TotalCount>1</TotalCount> <SuccessCount>1</SuccessCount> <RequestId>EF0C5969-279B-49C8-AD83-BACCC74DD38C</RequestId> <RegionId>cn-hangzhou</RegionId> <TaskAction>ExportImage</TaskAction> <TaskStatus>Finished</TaskStatus> <TaskProcess>100%</TaskProcess> <TaskId>t-23ym6mvro</TaskId> </DescribeTaskAttributeResponse>
JSON 格式
{ "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" }
错误码
全是公共错误码。更多错误码,请访问 API 错误中心。
以上就是怎么查询导入镜像和导出镜像的详细信息的详细内容,更多请关注其它相关文章!
上一篇: PHP利用XML备份MySQL数据库实例