更新时间:2025-06-03 GMT+08:00
分享

购买Flexus L实例

功能介绍

订购一个或多个Flexus L实例。

本接口为异步接口,当前订购接口请求下发后会返回order_id和instances_ids,此时仅表示订单创建完成,Flexus L实例并没有创建完成。

请使用本接口返回的order_id调用查询订单状态,通过响应消息中status参数的值确认Flexus L实例的创建状态,status为5时表示Flexus L实例创建成功。

API网关地址

https://hcss.cn-north-4.myhuaweicloud.com

URL

POST /v1/light-instances

请求消息

表1 header参数

参数

是否必选

参数类型

描述

Client-Request-Id

String

参数解释

用户指定的,对于此请求的唯一ID,用于定位某个请求,推荐使用UUID。

约束限制

不涉及。

取值范围

字符长度为36~128。可以使用大小写英文、数字、中划线。首字符需为数字或者英文,区分大小写。

默认取值

不涉及。

X-Auth-Token

String

参数解释

用户Token。

本接口的鉴权方式为token鉴权,X-Auth-Token的值为获取IAM账号的 token接口响应消息头中X-Subject-Token的值。更多认证鉴权操作请参见认证鉴权

说明:

不同区域的Token不一样,请根据资源所在区域获取。切换区域后需要重新获取token。

约束限制

不涉及。

取值范围

签名后的Token,小于32KB。

默认取值

不涉及。

表2 body参数

参数名

是否必选

参数类型

描述

instance_name

String

参数解释

实例名称。

约束限制

不涉及。

取值范围

可以使用中文、大小写英文、数字、下划线、中划线。首字符需为中文或者英文,区分大小写。字符长度为1~128。

默认取值

不涉及。

description

String

参数解释

实例描述。

约束限制

不涉及。

取值范围

字符长度为0~1024。无字符类型限制。

默认取值

不涉及。

plan_spec

String

参数解释

规格编码。

约束限制

不涉及。

取值范围

不同镜像支持的规格编码不同,具体信息请参考附录

默认取值

不涉及。

image_ref

ImageRef

参数解释

镜像信息。

约束限制

不涉及。

取值范围

详情请参见表3

默认取值

不涉及。

region

String

参数解释

区域。

约束限制

不涉及。

取值范围

有效区域。请参见附录中支持的区域。

默认取值

不涉及。

charging_mode

String

参数解释

计费模式。

约束限制

不涉及。

取值范围

prePaid,表示预付费,即包年包月。

默认取值

默认为prePaid。

period_type

String

参数解释

订购周期类型。

约束限制

不涉及。

取值范围

  • month:月。
  • year:年。

默认取值

不涉及。

period_num

String

参数解释:订购周期数。

约束限制

不涉及。

取值范围

  • periodType=month(周期类型为月)时,取值为[1,9]。
  • periodType=year(周期类型为年)时,取值为[1,3]。

默认取值

不涉及。

purchase_quantity

int

参数解释

购买数量。

约束限制

不涉及。

取值范围

[1,200]。

默认取值

默认为1。

is_auto_renew

boolean

参数解释

是否自动续订。

约束限制

不涉及。

取值范围

  • true:自动续订。
  • false:不自动续订。

默认取值

默认false。

is_auto_pay

boolean

参数解释

下单订购后,是否自动从客户的账户中支付。

约束限制

不涉及。

取值范围

  • true:是,即自动支付。
  • false:否,即需要客户手动支付。

默认取值

默认false。

ExtraResources

Array of ExtraResources

参数解释

附加资源信息。

约束限制

不涉及。

取值范围

详情请参见表4

默认取值

不涉及。

tags

Array of Tags

参数解释

用户自定义标签。

约束限制

不涉及。

取值范围

详情请参见表5

默认取值

不涉及。

表3 ImageRef参数

参数名

是否必选

参数类型

描述

image_name

String

参数解释

Flexus L实例支持的应用镜像、系统镜像的名称。

约束限制

使用应用镜像、系统镜像创建Flexus L实例时,涉及此参数;使用私有镜像创建Flexus L实例,不涉及该参数。

取值范围

目前支持的镜像名称请参考应用镜像系统镜像

默认取值

不涉及。

image_version

String

参数解释

Flexus L实例支持的应用镜像、系统镜像的版本。

约束限制

使用应用镜像、系统镜像创建Flexus L实例时,涉及此参数;使用私有镜像创建Flexus L实例,不涉及该参数。

取值范围

目前支持的镜像版本请参考应用镜像系统镜像

默认取值

不涉及。

image_id

String

参数解释

私有镜像ID。

约束限制

