本篇文章给大家带来的内容是关于怎么查询导入镜像和导出镜像的详细信息,有一定的参考价值,有需要的朋友可以参考一下,希望对你有所帮助。

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 错误中心。

标签
DT素材网

DT素材网

126

0

0

( 此人很懒并没有留下什么~~ )