镜像服务 IMS-查询镜像支持的OS列表:响应消息

时间:2025-02-12 15:00:35

响应消息

  • 响应参数

    参数

    参数类型

    描述

    [数组]

    Array of objects

    详情请参见表2

    表2 [数组]字段说明

    参数

    参数类型

    描述

    platform

    String

    操作系统平台。

    version_list

    Array of objects

    返回的操作系统详情。

    具体请参见表3

    表3 [数组].version_list字段数据结构说明

    参数

    参数类型

    描述

    platform

    String

    操作系统平台。

    os_version_key

    String

    操作系统key值。

    默认取os_version的值为key值。

    os_version

    String

    操作系统完整信息。

    os_bit

    Integer

    操作系统的位数。

    os_type

    String

    操作系统的类型。

  • 响应样例
    STATUS CODE 200
     1 2 3 4 5 6 7 8 9101112131415161718192021222324252627282930313233
    [    {        "platform": "SUSE",        "version_list": [            {                "platform": "SUSE",                "os_version_key": "SUSE Linux Enterprise Server 15 64bit",                "os_version": "SUSE Linux Enterprise Server 15 64bit",                "os_bit": 64,                "os_type": "Linux"            },            {                "platform": "SUSE",                "os_version_key": "SUSE Linux Enterprise Server 12 SP3 64bit",                "os_version": "SUSE Linux Enterprise Server 12 SP3 64bit",                "os_bit": 64,                "os_type": "Linux"            }        ]    },    {        "platform": "Other",        "version_list": [            {                "platform": "Other",                "os_version_key": "Other(32 bit)",                "os_version": "Other(32 bit)",                "os_bit": 32,                "os_type": "Linux"            }        ]    }]
support.huaweicloud.com/api-ims/ims_03_0610.html