仅使用私有镜像创建Flexus L实例时,由用户提供该私有镜像的image_id。如果使用系统镜像或者应用镜像创建Flexus L实例,则不涉及该参数。

取值范围

私有镜像的image_id。

默认取值

不涉及。

表4 ExtraResources参数

参数名

是否必选

参数类型

描述

type

String

参数解释

附加资源类型。

约束限制

不涉及。

取值范围

  • “evs”为数据盘。
  • “cbr”为云备份。
  • “hss”为主机安全。

默认取值

不涉及。

size

Int

参数解释

附加资源类型type为“evs”、“cbr”时,资源的容量大小。

约束限制

附加资源类型type为"hss"时不涉及此参数。

取值范围

容量单位为GiB, 输入大小范围为[10,2048]。

默认取值

不涉及。

表5 Tags参数

参数名

是否必选

参数类型

描述

key

String

参数解释

用户自定义标签中的键。

约束限制

不涉及。

取值范围

字符长度为1~32。可以使用中文、大小写英文、数字、下划线、中划线。首字符需为中文或者英文,区分大小写。

默认取值

不涉及。

value

String

参数解释

用户自定义标签中的值。

约束限制

不涉及。

取值范围

字符长度为0~2048。无字符类型限制。

默认取值

不涉及。

响应消息

表6 Tags参数

参数名

参数类型

描述

order_id

String

参数解释

订单号。

取值范围

不涉及。

instance_ids

Array of strings

参数解释

实例ID列表。

取值范围

不涉及。

请使用本接口返回的order_id调用查询订单状态,通过响应消息中status参数的值确认Flexus L实例的创建状态,status为5时表示Flexus L实例创建成功。

请求示例

创建2台实例名为“test-0620-01”、规格编码为hf.large.1.40g.30m.win、镜像为WindowsServer 2012R2标准版、区域为新加坡、购买时长为1个月、自动支付、自动续费,并且加购20GB数据盘、20GB云备份、HSS的订单。

https://hcss.cn-north-4.myhuaweicloud.com/v1/light-instances
Client-Request-Id: 85a56f6c-8aee-xxxx-bf76-5d98d1ac023d
X-Auth-Token: MIIatAYJKoZIhvcNAQc...TCCGqECAQExDTALB  //不同区域的Token不一样,请根据资源所在区域获取。切换区域后需要重新获取token。

{
  "instance_name": "test-0620-01",
  "description": "test",
  "plan_spec": "hf.large.1.40g.30m.win",
  "image_ref": {
    "image_name": "WindowsServer",
    "image_version": "2012R2_standard_ch"
  },
  "region": "ap-southeast-3",
  "charging_mode": "prePaid",
  "period_type": "month",
  "period_num": 1,
  "purchase_quantity": 2,
  "is_auto_renew": true,
  "is_auto_pay": true,
  "extra_resources": [
    {
      "type": "evs",
      "size": 20
    },
    {
      "type": "cbr",
      "size": 20
    },
    {
      "type": "hss"
    }
  ]
}

响应示例

{
    "order_id": "CS24022811305H1EW",
    "instance_ids": [
        "65dea8d23005da564c78d9d2"
    ]
 }

返回值

表7 返回值

状态码

描述

202

请求接受,异步处理。

400

用户请求非法。

401

用户身份认证失败。

403

用户无权限调用此API。

429

请求数量过多。

500

服务器内部错误。

错误码

表8 错误码

HTTP状态码

错误码

错误描述

400

HCSS.14000001

参数非法。

400

HCSS.14000002

cors服务请求异常。

400

HCSS.14000003

cbc服务请求异常。

400

HCSS.14000004

ecs服务请求异常。

400

HCSS.14000005

evs服务请求异常。

400

HCSS.14000006

eip服务请求异常。

400

HCSS.14000007

elb服务请求异常。

400

HCSS.14000008

ims服务请求异常。

400

HCSS.14000009

市场镜像服务请求异常。

400

HCSS.14000010

规格容量不足。

400

HCSS.14000011

额度不足。

429

HCSS.14290001

请求过多,请稍后再试。

500

HCSS.15000001

服务器异常。

附录

本节介绍本接口支持的各类镜像对应的规格编码。

接口支持的应用镜像及其对应的规格编码如下表。
表9 应用镜像规格编码

镜像名称

镜像版本

支持的规格编码

(北京四、上海一、广州区域)

支持的规格编码

(香港、新加坡区域)

支持的规格编码

(贵阳一区域)

BT

8.0

hf.small.1.linux

hf.small.2.linux

hf.medium.1.linux

hf.medium.2.linux

hf.medium.3.linux

hf.large.1.linux

hf.xlarge.1.linux

hf.xlarge.3.linux

