首页 >运维 >linux运维 >怎么查询导入镜像和导出镜像的详细信息

怎么查询导入镜像和导出镜像的详细信息

坏嘻嘻
坏嘻嘻原创
2018-09-27 16:12:452411浏览

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

DescribeTaskAttribute

请求参数

微信截图_20180927161008.png

返回参数

微信截图_20180927161017.png

示例

请求示例

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中文网其他相关文章!

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn