获取系统默认镜像信息

Method

GET

描述

获取系统默认镜像信息

请求参数

参数名称说明参数类型是否必填备注
ActionDescribeDefaultImagesstring
Version2018-03-08string

返回参数

参数名称说明参数类型是否必填备注
MetaImagesarray详细信息见下表
参数名称说明参数类型是否必填备注
MetaImageId镜像idlong
ImageLogo镜像logostring
ImageName镜像名字string
Tag镜像tag名string
Desc描述string
Configuration镜像配置信息string
ImageConstraint镜像约束信息string
Weight权重, 用于系统镜像列表的排序integer
CornerLogo镜像仓库角标Logo,APM需要string

状态码

无状态码

请求示例

GET https://open.cn-east-1.163yun.com/ccr?Version=2018-03-08&Action=DescribeDefaultImages HTTP/1.1

返回示例

{
    "RequestId": "8a722cb1-a7f9-464b-8c2b-72ec8c19f3da",
    "MetaImages": [
        {
            "Desc": "tomcat7.0",
            "ImageLogo": "tomcat",
            "ImageName": "tomcat",
            "MetaImageId": 13,
            "Tag": "latest",
            "Weight": 10
        },
        {
            "Desc": "nodejs-12.5",
            "ImageLogo": "custom",
            "ImageName": "nodejs",
            "MetaImageId": 7,
            "Tag": "latest",
            "Weight": 100
        },
        {
            "Desc": "python3",
            "ImageLogo": "custom",
            "ImageName": "python",
            "MetaImageId": 8,
            "Tag": "latest",
            "Weight": 100
        },
        {
            "Desc": "php5",
            "ImageLogo": "custom",
            "ImageName": "php",
            "MetaImageId": 9,
            "Tag": "latest",
            "Weight": 100
        },
        {
            "Desc": "ruby1.9",
            "ImageLogo": "custom",
            "ImageName": "ruby",
            "MetaImageId": 10,
            "Tag": "latest",
            "Weight": 100
        }
    ]
}