hf.large.1.2m.linux

hf.large.2.3m.linux

ahf.large.1.40g.2m.linux

hf.large.1.40g.30m.linux

hf.large.2.60g.30m.linux

hf.large.4.80g.30m.linux

hf.xlarge.2.160g.30m.linux

hf.xlarge.4.240g.30m.linux

ahf.large.1.40g.2m.linux

ahf.large.1.2m.linux

ahf.small.1.linux

ahf.small.2.linux

ahf.large.2.3m.linux

ahf.medium.1.linux

ahf.medium.2.linux

ahf.medium.3.linux

ahf.large.1.linux

ahf.xlarge.1.linux

ahf.xlarge.3.linux

WordPress

6.2.2

hf.small.1.linux

hf.small.2.linux

hf.medium.1.linux

hf.medium.2.linux

hf.medium.3.linux

hf.large.1.linux

hf.xlarge.1.linux

hf.xlarge.3.linux

hf.large.1.2m.linux

hf.large.2.3m.linux

ahf.large.1.40g.2m.linux

hf.large.1.40g.30m.linux

hf.large.2.60g.30m.linux

hf.large.4.80g.30m.linux

hf.xlarge.2.160g.30m.linux

hf.xlarge.4.240g.30m.linux

ahf.large.1.40g.2m.linux

ahf.large.1.2m.linux

ahf.small.1.linux

ahf.small.2.linux

ahf.large.2.3m.linux

ahf.medium.1.linux

ahf.medium.2.linux

ahf.medium.3.linux

ahf.large.1.linux

ahf.xlarge.1.linux

ahf.xlarge.3.linux

Portainer

2.18.4

hf.small.1.linux

hf.small.2.linux

hf.medium.1.linux

hf.medium.2.linux

hf.medium.3.linux

hf.large.1.linux

hf.xlarge.1.linux

hf.xlarge.3.linux

hf.large.1.2m.linux

hf.large.2.3m.linux

ahf.large.1.40g.2m.linux

hf.large.1.40g.30m.linux

hf.large.2.60g.30m.linux

hf.large.4.80g.30m.linux

hf.xlarge.2.160g.30m.linux

hf.xlarge.4.240g.30m.linux

ahf.large.1.40g.2m.linux

ahf.large.1.2m.linux

ahf.small.1.linux

ahf.small.2.linux

ahf.large.2.3m.linux

ahf.medium.1.linux

ahf.medium.2.linux

ahf.medium.3.linux

ahf.large.1.linux

ahf.xlarge.1.linux

ahf.xlarge.3.linux

PrestaShop

1.7.8

hf.small.1.linux

hf.small.2.linux

hf.medium.1.linux

hf.medium.2.linux

hf.medium.3.linux

hf.large.1.linux

hf.xlarge.1.linux

hf.xlarge.3.linux

hf.large.1.2m.linux

hf.large.2.3m.linux

ahf.large.1.40g.2m.linux

hf.large.1.40g.30m.linux

hf.large.2.60g.30m.linux

hf.large.4.80g.30m.linux

hf.xlarge.2.160g.30m.linux

hf.xlarge.4.240g.30m.linux

ahf.large.1.40g.2m.linux

ahf.large.1.2m.linux

ahf.small.1.linux

ahf.small.2.linux

ahf.large.2.3m.linux

ahf.medium.1.linux

ahf.medium.2.linux

ahf.medium.3.linux

ahf.large.1.linux

ahf.xlarge.1.linux

ahf.xlarge.3.linux

Nextcloud

26.0.1

hf.medium.1.linux

hf.medium.2.linux

hf.medium.3.linux

hf.large.1.linux

hf.xlarge.1.linux

hf.xlarge.3.linux

hf.large.2.3m.linux

hf.large.2.60g.30m.linux

hf.large.4.80g.30m.linux

hf.xlarge.2.160g.30m.linux

hf.xlarge.4.240g.30m.linux

ahf.medium.1.linux

ahf.medium.2.linux

ahf.medium.3.linux

ahf.large.1.linux

ahf.xlarge.1.linux

ahf.xlarge.3.linux

GitLab

16.0.7

hf.large.1.linux

hf.xlarge.1.linux

hf.xlarge.3.linux

hf.large.4.80g.30m.linux

hf.xlarge.2.160g.30m.linux

hf.xlarge.4.240g.30m.linux

ahf.large.1.linux

ahf.xlarge.1.linux

ahf.xlarge.3.linux

Odoo

16.0

hf.small.1.linux

hf.small.2.linux

hf.medium.1.linux

hf.medium.2.linux

hf.medium.3.linux

hf.large.1.linux

hf.xlarge.1.linux

hf.xlarge.3.linux

