本篇文章为大家展示了如何查询导入镜像和导出镜像的信息,代码简明扼要并且容易理解,绝对能使你眼前一亮,通过这篇文章的详细介绍希望你能有所收获。
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 错误中心。
上述内容就是如何查询导入镜像和导出镜像的信息,你们学到知识或技能了吗?如果还想学到更多技能或者丰富自己的知识储备,欢迎关注亿速云行业资讯频道。
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。