hf.large.1.2m.linux

hf.large.2.3m.linux

ahf.large.1.40g.2m.linux

hf.large.1.40g.30m.linux

hf.large.2.60g.30m.linux

hf.large.4.80g.30m.linux

hf.xlarge.2.160g.30m.linux

hf.xlarge.4.240g.30m.linux

ahf.large.1.40g.2m.linux

ahf.large.1.2m.linux

ahf.small.1.linux

ahf.small.2.linux

ahf.large.2.3m.linux

ahf.medium.1.linux

ahf.medium.2.linux

ahf.medium.3.linux

ahf.large.1.linux

ahf.xlarge.1.linux

ahf.xlarge.3.linux

Superset

2.0.1

hf.large.1.linux

hf.xlarge.1.linux

hf.xlarge.3.linux

hf.large.4.80g.30m.linux

hf.xlarge.2.160g.30m.linux

hf.xlarge.4.240g.30m.linux

ahf.large.1.linux

ahf.xlarge.1.linux

ahf.xlarge.3.linux

Matomo

4.14.2

hf.small.1.linux

hf.small.2.linux

hf.medium.1.linux

hf.medium.2.linux

hf.medium.3.linux

hf.large.1.linux

hf.xlarge.1.linux

hf.xlarge.3.linux

hf.large.1.2m.linux

hf.large.2.3m.linux

ahf.large.1.40g.2m.linux

hf.large.1.40g.30m.linux

hf.large.2.60g.30m.linux

hf.large.4.80g.30m.linux

hf.xlarge.2.160g.30m.linux

hf.xlarge.4.240g.30m.linux

ahf.large.1.40g.2m.linux

ahf.large.1.2m.linux

ahf.small.1.linux

ahf.small.2.linux

ahf.large.2.3m.linux

ahf.medium.1.linux

ahf.medium.2.linux

ahf.medium.3.linux

ahf.large.1.linux

ahf.xlarge.1.linux

ahf.xlarge.3.linux

SRS

6.0.45

hf.medium.1.linux

hf.medium.2.linux

hf.medium.3.linux

hf.large.1.linux

hf.xlarge.1.linux

hf.xlarge.3.linux

hf.large.2.3m.linux

hf.large.2.60g.30m.linux

hf.large.4.80g.30m.linux

hf.xlarge.2.160g.30m.linux

hf.xlarge.4.240g.30m.linux

ahf.medium.1.linux

ahf.medium.2.linux

ahf.medium.3.linux

ahf.large.1.linux

ahf.xlarge.1.linux

ahf.xlarge.3.linux

Palworld

0.1.4

hf.xlarge.3.linux

不支持香港、新加坡区域

不支持贵阳一区域

Redmine

5.1

hf.small.1.linux

hf.small.2.linux

hf.medium.1.linux

hf.medium.2.linux

hf.medium.3.linux

hf.large.1.linux

hf.xlarge.1.linux

hf.xlarge.3.linux

hf.large.1.2m.linux

hf.large.2.3m.linux

ahf.large.1.40g.2m.linux

hf.large.1.40g.30m.linux

hf.large.2.60g.30m.linux

hf.large.4.80g.30m.linux

hf.xlarge.2.160g.30m.linux

hf.xlarge.4.240g.30m.linux

ahf.large.1.40g.2m.linux

ahf.large.1.2m.linux

ahf.small.1.linux

ahf.small.2.linux

ahf.large.2.3m.linux

ahf.medium.1.linux

ahf.medium.2.linux

ahf.medium.3.linux

ahf.large.1.linux

ahf.xlarge.1.linux

ahf.xlarge.3.linux

Nodejs

21

hf.small.1.linux

hf.small.2.linux

hf.medium.1.linux

hf.medium.2.linux

hf.medium.3.linux

hf.large.1.linux

hf.xlarge.1.linux

hf.xlarge.3.linux

hf.large.1.2m.linux

hf.large.2.3m.linux

ahf.large.1.40g.2m.linux

hf.large.1.40g.30m.linux

hf.large.2.60g.30m.linux

hf.large.4.80g.30m.linux

hf.xlarge.2.160g.30m.linux

hf.xlarge.4.240g.30m.linux

ahf.large.1.40g.2m.linux

ahf.large.1.2m.linux

ahf.small.1.linux

ahf.small.2.linux

ahf.large.2.3m.linux

ahf.medium.1.linux

ahf.medium.2.linux

ahf.medium.3.linux

ahf.large.1.linux

ahf.xlarge.1.linux

ahf.xlarge.3.linux

Moodle

4.3.4

hf.small.1.linux

hf.small.2.linux

hf.medium.1.linux

hf.medium.2.linux

hf.medium.3.linux

hf.large.1.linux

hf.xlarge.1.linux

hf.xlarge.3.linux

hf.large.1.2m.linux

hf.large.2.3m.linux

ahf.large.1.40g.2m.linux

hf.large.1.40g.30m.linux

hf.large.2.60g.30m.linux

hf.large.4.80g.30m.linux

hf.xlarge.2.160g.30m.linux

hf.xlarge.4.240g.30m.linux

ahf.large.1.40g.2m.linux

ahf.large.1.2m.linux

ahf.small.1.linux

ahf.small.2.linux

ahf.large.2.3m.linux

ahf.medium.1.linux

ahf.medium.2.linux

ahf.medium.3.linux

ahf.large.1.linux

ahf.xlarge.1.linux

ahf.xlarge.3.linux

KodBox

1.49

hf.small.1.linux

hf.small.2.linux

hf.medium.1.linux

hf.medium.2.linux

hf.medium.3.linux

hf.large.1.linux

hf.xlarge.1.linux

hf.xlarge.3.linux

hf.large.1.2m.linux

hf.large.2.3m.linux

ahf.large.1.40g.2m.linux

hf.large.1.40g.30m.linux

hf.large.2.60g.30m.linux

hf.large.4.80g.30m.linux

hf.xlarge.2.160g.30m.linux

hf.xlarge.4.240g.30m.linux

ahf.large.1.40g.2m.linux

ahf.large.1.2m.linux

ahf.small.1.linux

ahf.small.2.linux

ahf.large.2.3m.linux

ahf.medium.1.linux

ahf.medium.2.linux

ahf.medium.3.linux

ahf.large.1.linux

ahf.xlarge.1.linux

ahf.xlarge.3.linux

Joomla

5.0.3

hf.small.1.linux

hf.small.2.linux

hf.medium.1.linux

hf.medium.2.linux

hf.medium.3.linux

hf.large.1.linux

hf.xlarge.1.linux

hf.xlarge.3.linux

hf.large.1.2m.linux

hf.large.2.3m.linux

ahf.large.1.40g.2m.linux

hf.large.1.40g.30m.linux

hf.large.2.60g.30m.linux

hf.large.4.80g.30m.linux

hf.xlarge.2.160g.30m.linux

hf.xlarge.4.240g.30m.linux

ahf.large.1.40g.2m.linux

ahf.large.1.2m.linux

ahf.small.1.linux

ahf.small.2.linux

ahf.large.2.3m.linux

ahf.medium.1.linux

ahf.medium.2.linux

ahf.medium.3.linux

ahf.large.1.linux

ahf.xlarge.1.linux

ahf.xlarge.3.linux

Ghost

5.67

hf.small.1.linux

hf.small.2.linux

hf.medium.1.linux

hf.medium.2.linux

hf.medium.3.linux

hf.large.1.linux

hf.xlarge.1.linux

hf.xlarge.3.linux

hf.large.1.2m.linux

hf.large.2.3m.linux

ahf.large.1.40g.2m.linux

hf.large.1.40g.30m.linux

hf.large.2.60g.30m.linux

hf.large.4.80g.30m.linux

hf.xlarge.2.160g.30m.linux

hf.xlarge.4.240g.30m.linux

ahf.large.1.40g.2m.linux

ahf.large.1.2m.linux

ahf.small.1.linux

ahf.small.2.linux

ahf.large.2.3m.linux

ahf.medium.1.linux

ahf.medium.2.linux

ahf.medium.3.linux

ahf.large.1.linux

ahf.xlarge.1.linux

ahf.xlarge.3.linux

CRM

8.0

hf.small.1.linux

hf.small.2.linux

hf.medium.1.linux

hf.medium.2.linux

hf.medium.3.linux

hf.large.1.linux

hf.xlarge.1.linux

hf.xlarge.3.linux

hf.large.1.2m.linux

hf.large.2.3m.linux

ahf.large.1.40g.2m.linux

hf.large.1.40g.30m.linux

hf.large.2.60g.30m.linux

hf.large.4.80g.30m.linux

hf.xlarge.2.160g.30m.linux

hf.xlarge.4.240g.30m.linux

ahf.large.1.40g.2m.linux

ahf.large.1.2m.linux

ahf.small.1.linux

ahf.small.2.linux

ahf.large.2.3m.linux

ahf.medium.1.linux

ahf.medium.2.linux

ahf.medium.3.linux

ahf.large.1.linux

ahf.xlarge.1.linux

ahf.xlarge.3.linux

本接口支持的系统镜像版本及其对应的规格编码如下表。
表10 系统镜像规格编码

镜像名称

镜像版本(北京四、上海一、广州区域)

支持的规格编码(北京四、上海一、广州区域)

镜像版本(香港、新加坡区域)

支持的规格编码(香港、新加坡区域)

镜像版本(贵阳一区域)

支持的规格编码(贵阳一区域)

Ubuntu

24.04

22.04

20.04

18.04

16.04

hf.small.1.linux hf.small.2.linux

hf.medium.1.linux

hf.medium.2.linux

hf.medium.3.linux

hf.large.1.linux

hf.xlarge.1.linux

hf.xlarge.3.linux

hf.large.1.2m.linux

hf.large.2.3m.linux

ahf.large.05.40g.2m.linux(16.04镜像版本不支持)

ahf.large.1.40g.2m.linux

(16.04镜像版本不支持)

24.04

22.04

20.04

18.04

16.04

hf.large.05.40g.30m.linux

hf.large.1.40g.30m.linux

hf.large.2.60g.30m.linux

hf.large.4.80g.30m.linux

hf.xlarge.2.160g.30m.linux

hf.xlarge.4.240g.30m.linux

24.04

22.04

20.04

18.04

ahf.large.1.40g.2m.linux

ahf.large.1.2m.linux

ahf.small.1.linux

ahf.small.2.linux

ahf.large.2.3m.linux

ahf.medium.1.linux

ahf.medium.2.linux

ahf.medium.3.linux

ahf.large.1.linux

ahf.xlarge.1.linux

ahf.xlarge.3.linux

Huawei Cloud EulerOS

2.0

hf.small.1.linux

hf.small.2.linux

hf.medium.1.linux

hf.medium.2.linux

hf.medium.3.linux

hf.large.1.linux

hf.xlarge.1.linux

hf.xlarge.3.linux

hf.large.1.2m.linux

hf.large.2.3m.linux

ahf.large.05.40g.2m.linux

ahf.large.1.40g.2m.linux

2.0

hf.large.025.30m.linux

hf.large.05.40g.30m.linux

hf.large.1.40g.30m.linux

hf.large.2.60g.30m.linux

hf.large.4.80g.30m.linux

hf.xlarge.2.160g.30m.linux

hf.xlarge.4.240g.30m.linux

2.0

ahf.large.1.40g.2m.linux

ahf.large.1.2m.linux

ahf.small.1.linux

ahf.small.2.linux

ahf.large.2.3m.linux

ahf.medium.1.linux

ahf.medium.2.linux

ahf.medium.3.linux

ahf.large.1.linux

ahf.xlarge.1.linux

ahf.xlarge.3.linux

CentOS

8.2

8.1

8.0

7.9

7.8

7.7

7.6

7.5

7.4

7.3

7.2

hf.small.1.linux

hf.small.2.linux

hf.medium.1.linux

hf.medium.2.linux

hf.medium.3.linux

hf.large.1.linux

hf.xlarge.1.linux

hf.xlarge.3.linux

hf.large.1.2m.linux

hf.large.2.3m.linux

ahf.large.05.40g.2m.linux

ahf.large.1.40g.2m.linux

8.2

8.1

8.0

7.9

7.8

7.7

7.6

7.5

7.4

7.3

7.2

hf.large.025.30m.linux(仅7.6镜像版本支持)

hf.large.05.40g.30m.linux

hf.large.1.40g.30m.linux

hf.large.2.60g.30m.linux

hf.large.4.80g.30m.linux

hf.xlarge.2.160g.30m.linux

hf.xlarge.4.240g.30m.linux

8.2

8.1

8.0

7.9

7.8

7.7

7.6

7.5

7.4

7.3

7.2

ahf.large.1.40g.2m.linux

ahf.large.1.2m.linux

ahf.small.1.linux

ahf.small.2.linux

ahf.large.2.3m.linux

ahf.medium.1.linux

ahf.medium.2.linux

ahf.medium.3.linux

ahf.large.1.linux

ahf.xlarge.1.linux

ahf.xlarge.3.linux

Debian

12.0

11.1

9.0

hf.small.1.linux hf.small.2.linux

hf.medium.1.linux

hf.medium.2.linux

hf.medium.3.linux

hf.large.1.linux

hf.xlarge.1.linux

hf.xlarge.3.linux

hf.large.1.2m.linux

hf.large.2.3m.linux

ahf.large.05.40g.2m.linux(12.0镜像版本不支持)

ahf.large.1.40g.2m.linux

(12.0镜像版本不支持)

12.0

11.1

9.0

hf.large.025.30m.linux(9.0镜像版本不支持)

hf.large.05.40g.30m.linux

hf.large.1.40g.30m.linux

hf.large.2.60g.30m.linux

hf.large.4.80g.30m.linux

hf.xlarge.2.160g.30m.linux

hf.xlarge.4.240g.30m.linux

12.0

11.1

9.0

ahf.large.1.40g.2m.linux

ahf.large.1.2m.linux

ahf.small.1.linux

ahf.small.2.linux

ahf.large.2.3m.linux

ahf.medium.1.linux

ahf.medium.2.linux

ahf.medium.3.linux

ahf.large.1.linux

ahf.xlarge.1.linux

ahf.xlarge.3.linux

WindowsServer

2022_standard_ch

2022_datacenter_ch

2019_standard_ch

2019_datacenter_ch

2016_standard_ch

2016_datacenter_ch

2012R2_standard_ch

2012R2_datacenter_ch

hf.small.1.win

hf.small.2.win

hf.medium.1.win

hf.medium.2.win

hf.medium.3.win

hf.large.1.win

hf.xlarge.1.win

hf.xlarge.3.win

hf.large.1.2m.win

hf.large.2.3m.win

ahf.large.1.40g.2m.win

2019_standard_ch

2016_standard_ch

2012R2_standard_ch

hf.large.1.40g.30m.win

hf.large.2.60g.30m.win

hf.large.4.80g.30m.win

hf.xlarge.2.160g.30m.win

hf.xlarge.4.240g.30m.win

2022_standard_ch

2022_datacenter_ch

2019_standard_ch

2019_datacenter_ch

2016_standard_ch

2016_datacenter_ch

2012R2_standard_ch

2012R2_datacenter_ch

ahf.large.1.40g.2m.linux

ahf.large.1.2m.linux

ahf.small.1.linux

ahf.small.2.linux

ahf.large.2.3m.linux

ahf.medium.1.linux

ahf.medium.2.linux

ahf.medium.3.linux

ahf.large.1.linux

ahf.xlarge.1.linux

ahf.xlarge.3.linux

CentOS_Stream

9.0

hf.small.1.linux

hf.small.2.linux

hf.medium.1.linux

hf.medium.2.linux

hf.medium.3.linux

hf.large.1.linux

hf.xlarge.1.linux

hf.xlarge.3.linux

hf.large.1.2m.linux

hf.large.2.3m.linux

9.0

hf.large.025.30m.linux

hf.large.05.40g.30m.linux

hf.large.1.40g.30m.linux

hf.large.2.60g.30m.linux

hf.large.4.80g.30m.linux

hf.xlarge.2.160g.30m.linux

hf.xlarge.4.240g.30m.linux

本接口支持的私有镜像对应的规格编码如下表。

表11 私有镜像规格编码

操作系统

规格编码

(北京四、上海一、广州区域)

规格编码

(香港、新加坡区域)

规格编码

(贵阳一区域)

Linux操作系统

hf.small.1.linux

hf.small.2.linux

hf.medium.1.linux

hf.medium.2.linux

hf.medium.3.linux

hf.large.1.linux

hf.xlarge.1.linux

hf.xlarge.3.linux

hf.large.1.2m.linux

hf.large.2.3m.linux

ahf.large.05.40g.2m.linux

ahf.large.1.40g.2m.linux

hf.large.025.30m.linux

hf.large.05.40g.30m.linux

hf.large.1.40g.30m.linux

hf.large.2.60g.30m.linux

hf.large.4.80g.30m.linux

hf.xlarge.2.160g.30m.linux

hf.xlarge.4.240g.30m.linux

ahf.large.05.40g.2m.linux

ahf.large.1.40g.2m.linux

ahf.large.1.2m.linux

ahf.small.1.linux

ahf.small.2.linux

ahf.large.2.3m.linux

ahf.medium.1.linux

ahf.medium.2.linux

ahf.medium.3.linux

ahf.large.1.linux

ahf.xlarge.1.linux

ahf.xlarge.3.linux

Windows操作系统

hf.small.1.win

hf.small.2.win

hf.medium.1.win

hf.medium.2.win

hf.medium.3.win

hf.large.1.win

hf.xlarge.1.win

hf.xlarge.3.win

hf.large.1.2m.win

hf.large.2.3m.win

ahf.large.1.40g.2m.win

hf.large.1.40g.30m.win

hf.large.2.60g.30m.win

hf.large.4.80g.30m.win

hf.xlarge.2.160g.30m.win

hf.xlarge.4.240g.30m.win

ahf.large.1.40g.2m. win

ahf.large.1.2m. win

ahf.small.1. win

ahf.small.2. win

ahf.large.2.3m. win

ahf.medium.1. win

ahf.medium.2. win

ahf.medium.3. win

ahf.large.1. win

ahf.xlarge.1. win

ahf.xlarge.3. win

规格编码对应的具体规格如下表所示。

表12 Linux系统规格编码的规格(北京四、上海一、广州区域)

规格编码

vCPU

内存(GiB)

系统盘(GiB)

峰值带宽(Mbps)

流量包(GB)

hf.small.1.linux

2

2

40

3

400

hf.small.2.linux

2

2

50

4

600

hf.medium.1.linux

2

4

70

5

1000

hf.medium.2.linux

2

4

80

6

1200

hf.medium.3.linux

2

4

100

8

1600

hf.large.1.linux

2

8

120

10

2000

hf.xlarge.1.linux

4

8

180

6

1200

hf.xlarge.3.linux

4

16

180

10

2000

hf.large.1.2m.linux

2

2

40

2

200

hf.large.2.3m.linux

2

4

50

3

400

ahf.large.05.40g.2m.linux

2

1

40

2

100

ahf.large.1.40g.2m.linux

2

2

40

2

100

表13 Linux系统规格编码的规格(香港、新加坡区域)

规格编码

vCPU

内存(GiB)

系统盘(GiB)

峰值带宽(Mbps)

流量包(GB)

hf.large.025.30m.linux

2

0.5

20

30

1024

hf.large.05.40g.30m.linux

2

1

40

30

1024

hf.large.1.40g.30m.linux

2

2

40

30

1024

hf.large.2.60g.30m.linux

2

4

60

30

2048

hf.large.4.80g.30m.linux

2

8

80

30

3072

hf.xlarge.2.160g.30m.linux

4

8

160

30

4096

hf.xlarge.4.240g.30m.linux

4

16

240

30

5120

表14 Linux系统规格编码的规格(贵阳一区域)

规格编码

vCPU

内存(GiB)

系统盘(GiB)

峰值带宽(Mbps)

流量包(GB)

ahf.large.05.40g.2m.linux

2

1

40

2

100

ahf.large.1.40g.2m.linux

2

2

40

2

100

ahf.large.1.2m.linux

2

2

40

2

200

ahf.small.1.linux

2

2

40

3

400

ahf.small.2.linux

2

2

50

4

600

ahf.large.2.3m.linux

2

4

50

3

400

ahf.medium.1.linux

2

4

70

5

1000

ahf.medium.2.linux

2

4

80

6

1200

ahf.medium.3.linux

2

4

100

8

1600

ahf.large.1.linux

2

8

120

10

2000

ahf.xlarge.1.linux

4

8

180

6

1200

ahf.xlarge.3.linux

4

16

180

10

2000

表15 Windows系统规格编码的规格(北京四、上海一、广州区域)

规格编码

vCPU

内存(GiB)

系统盘(GiB)

峰值带宽(Mbps)

流量包(GB)

hf.small.1.win

2

2

40

3

400

hf.small.2.win

2

2

50

4

600

hf.medium.1.win

2

4

70

5

1000

hf.medium.2.win

2

4

80

6

1200

hf.medium.3.win

2

4

100

8

1600

hf.large.1.win

2

8

120

10

2000

hf.xlarge.1.win

4

8

180

6

1200

hf.xlarge.3.win

4

16

180

10

2000

hf.large.1.2m.win

2

2

40

2

200

hf.large.2.3m.win

2

4

50

3

400

ahf.large.1.40g.2m.win

2

2

40

2

100

表16 Windows系统规格编码的规格(香港、新加坡区域)

规格编码

vCPU

内存(GiB)

系统盘(GiB)

峰值带宽(Mbps)

流量包(GB)

hf.large.1.40g.30m.win

2

2

40

30

1024

hf.large.2.60g.30m.win

2

4

60

30

2048

hf.large.4.80g.30m.win

2

8

80

30

3072

hf.xlarge.2.160g.30m.win

4

8

160

30

4096

hf.xlarge.4.240g.30m.win

4

16

240

30

5120

表17 Windows系统规格编码的规格(贵阳一区域)

规格编码

vCPU

内存(GiB)

系统盘(GiB)

峰值带宽(Mbps)

流量包(GB)

ahf.large.1.40g.2m. win

2

2

40

2

100

ahf.large.1.2m. win

2

2

40

2

200

ahf.small.1. win

2

2

40

3

400

ahf.small.2. win

2

2

50

4

600

ahf.large.2.3m. win

2

4

50

3

400

ahf.medium.1. win

2

4

70

5

1000

ahf.medium.2. win

2

4

80

6

1200

ahf.medium.3. win

2

4

100

8

1600

ahf.large.1. win

2

8

120

10

2000

ahf.xlarge.1. win

4

8

180

6

1200

ahf.xlarge.3. win

4

16

180

10

2000

相关文档