CreateInstance - 创建实例

更新时间:
复制为 MD 格式

本接口是阿里云 ECS 中用于创建实例的接口,支持创建一台包年包月或按量付费的 ECS 实例。您可通过此接口,依据自身需求灵活配置各类参数,实现实例的个性化创建。

接口说明

说明

本接口已停止迭代更新,建议您使用 RunInstances 接口。

请确保在使用该接口前,已充分了解 ECS 产品的收费方式和价格

本接口为异步接口,当前创建实例请求发送成功后会返回实例 ID,实例的创建不是立即完成的,需要调用 DescribeInstanceStatus 查看实例信息,当返回信息中的状态为Stopped时代表创建成功,之后您可以通过 StartInstance 启动实例。

使用须知

  • 请确保您的账号已通过实名认证。更多信息,请参见账号实名认证相关文档

  • 创建实例会涉及资源计费,请确保您已了解云服务器 ECS 的计费方式。更多信息,请参见计费概述

  • 请确保您创建的实例总数或者全实例规格 vCPU 不会超出系统配额。更多信息,请参见配额中心

  • 创建专有网络 VPC 类型实例前,请预先在相应的阿里云地域创建 VPC

注意事项

  • 调用本接口,系统不会发送实例创建成功的通知(含短信、邮件、站内信)。

  • 若实例计费方式为包年包月(PrePaid),在付款时默认会使用您可用的优惠券。

  • 实例内存为 512 MiB 时,不能使用除半年渠道之外的 Windows Server 镜像;实例内存为 4 GiB 以上时,不能使用 32 位操作系统的镜像。

  • 使用该接口创建的实例将不会分配公网 IP 地址,若公网带宽大于 0,您可以调用 AllocatePublicIpAddress 分配;若公网带宽为 0,您需要调用 ModifyInstanceNetworkSpec 调整带宽之后再调用 AllocatePublicIpAddress 分配。

说明

单个地域下,单个阿里云账号按固定带宽计费的公网带宽峰值总和存在限制,请参见公网带宽限制

使用建议

  • 产品选型:参见实例规格族或调用 DescribeInstanceTypes 查看目标实例规格的性能数据,或者参见选型配置了解如何选择实例规格。

  • 查询库存:调用 DescribeAvailableResource 查看指定地域或者可用区内的资源供给情况。

  • 自定义数据:若实例满足使用实例自定义数据的限制,您可传入 UserData 信息。发送 API 请求时,不会加密您设置的UserData数据,建议您不要以明文方式传入机密的信息,例如密码和私钥等。如果必须传入,建议加密后以 Base64 的方式编码后再传入,在实例内部解密后使用。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

下表是API对应的授权信息,可以在RAM权限策略语句的Action元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:

  • 操作:是指具体的权限点。

  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。

  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:

    • 对于必选的资源类型,用前面加 * 表示。

    • 对于不支持资源级授权的操作,用全部资源表示。

  • 条件关键字:是指云产品自身定义的条件关键字。

  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。

操作

访问级别

资源类型

条件关键字

关联操作

ecs:CreateInstance

create

*全部资源

*

  • vpc:VPC
  • vpc:IsDefaultVSwitch
  • vpc:IsDefaultVpc
  • ecs:IsDiskEncrypted
  • ecs:InstanceType
  • ecs:InstanceTypeFamily
  • ecs:ImageOwnerId
  • ecs:ImageSource
  • ecs:NotSpecifySecurityGroupId
  • ecs:LoginAsNonRoot
  • ecs:IsSystemDiskByokEncrypted
  • ecs:IsDiskByokEncrypted
  • ecs:PasswordInherit
  • ecs:PasswordCustomized
  • ecs:IsSystemDiskEncrypted
  • ecs:ImagePlatform
  • ecs:LoginAsNonRoot
  • ecs:IsSystemDiskByokEncrypted
  • ecs:IsDiskByokEncrypted
  • ecs:PasswordInherit
  • ecs:PasswordCustomized
  • ecs:IsSystemDiskEncrypted
  • ecs:ImagePlatform
  • ecs:SecurityHardeningMode
  • vpc:CreateDefaultVpc
  • ecs:SecurityEnhancementStrategy
  • ecs:AssociatePublicIpAddress
  • ecs:InstanceChargeType

请求参数

名称

类型

必填

描述

示例值

RegionId

string

实例所属的地域 ID。您可以调用 DescribeRegions 查看最新的阿里云地域列表。

cn-hangzhou

ImageId

string

镜像文件 ID,启动实例时选择的镜像资源。如需使用云市场镜像,您可以在云市场镜像商详情页查看ImageId。当您不通过指定ImageFamily选用镜像族系最新可用镜像时,此参数必选。

ubuntu_18_04_64_20G_alibase_20190624.vhd

ImageFamily

string

镜像族系名称,通过设置该参数来获取当前镜像族系内最新可用镜像来创建实例。

  • 设置了ImageId,则不能设置该参数。

  • 未设置ImageId,则可以设置该参数。

hangzhou-daily-update

InstanceType

string

实例的资源规格。

ecs.g6.large

SecurityGroupId

string

指定新创建实例所属于的安全组 ID。

sg-bp15ed6xe1yxeycg****

InstanceName

string

实例的名称。长度为 2~128 个字符,支持 Unicode 中 letter 分类下的字符(其中包括英文、中文等)和数字。可以包含半角冒号(:)、下划线(_)、半角句号(.)或者短划线(-)。如果没有指定该参数,默认值为实例 ID。

k8s-node-[1,4]-alibabacloud

InternetChargeType

string

网络计费类型。取值范围:

  • PayByBandwidth:按固定带宽计费。

  • PayByTraffic(默认):按使用流量计费。

说明

按使用流量计费模式下的出入带宽峰值都是带宽上限,不作为业务承诺指标。当出现资源争抢时,带宽峰值可能会受到限制。如果您的业务需要有带宽的保障,请使用按固定带宽计费模式。

PayByTraffic

AutoRenew

boolean

是否要自动续费。当参数InstanceChargeType取值PrePaid时才生效。取值范围:

  • true:自动续费。

  • false(默认):不自动续费。

true

AutoRenewPeriod

integer

每次自动续费的时长,当参数 AutoRenew 取值 True 时,该参数为必填参数。

PeriodUnit 为 Week 时,AutoRenewPeriod 取值:1、2、3。

PeriodUnit 为 Month 时,AutoRenewPeriod 取值:1、2、3、6、12。

2

InternetMaxBandwidthIn

integer

公网入带宽最大值,单位为 Mbit/s。取值范围:

  • 当所购出网带宽小于等于 10 Mbit/s 时:1~10。默认值为 10。

  • 当所购出网带宽大于 10 Mbit/s 时:1~InternetMaxBandwidthOut的取值,默认为InternetMaxBandwidthOut的取值。

50

InternetMaxBandwidthOut

integer

公网出带宽最大值,单位为 Mbit/s。取值范围为 0~100。

默认值为 0。

5

HostName

string

云服务器的主机名。

  • 半角句号(.)或短划线(-)不能作为首尾字符,更不能连续使用。

  • Windows 实例:字符长度为 2~15,不支持半角句号(.),不能全是数字。允许大小写英文字母、数字和短划线(-)。

  • 其他类型实例(Linux 等):字符长度为 2~64,支持多个半角句号(.),英文句号之间为一段,每段允许大小写英文字母、数字和短划线(-)。

LocalHostName

Password

string

实例的密码。长度为 8 至 30 个字符,必须同时包含大小写英文字母、数字和特殊符号中的三类字符。特殊符号可以是:

()`~!@#$%^&*-_+=|{}[]:;'<>,.?/

您需要注意:

  • 如果传入 Password 参数,建议您使用 HTTPS 协议发送请求,避免密码泄露。

  • Windows 实例不能以正斜线(/)为密码首字符。

  • 部分操作系统的实例不支持配置密码,仅支持配置密钥对。例如:Others Linux、Fedora CoreOS。

TestEcs123!

PasswordInherit

boolean

是否使用镜像预设的密码。使用该参数时,Password 参数必须为空,同时您需要确保使用的镜像已经设置了密码。

false

DeploymentSetId

string

部署集 ID。

ds-bp1brhwhoqinyjd6****

DeploymentSetGroupNo

integer

如果您设置的部署集对应的策略为部署集组高可用策略(AvailabilityGroup)时,可以通过该参数指定实例在部署集中的分组号。取值范围为 1~7。

1

ZoneId

string

实例所属的可用区 ID。更多信息,请参见 DescribeZones 获取可用区列表。

说明

如果您指定了VSwitchId参数,则指定的ZoneId参数必须和交换机所在的可用区保持一致。您也可以不指定ZoneId参数,系统将自动选择指定的交换机所在的可用区。

默认值:空,系统自动选择。

cn-hangzhou-g

ClusterId

string

实例所在的集群 ID。

说明

该参数即将被弃用,为提高兼容性,请尽量使用其他参数。

c-bp67acfmxazb4p****

ClientToken

string

保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken 只支持 ASCII 字符,且不能超过 64 个字符。更多信息,请参见如何保证幂等性

123e4567-e89b-12d3-a456-426655440000

VlanId

string

虚拟局域网 ID。

10

InnerIpAddress

string

实例的内网 IP。

192.168.**.**

SystemDisk.Size

integer

系统盘大小,单位为 GiB。取值范围为:

  • 普通云盘:20~500

  • 其他类型云盘:20~2048

该参数的取值必须大于或者等于 max{20, ImageSize}。

默认值:max{40, ImageSize} 。

40

SystemDisk.Category

string

系统盘的云盘种类。取值范围:

  • cloud_efficiency:高效云盘。

  • cloud_ssd:SSD 云盘。

  • cloud_essd:ESSD 云盘。

  • cloud:普通云盘。

  • cloud_auto:ESSD AutoPL 云盘。

  • cloud_essd_entry:ESSD Entry 云盘。

说明

仅当InstanceType设置为通用算力型实例规格族 u1ecs.u1)或经济型实例规格族 eecs.e)时,该参数支持取cloud_essd_entry值。

已停售的实例规格且非 I/O 优化实例默认值为 cloud,否则默认值为 cloud_efficiency。

cloud_ssd

SystemDisk.DiskName

string

系统盘名称。长度为 2~128 个字符,支持 Unicode 中 letter 分类下的字符(其中包括英文、中文和数字等)。可以包含半角冒号(:)、下划线(_)、半角句号(.)或者短划线(-)。

默认值为空。

SystemDiskName

SystemDisk.Description

string

系统盘描述。长度为 2~256 个英文或中文字符,不能以http://https://开头。

默认值为空。

TestDescription

SystemDisk.PerformanceLevel

string

创建 ESSD 云盘作为系统盘使用时,设置云盘的性能等级。取值范围:

  • PL0:单盘最高随机读写 IOPS 1 万。

  • PL1(默认):单盘最高随机读写 IOPS 5 万。

  • PL2:单盘最高随机读写 IOPS 10 万。

  • PL3:单盘最高随机读写 IOPS 100 万。

有关如何选择 ESSD 性能等级,请参见 ESSD 云盘

PL1

NodeControllerId

string

说明

该参数正在邀测中,暂不支持使用。

null

Description

string

实例的描述。长度为 2~256 个英文或中文字符,不能以http://https://开头。

默认值为空。

InstanceTest

VSwitchId

string

如果是创建 VPC 类型的实例,需要指定交换机 ID。您可以调用 DescribeVSwitches 查询已创建的交换机的相关信息。

说明

如果您指定了VSwitchId参数,则指定的ZoneId参数必须和交换机所在的可用区保持一致。您也可以不指定ZoneId参数,系统将自动选择指定的交换机所在的可用区。

vsw-bp1s5fnvk4gn2tws0****

PrivateIpAddress

string

实例私网 IP 地址。该 IP 地址必须为交换机(VSwitchId)网段的空闲地址。

172.16.236.*

IoOptimized

string

是否为 I/O 优化实例。取值范围:

  • none:非 I/O 优化。

  • optimized:I/O 优化。

已停售的实例规格实例默认值是 none。

其他实例规格默认值是 optimized。

optimized

UseAdditionalService

boolean

是否使用阿里云提供的虚拟机系统配置(Windows:NTP、KMS;Linux:NTP、YUM)。

true

InstanceChargeType

string

实例的付费方式。取值范围:

  • PrePaid:包年包月。选择该类付费方式时,您必须确认自己的账号支持余额支付/信用支付,否则将返回 InvalidPayMethod的错误提示。

  • PostPaid(默认):按量付费。

PrePaid

Period

integer

购买资源的时长,单位由PeriodUnit指定。当参数InstanceChargeType取值为PrePaid时才生效且为必选值。一旦指定了DedicatedHostId,则取值范围不能超过专有宿主机的订阅时长。取值范围:

  • PeriodUnit=Week 时,Period 取值:1、2、3、4。

  • PeriodUnit=Month 时,Period 取值:1、2、3、4、5、6、7、8、9、12、24、36、48、60。

1

PeriodUnit

string

购买资源的时长。取值范围:

  • Week。

  • Month。

默认值为 Month。

Month

UserData

string

实例自定义数据,需要以 Base64 方式编码,原始数据最多为 32 KB。

ZWNobyBoZWxsbyBlY3Mh

SpotStrategy

string

实例的抢占策略。当参数InstanceChargeType取值为PostPaid时生效。取值范围:

  • NoSpot(默认):正常按量付费实例。

  • SpotWithPriceLimit:设置上限价格的抢占式实例。

  • SpotAsPriceGo:系统自动出价,跟随当前市场实际价格。

NoSpot

KeyPairName

string

密钥对名称。

说明

Windows 实例,忽略该参数。默认为空。即使填写了该参数,仍旧只执行Password的内容。

KeyPairTestName

SpotPriceLimit

number

设置实例的每小时最高价格。支持最多 3 位小数,参数SpotStrategy取值为SpotWithPriceLimit时生效。

0.98

SpotDuration

integer

抢占式实例的保留时长,单位为小时。默认值:1。取值范围:

  • 1:创建后阿里云会保证实例运行 1 小时不会被自动释放;超过 1 小时后,系统会自动比较出价与市场价格、检查资源库存,来决定实例的持有和回收。

  • 0:创建后,阿里云不保证实例运行 1 小时,系统会自动比较出价与市场价格、检查资源库存,来决定实例的持有和回收。

说明
  • 该参数目前只支持设置为 0 或 1。

  • 抢占式实例按秒计费,建议您结合具体任务执行耗时来选择合适的保留时长。

  • 实例回收前 5 分钟阿里云会通过 ECS 系统事件向您发送通知。

1

SpotInterruptionBehavior

string

抢占实例中断模式。取值范围:

默认值:Terminate。

Terminate

RamRoleName

string

实例 RAM 角色名称。您可以使用 RAM API ListRoles 查询您已创建的实例 RAM 角色。

RAMTestName

SecurityEnhancementStrategy

string

是否开启安全加固。取值范围:

  • Active:启用安全加固,只对系统镜像生效。

  • Deactive:不启用安全加固,对所有镜像类型生效。

Active

ResourceGroupId

string

实例所在的企业资源组 ID。

rg-bp67acfmxazb4p****

HpcClusterId

string

实例所属的 HPC 集群 ID。

hpc-bp67acfmxazb4p****

DryRun

boolean

是否只预检此次请求。取值范围:

  • true:发送检查请求,不会创建实例。检查项包括是否填写了必需参数、请求格式、业务限制和 ECS 库存。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码DryRunOperation

  • false(默认):发送正常请求,通过检查后直接创建实例。

false

DedicatedHostId

string

专有宿主机 ID。 您可以通过 DescribeDedicatedHosts 查询专有宿主机 ID 列表。

重要 专有宿主机不支持创建抢占式实例,指定DedicatedHostId参数后,会自动忽略请求中的SpotStrategySpotPriceLimit设置。

dh-bp67acfmxazb4p****

CreditSpecification

string

设置突发性能实例的运行模式。取值范围:

Standard

DeletionProtection

boolean

实例释放保护属性,指定是否支持通过控制台或 API( DeleteInstance )释放实例。

  • true:开启实例释放保护。

  • false(默认):关闭实例释放保护。

说明

该属性仅适用于按量付费实例,且只能限制手动释放操作,对系统释放操作不生效。

false

HibernationOptions.Configured

boolean

说明

该参数正在邀测中,暂不支持使用。

false

Affinity

string

专有宿主机实例是否与专有宿主机关联。取值范围:

  • default:实例不与专有宿主机关联。已启用节省停机模式的实例,停机后再次启动时,若原专有宿主机可用资源不足,则实例被放置在自动部署资源池的其它专有宿主机上。

  • host:实例与专有宿主机关联。已启用节省停机模式的实例,停机后再次启动时,仍放置在原专有宿主机上。若原专有宿主机可用资源不足,则实例重启失败。

默认值为 default。

default

Tenancy

string

是否在专有宿主机上创建实例。取值范围:

  • default:在非专有宿主机上创建实例。

  • host:在专有宿主机上创建实例。若您不指定DedicatedHostId,则由阿里云自动选择专有宿主机部署实例。

默认值为 default。

default

StorageSetId

string

存储集 ID。

ss-bp1j4i2jdf3owlhe****

StorageSetPartitionNumber

integer

存储集中的最大分区数量。取值范围:大于等于 2。

2

HttpEndpoint

string

是否启用实例元数据的访问通道。取值范围:

  • enabled:启用。

  • disabled:禁用。

默认值为 enabled。

说明

有关实例元数据的信息,请参见实例元数据概述

enabled

HttpTokens

string

访问实例元数据时是否强制使用加固模式(IMDSv2)。取值范围:

  • optional:不强制使用。

  • required:强制使用。设置该取值后,普通模式无法访问实例元数据。

默认值为 optional。

说明

有关访问实例元数据的模式,请参见实例元数据访问模式

optional

HttpPutResponseHopLimit

integer

说明

该参数暂未开放使用。

0

PrivatePoolOptions.MatchCriteria

string

实例启动的私有池容量选项。弹性保障服务或容量预定服务在生效后会生成私有池容量,供实例启动时选择。取值范围:

  • Open:开放模式。将自动匹配开放类型的私有池容量。如果没有符合条件的私有池容量,则使用公共池资源启动。该模式下无需设置PrivatePoolOptions.Id参数。

  • Target:指定模式。使用指定的私有池容量启动实例,如果该私有池容量不可用,则实例会启动失败。该模式下必须指定私有池 ID,即PrivatePoolOptions.Id参数为必填项。

  • None:不使用模式。实例启动将不使用私有池容量。

默认值为 None。

以下任一场景,实例启动的私有池容量选项只能取值None或不传值。

  • 创建抢占式实例。

  • 创建经典网络类型的 ECS 实例。

  • 在专有宿主机 DDH 上创建 ECS 实例。

Open

PrivatePoolOptions.Id

string

私有池 ID。即弹性保障服务 ID 或容量预定服务 ID。

eap-bp67acfmxazb4****

DataDisk

array<object>

数据盘列表。

object

PerformanceLevel

string

创建 ESSD 云盘作为数据盘使用时,设置云盘的性能等级。N 的取值必须和DataDisk.N.Category=cloud_essd中的 N 保持一致。取值范围:

  • PL0:单盘最高随机读写 IOPS 1 万。

  • PL1(默认):单盘最高随机读写 IOPS 5 万。

  • PL2:单盘最高随机读写 IOPS 10 万。

  • PL3:单盘最高随机读写 IOPS 100 万。

有关如何选择 ESSD 性能等级,请参见 ESSD 云盘

PL2

Description

string

数据盘描述。长度为 2~256 个英文或中文字符,不能以http://https://开头。

TestDescription

SnapshotId

string

创建数据盘 N 使用的快照。N 的取值范围为 1~16。

  • 指定参数DataDisk.N.SnapshotId后,参数DataDisk.N.Size会被忽略,实际创建的云盘大小为指定的快照的大小。

  • 不能使用早于 2013 年 7 月 15 日(含)创建的快照,请求会报错被拒绝。

s-bp17441ohwka0yuh****

Size

integer

第 n 个数据盘的容量大小,N 的取值范围为 1~16,内存单位为 GiB。取值范围:

  • cloud_efficiency:20~32768。

  • cloud_ssd:20~32768。

  • cloud_essd:具体取值范围与 DataDisk.N.PerformanceLevel的取值有关。
    • PL0:1~65,536。

    • PL1:20~65,536。

    • PL2:461~65,536。

    • PL3:1261~65,536。

  • cloud:5~2000。

说明

该参数的取值必须大于等于参数SnapshotId指定的快照的大小。

2000

Device

string

数据盘的挂载点。

说明

该参数仅用于全镜像(整机镜像)场景。您可以通过将此参数设置为全镜像中数据盘对应的挂载点,并修改对应的DataDisk.N.SizeDataDisk.N.Category参数,达到修改全镜像中数据盘磁盘种类和大小的目的。

/dev/xvdb

DiskName

string

数据盘名称。长度为 2~128 个字符,支持 Unicode 中 letter 分类下的字符(其中包括英文、中文和数字等)。可以包含半角冒号(:)、下划线(_)、半角句号(.)或者短划线(-)。

DataDiskName

Category

string

数据盘 N 的云盘种类。取值范围:

  • cloud_efficiency:高效云盘。

  • cloud_ssd:SSD 云盘。

  • cloud_essd:ESSD 云盘。

  • cloud:普通云盘。

  • cloud_auto:ESSD AutoPL 云盘。

  • cloud_essd_entry:ESSD Entry 云盘。
    说明

    仅当InstanceType设置为ecs.u1ecs.e规格族时,该参数支持cloud_essd_entry

  • elastic_ephemeral_disk_standard:弹性临时盘-标准版。

  • elastic_ephemeral_disk_premium:弹性临时盘-高级版。

I/O 优化实例的默认值为 cloud_efficiency,非 I/O 优化实例的默认值为 cloud。

cloud_ssd

DeleteWithInstance

boolean

数据盘是否随实例释放。

  • true:是。

  • false:否。

默认值为 true。

true

KMSKeyId

string

云盘使用的 KMS 密钥 ID。

0e478b7a-4262-4802-b8cb-00d****

EncryptAlgorithm

string

说明

该参数暂未开放使用。

null

Encrypted

boolean

数据盘 N 是否加密。

  • true:是。

  • false:否。

默认值为 false。

false

StorageClusterId

string

专属块存储集群 ID。如果您在创建 ECS 实例时,需要使用专属块存储集群中的云盘资源作为数据盘,请设置该参数。

dbsc-j5e1sf2vaf5he8m2****

Arn

array<object>

说明

该参数正在邀测中,暂不支持使用。

object

RoleType

string

说明

该参数正在邀测中,暂不支持使用。

Primary

Rolearn

string

说明

该参数正在邀测中,暂不支持使用。

acs:ram::123456789012****:role/adminrole

AssumeRoleFor

integer

说明

该参数正在邀测中,暂不支持使用。

1234567890

Tag

array<object>

标签列表。

object

标签列表。

key

string

标签键。

说明

为提高兼容性,建议您尽量使用 Tag.N.Key 参数。

Test

Key

string

实例、云盘和主网卡的标签键。N 的取值范围:1~20。一旦传入该值,则不允许为空字符串。最多支持 128 个字符,不能以aliyunacs:开头,不能包含http://https://

TestKey

Value

string

实例、云盘和主网卡的标签值。N 的取值范围:1~20。一旦传入该值,可以为空字符串。最多支持 128 个字符,不能包含http://或者https://

TestValue

value

string

标签值。

说明

为提高兼容性,建议您尽量使用 Tag.N.Value 参数。

Test

SystemDisk

object

系统盘相关参数,目前专属块存储集群 ID(StorageClusterId)需要通过该参数设置参数值。

StorageClusterId

string

专属块存储集群 ID。如果您在创建 ECS 实例时,需要使用专属块存储集群中的云盘资源作为系统盘,请设置该参数。

dbsc-j5e1sf2vaf5he8m2****

返回参数

名称

类型

描述

示例值

object

RequestId

string

请求 ID。

473469C7-AA6F-4DC5-B3DB-A3DC0DE3****

InstanceId

string

实例 ID。

i-bp67acfmxazb4p****

OrderId

string

订单 ID。该参数只有创建包年包月 ECS 实例(请求参数InstanceChargeType=PrePaid)时有返回值。

1234567890

TradePrice

number

订单成交价。

0.165

示例

正常返回示例

JSON格式

{
  "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****",
  "InstanceId": "i-bp67acfmxazb4p****",
  "OrderId": "1234567890",
  "TradePrice": 0.165
}

错误码

HTTP status code

错误码

错误信息

描述

400 InvalidStorageClusterId.CapacityNotEnough The remaining capacity of the current dedicated storage cluster is less than the size of disk. 磁盘所在专属存储集群的可用容量不足
400 InvalidStorageClusterId.StatusNotSupport The current status of the dedicated storage cluster cannot create a cloud disk yet.
400 InvalidStorageClusterId.ZoneIdEmpty The specified param ZoneId cannot be empty when StorageClusterId given.
400 InvalidStorageClusterId.PerformanceLevelNotMatch The current dedicated storage cluster cannot create this performance level of disk.
400 InvalidStorageClusterId.CategoryNotMatch The current dedicated storage cluster cannot create this category of disk.
400 InvalidStorageClusterId.DiskSizeEmpty The specified param DiskSize cannot be empty when StorageClusterId given.
400 InvalidInstanceType.ValueUnauthorized The specified InstanceType is not authorized.
400 InvalidInternetChargeType.ValueNotSupported The specified InternetChargeType is not valid. 暂不支持指定的网络付费类型的实例,请确认相关参数是否正确。
400 InvalidParameter The specified parameter "InternetMaxBandwidthOut" is not valid.
400 InvalidSystemDiskCategory.ValueNotSupported The specified parameter " SystemDisk.Category " is not valid.
400 InvalidDataDiskSize.ValueNotSupported The specified DataDisk.n.Size beyond the permitted range, or the capacity of snapshot exceeds the size limit of the specified disk category. 指定的 DataDisk.n.Size 超出允许范围,或者快照的容量超过指定磁盘类别的大小限制。
400 InvalidInstanceType.ValueNotSupported The specified InstanceType does not exist or beyond the permitted range. 您指定的实例规格不存在,或者您没有权限操作此规格的实例。
400 InvalidDescription.Malformed The specified parameter "Description" is not valid. 指定的资源描述格式不合法。长度为2-256个字符,不能以http://和https://开头。
400 InvalidHostName.Malformed The specified parameter "HostName" is not valid. 指定的参数 HostName 不合法
400 InvalidPassword.Malformed The specified parameter "Password" is not valid. 指定的参数 Password 不合法
400 InvalidPasswordParam.Mismatch The input password should be null when passwdInherit is true. 启用 PasswdInherit 后,用户名密码应该设置为空。
400 InvalidDiskName.Malformed The specified parameter "SystemDisk.DiskName or DataDisk.n.DiskName" is not valid.
400 InvalidDiskDescription.Malformed The specified parameter "SystemDisk.DiskDescription" or "DataDisk.n.Description" is not valid. 参数SyatemDisk.DiskDescriptionDataDisk.n.Description不合法。
400 InvalidDataDiskCategory.ValueNotSupported The specified parameter "DataDisk.n.Category" is not valid.
400 InvalidDataDevice.Malformed The specified parameter "DataDisk.n.Device" is not valid.
400 InvalidNodeControllerId.Malformed The specified parameter "NodeControllerId" is not valid.
400 InvalidInnerIpAddress.Malformed The specified parameter "InnerIpAddress" is not valid.
400 InvalidInnerIpAddress.Unusable The specified InnerIpAddress is already used or not found in usable ip range. 指定的 InnerIpAddress 不可用。
400 OperationDenied The specified parameter "VlanId" is not valid or vlan has not enough IP address.
400 InvalidParameter.Conflict The specified image does not support the specified instance type. 指定的镜像不能用于指定的实例规格。
400 ImageNotSupportCloudInit The specified image does not support cloud-init. 该镜像不支持CloudInit。
400 InvalidSnapshotId.BasedSnapshotTooOld The specified snapshot is created before 2013-07-15. 指定的快照创建于 2013-07-15 之前。
400 QuotaExceed.AfterpayInstance The maximum number of Pay-As-You-Go instances is exceeded: %s.
400 InvalidMarketImageChargeType.NotSupport The specified chargeType of marketImage is unsupported. 暂不支持该市场镜像的付费类型。
400 InvalidInstanceName.Malformed The specified parameter "InstanceName" is not valid. InstanceName参数不符合规则。
400 InvalidParameter.Mismatch Specified security group and virtual switch are not in the same VPC. 指定的安全组与虚拟交换机不在同一专有网络中。
400 InvalidNetworkType.Mismatch Specified parameter InternetMaxBandwidthIn or InternetMaxBandwidthOut conflict with instance network type. 网络类型不匹配。
400 InvalidPrivateIpAddress Specified private IP address is not in the CIDR block of virtual switch. 指定的私有 IP 地址不属于交换机的 CIDR 网段。
400 InvalidPrivateIpAddress.Malformed Specified private IP address is invalid.
400 InvalidPrivateIpAddress.Duplicated Specified private IP address is duplicated.
400 QuotaExceeded.PrivateIpAddress Don't have enough private IPs in this switch.
400 QuotaExceeded Living instances quota exceeded in this VPC.
400 IncorrectVSwitchStatus The current status of virtual switch does not support this operation. 指定的虚拟交换机处于 pending 状态,无法删除。
400 ResourceNotAvailable Resource you requested is not available in this region or zone.
400 MissingParameter The input parameter "VSwitchId" that is mandatory for processing this request is not supplied.
400 InvalidDiskCategory.Mismatch The specified disk categories' combination is not supported.
400 InvalidIoOptimizedValue.ValueNotSupported IoOptimized value not supported. 不支持指定的I/O优化值。
400 MissingParamter The specified parameter "Period" is not null. 操作中缺少了必要的参数 "Period"
400 InvalidPeriod The specified period is not valid. 指定的时段不合法。
400 InstanceDiskCategoryLimitExceed The specified DataDisk.n.Size beyond the permitted range, or the capacity of snapshot exceeds the size limit of the specified disk category. 指定的 DataDisk.n.Size 超出允许范围,或者快照的容量超过了指定磁盘类别的大小限制。
400 InvalidParameter.Bandwidth The specified parameter Bandwidth is not valid. 指定的 Bandwidth 不合法。
400 InvalidIPAddress.AlreadyUsed The specified IPAddress is already used by other resource. 其他资源正在使用指定的 IpAddress 。
400 InvalidUserData.SizeExceeded The specified parameter "UserData" exceeds the size.
400 InvalidUserData.NotSupported The specified parameter "UserData" only support the vpc and IoOptimized Instance.
400 InstanceDiskNumber.LimitExceed The total number of specified disk in an instance exceeds. 实例下磁盘数目超过限制。
400 Account.Arrearage Your account has an outstanding payment. 您的账号存在未支付的款项。
400 InvalidDiskCategory.ValueNotSupported The specified parameter "DiskCategory" is not valid. 指定的参数云盘类型DiskCategory无效。
400 InvalidAutoRenewPeriod.ValueNotSupported The specified autoRenewPeriod is not valid. 指定的参数 AutoRenewPeriod 不合法。
400 InvalidSpotStrategy The specified SpotStrategy is not valid. 指定的 SpotStrategy 参数无效。
400 InvalidSpotParam.EmptyZoneID The specified ZoneId is empty when SpotStrategy is set. 设置 SpotStrategy 时 ZoneId 为空。
400 InvalidSpotPriceLimit The specified SpotPriceLimitis not valid. 指定的 SpotPriceLimit 参数有误。
400 InvalidSpotDuration The specified SpotDuration is not valid. 指定的 SpotDuration 参数有误。
400 InvalidSpotAuthorized The specified Spot param is unauthorized. 指定的 SpotDuration 参数值未获得授权。
400 InvalidSpotPrepaid The specified Spot type is not support PrePay Instance. 指定的抢占式实例不支持包年包月的付费方式。
400 InvalidSpotAliUid The specified UID is not authorized to use SPOT instance. 用户账户未获得创建抢占式实例的权限。
400 InvalidTagKey.Malformed The specified Tag.n.Key is not valid. 指定的标签键参数有误。
400 RegionUnauthorized %s 该地域未被授权。%s为变量,将根据调用API的实际情况动态返回错误信息。
400 Zone.NotOnSale %s 该可用区暂时关闭了售卖。%s为变量,将根据调用API的实际情况动态返回错误信息。
400 InvalidSystemDiskSize.ValueNotSupported %s 当前操作不支持设置的系统盘大小。
400 InvalidParameter.EncryptedIllegal %s 您输入的参数无效,请确认您的加密是否合法。%s为变量,将根据调用 API 的实际情况动态返回错误信息。
400 InvalidParameter.EncryptedNotSupported %s 您输入的参数无效,暂时不支持您的加密操作。%s为变量,将根据调用API的实际情况动态返回错误信息。
400 EncryptedOption.Conflict %s 参数不支持(加密盘)。%s为变量,将根据调用API的实际情况动态返回错误信息。
400 InvalidSpotPriceLimit.LowerThanPublicPrice The specified parameter "soptPriceLimit" can't be lower than current public price. 抢占式实例出价低于当前市场价格
400 InvalidHpcClusterId.Unnecessary The specified HpcClusterId is unnecessary. 无需指定参数 HpcClusterId。
400 InvalidVSwitchId.Necessary The VSwitchId is necessary. 参数 VSwitchId 不能为空。
400 InvalidHpcClusterId.Necessary The HpcClusterId is necessary. 参数 HpcClusterId 不能为空。
400 InvalidHpcClusterId.NotFound The specified HpcClusterId is not found. 指定的参数 HpcClusterId 不存在。
400 InvalidHpcClusterId.Creating The specified HpcClusterId is creating. 指定的 HPC 集群正在创建中。
400 InvalidPeriodUnit.ValueNotSupported The specified parameter PeriodUnit is not valid. 参数 PeriodUnit 无效。
400 IncorrectImageStatus Encrypted snapshots do not support this operation. 加密的快照不支持此操作。
400 InvalidTagValue.Malformed The specified Tag.n.Value is not valid. 指定的标签值参数有误。
400 InvalidSecurityGroup.NotInDefaultVpc %s 该安全组不在默认专有网络下,请确认安全组参数是否正确。
400 VpcNotFound Vpc is not found according to the specified VSwitch or the vpc does not belong to you. 根据指定的 Vswitch 找不到对应的 VPC ,或该 VPC 不属于您。
400 InvalidSpotInterruptionBehavior %s SpotInterruptionBehavior 不支持。
400 OperationDenied.IllegalPaymentPolicy The current payment policy is illegal, please connect your service provider to authenticate relative agreement. 当前的付款政策是非法的,请联系您的服务提供商以认证相关协议。
400 InvalidDeploymentOnHost %s 该实例不能部署在指定的部署集上。
400 InvalidInstanceChargeType.NotSupport The Dedicated host not support the specified Instance charge type. 此专有宿主机不支持指定的付费类型的实例。
400 InvalidNetworkType.NotSupported The classic networkType not support create ECS on dedicatedHost. DDH上不能创建经典网络实例
400 InvalidDedicatedHostId.NotFound The specified DedicatedHostId does not exist. 指定的专有宿主机不存在。
400 InvalidDedicatedHostStatus.NotSupport Operation denied due to dedicated host status. 专有宿主机当前的状态不支持此操作。
400 IncorrectDedicatedHostStatus The current status of the resource does not support this operation. 当前资源的状态不支持此操作。
400 ChargeTypeViolation.PostPaidDedicatedHost Prepaid instance onto postpaid dedicated host is not allowed. 包年包月的实例无法添加到按量付费的专有宿主机上。
400 InvalidPeriod.ExceededDedicatedHost Instance expired date can't exceed dedicated host expired date.
400 DedicatedHostType.Unmatched The specified DedicatedHostType doesn?t match the instance type. 指定的专有宿主机类型与实例类型不匹配。
400 NoAvaliableDedicatedHost There's no enough resource on the specified dedicated host. 指定的专属主机上没有足够的资源
400 InvalidParameter.Affinity The specified Affinity is invalid.
400 InvalidParameter.Tenancy The specified Tenancy is invalid.
400 InvalidParam.Tenancy The specified Tenancy is invalid. 您指定的参数 Tenancy 无效。
400 InvalidParameter.CreditSpecification The specified CreditSpecification is not supported in this region. 该地区不支持指定的突发性能实例的运行模式。
400 InvalidInstanceType.NotSupported The specified instanceType is not supported by the deployment set. 当前部署集不支持您指定的实例规格,请选择其它实例规格。
400 InvalidVpcZone.NotSupported Zone of the specified VSwitch is not available for creating, please try in other zones. 指定的可用区不支持创建 DefaultVswitch ,请尝试其他可用区。
400 IncorrectDefaultVpcStatus The status of the default VPC is invalid. 默认 VPC 的状态无效。
400 IoOptimized.NotSupported The specified instance must be IoOptimized instance when kmsKeyId is not empty. 设置 KMSKeyId 后,您必须使用 I/O 优化实例。
400 InvalidClientToken.ValueNotSupported The ClientToken provided is invalid. 指定的 ClientToken 不合法。
400 InvalidCapacityReservationId.NotFound The specified CapacityReservationId does not exist.
400 LackResource There's no enough resource on the specified capacity reservation.
400 Duplicate.TagKey The Tag.N.Key contain duplicate key. 标签中存在重复的键,请保持键的唯一性。
400 InvalidParameter.Arns The specified Arns is not valid. Arns参数无效,请检查后重新传递。
400 InvalidOperation.NotSupportEnterpriseGroup The specified instance type doesn't support enterprise level security group.
400 InvalidOperation.MultiGroupType The specified instance can't join different types of security group.
400 InvalidAccountStatus.PayAmountLimitExceeded Your account is being restricted, because you have no default payment method or you are not authorized.
400 InvalidPerformanceLevel.Malformed The specified parameter DataDisk.n.PerformanceLevel is not valid. 指定数据盘的参数 PerformanceLevel 无效
400 InvalidSecurityGroup.NetworkType %s
400 QuotaExceeded.PrepayDataDiskCapacity The quota of prepay data disk capacity exceeds.
400 InvalidCustomInstanceType.NotSupported The specified custom instance type is invalid.
400 InvalidOperation.EniCountExceeded The maximum number of eni in a enterprise security group is exceeded. 企业安全组内网卡的数量达到了上限。
400 AccountForbidden.ProductCreationLimited The commodity must be officially operated by Aliyun and in pay-as-you-go billing method. 集团上云客户只能购买按量付费的 ECS,且不能购买第三方的商品比如由镜像市场提供的镜像。请检查参数,传入符合条件的参数重试。
400 UnexpectedImageFamily.ImageIdSupplied The input parameter ImageFamily must be null when image id is set. 当填写镜像ID时,参数ImageFamily必须为空。
400 InvalidEncrypted.NotMatchEncryptAlgorithm The specified parameter Encrypted must be true when EncryptAlgorithm is not empty.
400 InvalidEncrypted.NotMatchKmsKeyId The specified parameter Encrypted must be true when KmsKeyId is not empty.
400 InvalidEncryptAlgorithm.NotMatchSnapshot The specified parameter EncryptAlgorithm is different from the encrypt algorithm of the snapshot.
400 InvalidKmsKeyId.NotMatchSnapshot The specified parameter KmsKeyId is different from the KmsKeyId of the snapshot.
400 InvalidEncryptAlgorithm The specified parameter EncryptAlgorithm is not valid.
400 InvalidHttpEndpoint.NotSupported The specified HttpEndpoint not supported, you can use enabled(default) or disabled. 指定的参数 HttpEndpoint 值非法,请使用enabled(默认)或者disabled。
400 InvalidHttpTokens.NotSupported The specified HttpTokens not supported, you can use optional(default) or required. 指定的参数 HttpTokens 值非法,请使用optional(默认)或者required。
400 InvalidHttpPutResponseHopLimit.NotSupported The specified HttpPutResponseHopLimit not supported, more than 1 and less than 64 is reasonable. 指定的参数 HttpPutResponseHopLimit 值非法,取值范围必须大于等于1且小于等于64。
400 InvalidOperation.VpcHasEnabledAdvancedNetworkFeature The specified vpc has enabled advanced network feature. VPC开启了高阶特性,不能创建低规格的ECS。
400 InvalidChargeType.CapacityReservationNotSupported %s
400 InvalidPerformanceLevel.ValueNotSupported The current ZoneId or InstanceType does not support PL0 of cloud_essd.
400 InvalidKMSKeyId.NotSymmetric The specified parameter KmsKeyId must be symmetric. 加密使用的KMSKey必须为对称加密密钥。
400 InvalidDedicatedHostClusterId.NotFound The specified DedicatedHostClusterId does not exist.
400 InvalidDedicatedHostClusterId.InValid The specified Dedicated Host Cluster is invalid.
400 InvalidOperation.UserNotSupported Reseller user do not support purchase at the moment.
400 InvalidDeploymentSetId.NotFound The parameter DeploymentSetId is invalid.
400 MissingParameter.PrivatePoolOptionsId The specified PrivatePoolOptions.Id should not be null. PrivatePoolOptions.Id 参数不应为空。
400 Invalid.PrivatePoolOptionsId The specified PrivatePoolOptions.Id is invalid. PrivatePoolOptions.Id 参数有误。
400 DedicatedHostNotSupported DedicatedHost is not supported for PrivatePool. 私有池不支持专有宿主机。
400 SpotNotSupported Spot is not supported for PrivatePool. 私有池不支持抢占式实例。
400 ClassicNetworkNotSupported Classic network is not supported for PrivatePool. 私有池不支持经典网络类型实例。
400 Invalid.InstanceId Instance does not exist. 实例不存在。
400 Invalid.PrivatePoolOptions.MatchCriteria Target mode does not support this operation. Target模式不支持本次操作。
400 MissingParameter.PrivatePoolOptions.Id The specified PrivatePoolOptions.Id should not be null. PrivatePoolOptions.Id 参数不能为空。
400 Invalid.PrivatePoolOptions.Id The PrivatePool does not exist. 私有池不存在。
400 Invalid.InstanceType The InstanceType does not match the PrivatePool. 实例类型与私有池不匹配。
400 Invalid.InstanceChargeType The InstanceChargeType does not match the PrivatePool. 实例计费类型与私有池不匹配。
400 Invalid.ZoneId The ZoneId does not match the PrivatePool. 可用区与私有池不匹配。
400 Invalid.PrivatePoolOptions.NoStock The PrivatePool has been used up. 指定的私有池(弹性保障、资源预定)容量已经使用完。
400 InvalidPlatform.ValueNotSupported The Platform does not match the PrivatePool. 指定的Platform参数与私有池不匹配。
400 Invalid.PrivatePoolOptions.status The PrivatePool is expired or inactive. 该私有池已过期或未激活。
400 InvalidAliUid The PrivatePool does not belong to the user of the Instance. 私有池不属于创建实例的用户。
400 HibernationConfigured.InstanceTypeNotSupport The specified instance type is not support.
400 HibernationConfigured.ImageNotEncrypted The hibernation configured instance only support encrypted image.
400 HibernationConfigured.MemorySizeTooBig The hibernation configured instance memory size is too big.
400 InvalidSystemDiskSize.LessThanMemSize The specified parameter SystemDisk.Size is less than the memory size.
400 InvalidCloudBoxZone.OperationNotSupported The cloud box zone does not support creating prepaid or encrypted resources.
400 InvalidInternetMaxBandwidthOut.Malformed The specified parameter InternetMaxBandwidthOut is not valid.
400 InvalidInternetMaxBandwidthIn.Malformed The specified parameter InternetMaxBandwidthIn is not valid.
400 InvalidParameter.CloudboxNotSupported %s
400 NotSupportSnapshotEncrypted.ShareImage Shared snapshot creating encrypted disks with native snapshot encrypt is not supported.
400 QuotaExceed.DiskCapacity The used capacity of disk type has exceeded the quota in the zone, %s. 指定磁盘类型的已用容量超出可用区配额限制,您可以前往配额中心查询和申请提升磁盘容量配额。
400 InvalidParameter.DataEncryptedKeyCreateFailed Create kms data encrypted key fail. If you need further assistance, you can contact the KMS Technical Support.
400 InvalidDiskCategory.NotSupported The specified disk category is not supported.
400 InvalidDestinationZone.DeploymentSetMismatch Error happened, %s. 如果实例加入的部署集是Lowlatency策略,且此部署集已有实例加入,此实例必须在已有实例所在可用区
400 NoPermission.Price The operation requires price permission. Please either apply for permission from your main account, or set the parameter AutoPay as true. 该操作需要价格权限。请向您的主账户申请权限,或将参数AutoPay设置为true进行自动支付。
400 InvalidParameter.DedicatedRegionNotSupported The specified action is rejected because the specified ECS instance in the dedicated region does not support public IP. 专属云地域不支持的参数错误码
400 InvalidParameter.KmsNotEnabled Failed to perform this operation because KMS is not activated. 您需要开通KMS密钥管理服务。
400 InvalidParameter.Encrypted.KmsNotEnable Failed to perform this operation because KMS is not activated. 您需要开通KMS密钥托管服务。
400 InvalidParam.EncryptedMismatch Creating encrypted disks with shared encrypted image requires replacing encryption keys. 共享加密镜像创建云盘必须更换加密密钥.
400 InvalidParameter.Encrypted Creating non-encrypted disks with encrypted snapshots is not supported. 不支持以加密快照创建非加密盘。
400 QuotaExceeded.InternetBandwidth %s. 您当前账号下,按量付费ECS实例的按固定带宽计费公网带宽超过了总带宽配额限制。
400 InvalidVSwitchId.NotFound The specified VSwitch does not exist in the specified region. 指定地域不存在指定的 vSwitch。
400 OperationDenied.TestAccountRetricted Test-account for testing has been prohibited from creating instance in this region. Please contact 400181. 测试账号不允许在本地域创建实例。请联系成本与资源中心@高冲(400181)
401 InvalidRamRole.NotEcsRole The specified ram role is not authorized for ecs, please check your role policy. 指定的 RAM 角色无权使用 ECS,请检查您的角色策略。
500 InternalError The request processing has failed due to some unknown error.
500 InvalidImage.OSType The image OSType does not support this instance type. 这个镜像的操作系统不支持所选实例规格。
403 InvalidDiskCategory.NotSupported The specified disk category is not support the specified instance type.
403 ImageNotSubscribed The specified image has not be subscribed.
403 OperationDenied The specified Image is disabled or is deleted. 指定的镜像被禁用或被删除。
403 InvalidSystemDiskCategory.ValueUnauthorized The disk category is not authorized. 该磁盘类别未经授权。
403 InvalidSnapshotId.NotReady The specified snapshot has not completed yet.
403 InstanceDiskCategoryLimitExceed The total size of specified disk category in an instance exceeds. 磁盘种类总容量超过实例限制。
403 InvalidDevice.InUse The specified device has been occupied.
403 ImageRemovedInMarket The specified market image is not available, Or the specified user defined image includes product code because it is based on an image subscribed from marketplace, and that image in marketplace includeing exact the same product code has been removed. 指定的市场镜像不可用,或者指定的用户定义镜像包含产品代码,因为它基于从市场订购的镜像,并且市场中包含完全相同的产品代码的镜像已被删除。
403 CategoryNotSupported The specified zone does not offer the specified disk category.
403 OperationDenied.NoStock The requested resource is sold out in the specified zone; try other types of resources or other regions and zones. 库存不足。
403 QuotaExceed.PortableCloudDisk The quota of portable cloud disk exceeds.
403 SecurityGroupInstanceLimitExceed The maximum number of instances in a security group is exceeded. 该安全组内已有的实例数量已达到最大限制。
403 NodeControllerUnavailable The Node Controller is temporarily unavailable.
403 RegionUnauthorized There is no authority to create instance in the specified region. 用户未被授权在指定的地域创建实例。
403 InvalidSnapshotId.NotDataDiskSnapshot The specified snapshot is system disk snapshot.
403 DeleteWithInstance.Conflict The specified disk is not a portable disk and cannot be set to DeleteWithInstance attribute.
403 InstanceDiskNumLimitExceed The number of specified disk in an instance exceeds. 实例下磁盘数目超过限制。
403 IoOptimized.NotSupported The specified image is not support IoOptimized Instance.
403 ImageNotSupportInstanceType The specified image don't support the InstanceType instance. 指定的镜像不支持选定实例规格的实例。
403 InvalidDiskSize.TooSmall Specified disk size is less than the size of snapshot.
403 InvalidDiskCategory.Mismatch The specified disk categories combination is not supported.
403 QuotaExceed.BuyImage The specified image is from the image market, You have not bought it or your quota has been exceeded. 您暂时不能使用指定的市场镜像。
403 InvalidVSwitchId.NotFound The VSwitchId provided does not exist in our records. 指定的虚拟交换机 ID 不存在。
403 InvalidParameter.ResourceOwnerAccount ResourceOwnerAccount is Invalid. 指定的 ResourceOwnerAccount 不合法。
403 InvalidUserData.Forbidden User not authorized to input the parameter "UserData", please apply for permission "UserData".
403 Zone.NotOpen The specified zone is not granted to you to buy resources yet.
403 Zone.NotOnSale The specified zone is not available for purchase. 指定可用区已经售罄,请您更换实例规格或者更换地域创建。
403 InvalidClusterId.NotFound The specified clusterId does not exist. 指定的 ClusterId 不存在。
403 InvalidResourceType.NotSupported %s 指定资源组合不存在,请更换其他可用区或规格
403 InvalidInstanceType.ValueNotSupported The specified InstanceType does not exist or beyond the permitted range.
403 InvalidInstanceType.ZoneNotSupported The specified zone does not support this instancetype. 指定的可用区里不支持指定的 InstanceType。
403 InvalidPayMethod The specified pay method is not valid.
403 OperationDenied.ImageNotValid The specified Image is disabled or is deleted.
403 InvalidUserData.Base64FormatInvalid The specified UserData is not valid.
403 InstanceType.Offline %s 实例规格因停售、供货不足等原因,不支持该操作。
403 DependencyViolation.WindowsInstance The instance creating is window, cannot use ssh key pair to login. 指定的实例是 Windows 操作系统,此类实例不支持 SSH 密钥对登录。
403 RealNameAuthenticationError Your account has not passed the real-name authentication yet. 您的阿里云账号尚未通过实名认证,请先实名认证后再操作。
403 InvalidNetworkType.MismatchRamRole Ram role cannot be applied to instances of Classic network type. 实例 RAM 角色不能被用于经典网络类型的实例,RAM 角色只能使用在 VPC 类型的实例上。
403 InvalidUser.PassRoleForbidden The RAM user does not have the privilege to pass a RAM role. 该 RAM 用户无权传递 RAM 角色。
403 InvalidImage.NotSupported The specified image does not support vSGX instance. 指定的镜像不支持 vSGX 实例。
403 InvalidAccountStatus.NotEnoughBalance Your account does not have enough balance.
403 IncorrectVpcStatus Current VPC status does not support this operation.
403 InvalidParameter.NotMatch %s 您输入的参数无效,请检查参数之间是否冲突。
403 OperationDenied.InvalidNetworkType %s 该网络类型不支持此操作。
403 InvalidSpotInterruptionBehavior.ClassicNetworkNotSupport The specified SpotInterruptionBehavior does not support Classic network Instance. 该操作不支持经典网络类型的实例。
403 InvalidSpotInterruptionBehavior.LocalDiskNotSupport The specified SpotInterruptionBehavior does not support local disk instance. 该操作不支持有本地磁盘的实例。
403 QuotaExceed.PostPaidDisk Living postPaid disks quota exceeded. 按量付费磁盘数量已超出允许数量。
403 QuotaExceed.DeploymentSetInstanceQuotaFull Instance quota in one deployment set exceeded.
403 InvalidVSwitch.DefaultVSwitchNotSupport The specified zone in vpc can't support create default vSwitch.
403 OperationDenied.LocalDiskUnsupported The configuration change is not allowed when the specified instance has local disks mounted. 实例挂载本地盘后不支持规格变配。
403 OperationDenied.InconsistentNetwork The specified security group and vswitch are not in the same vpc. 指定的安全组和交换机没有在同一个 VPC 下。
403 DefaultVswitch.Existed The default vswitch for VPC already exists. 当前VPC中已经有了默认交换机。
403 InvalidChargeType.ValueNotSupported Deletion protection is only valid for postPaid instance, not for prePaid or spot instance. 删除保护功能只能使用在按量付费资源上
403 IncorrectInstanceStatus The current status of the resource does not support this operation.
403 CategoryViolation The specified instance does not support this operation because of its disk category.
403 ResourcesNotInSameZone The specified instance and dedicated host are not in the same zone. 指定的实例和专有宿主机不在同一个地域下。
403 InvalidRegion.NotSupport The specified region does not support byok. 该地域不支持BYOK。
403 UserNotInTheWhiteList The user is not in byok white list. 您不在byok白名单中,请加入白名单后重试。
403 InvalidParameter.KMSKeyId.KMSUnauthorized ECS service have no right to access your KMS. ECS 服务无权访问您的 KMS。
403 SecurityRisk.3DVerification We have detected a security risk with your default credit or debit card. Please proceed with verification via the link in your email. 我们检测到您的默认信用卡或借记卡存在安全风险。请通过电子邮件中的链接进行验证。
403 InvalidDisk.SystemDiskSize The specified SystemDiskSize beyond the permitted range. 系统盘大小超出最大允许值。
403 InsufficientBalance Your account does not have enough balance.
403 Mayi.InternalError The request processing has failed due to some unknown error.
403 InvalidNetworkType The network type is not support in this region. 输入的网络类型NetworkType不再支持。
403 InvalidAccountStatus Your account status is invalid, please contact customer service.
403 QuotaExceeded.PrivateIpAddress %s 指定的交换机VSwitch下内网IP不足。
403 InvalidVSwitchId.IpInvalid %s 指定的私网 IP 无效。
403 OperationDenied.PerformanceLevelNotMatch The specified DataDisk.n.PerformanceLevel and DataDisk.n.Size do not match.
403 InvalidStorageSetName.Malformed Specified parameter StorageSetName is not valid.
403 InvalidDescription.Malformed Specified parameter Description is not valid.
403 InvalidMaxPartitionNumber.Malformed Specified parameter MaxPartitionNumber is not valid.
403 InvalidParameter.StorageSetPartitionNumber Specified parameter StorageSetPartitionNumber is not valid.
403 InvalidParameter.StorageSetId Specified parameter StorageSetId is not valid.
403 InvalidParameter.StorageSetZoneId Specified parameter StorageSetZoneId is not valid.
403 QuotaExceed.Tags %s 标签数超过可以配置的最大数量。%s为变量,将根据调用API的实际情况动态返回错误信息。
403 OperationDenied.RegionIdNotSupported Region not support spot duration instance.
403 OperationDenied.FlavorNotSupported Flavor not support spot duration instance.
403 OperationDenied.TimestampNotSupported Timestamp not support spot duration instance.
403 OperationDenied.PrepayNotAvailable Prepay instance is not available now.
403 OperationDenied.PaygNotAvailable Pay-as-you-go instance is not available now.
403 EnterpriseGroupLimited.MutliGroupType The specified instance can not join multi SecurityGroup types. 指定的实例不能同时加入普通安全组和企业安全组。您可以调用 DescribeSecurityGroups 查询指定安全组的类型。
403 EnterpriseGroupLimited.InstanceType The specified instance type does not support Enterprise SecurityGroup.
403 InternalError.AllocateUnderlayIp Allocate underlay ip for the instance error. 实例分配UnderlayIp失败。
403 OperationDenied.BidOwnResource Bid user can not own resource.
403 OperationDenied.CloudSSDNotSupported The specified available zone does not offer the cloud_ssd disk, use cloud_essd instead. 指定的可用区不支持 cloud_ssd 类型的磁盘,请尝试使用 cloud_essd 类型的磁盘重试。
403 InvalidVPCStatus.NotWorking The specified VPC subnet status is not working.
403 QuotaExceed.ElasticQuota No additional quota is available for the specified ECS instance type. 您在当前地域选择的实例规格所要创建的台数超出系统限额,您可以选择其他地域、实例规格或减少台数重新购买,也可以前往ECS管理控制台或配额中心申请提高限额。
403 QuotaExceeded.PostpaidDataDiskCapacity The quota of postpaid data disk capacity exceeds. 按量付费数据盘使用容量超出配额。
403 InvalidImageFamily.MissingAvailableImage There is no available image related to the specified image family.
403 InvalidRegionId.NotSupportEncryptAlgorithm The current region does not support creating encrypted disks with EncryptAlgorithm.
403 InvalidOperation.ResourceManagedByCloudProduct %s 云产品托管的安全组不支持修改操作。
403 Forbidden.OnlySupportEnterpriseGroup %s
403 HibernationConfigured.InstanceOperationForbidden The operation is not permitted due to limit of the hibernation configured instance. 不符合开启休眠选项的实例的相关限制,操作不被允许。
403 InstanceDiskLimitExceeded The amount of the disk on instance reach its limits. 实例上的磁盘数量已经达到了最大限制
403 InvalidInstanceType.NotSupportDiskCategory The instanceType of the specified instance does not support this disk category. 指定的实例规格(InstanceType)不支持当前实例的云盘类别。请尝试更换其它实例规格。关于实例规格支持的云盘类型,请参见实例规格族文档。
403 NotSupportSnapshotEncrypted.DiskCategory The specified disk category does not support creating encrypted system disks or creating encrypted data disks from snapshots. Check the DiskCategory or Encrypted parameter, or check your account for default encryption settings. 该磁盘类型不支持创建加密系统盘或以快照方式创建加密数据盘,请检查您输入的磁盘类型、加密参数,或者检查您是否做过账号云盘默认加密配置。
403 InvalidOperation.PublicIpAddressNoStock The public IP address for the specified Region or ChargeType of the instance is out of stock. Please try another Region or ChargeType. 在指定的地域或付费类型条件下,实例公网IP地址库存不足。请尝试使用其它地域或付费类型。
403 InvalidParameter.KMSKeyId.CMKNotEnabled The CMK (Customer Master Key) must be in an active state. 用户主密钥(CMK)需要处于活动状态。
403 InvalidParameter.KMSKeyId.CMKUnauthorized The CMK(Customer Master Key) lacks authorization to add tags to the ECS service. 用户主密钥(CMK)未授权ECS服务添加标签权限。
403 InvalidEncrypted.NotMatchDiskDefaultEncryption Enabling disk default encryption prevents the creation of non-encrypted disks. 启用云盘账号默认加密后,无法创建非加密磁盘。
403 InvalidEncrypted.NotMatchSnapshot The specified parameter Encrypted must be set to true when creating disks with encrypted snapshots. 当使用加密快照创建磁盘时,指定的参数Encrypted必须设置为true。
404 InvalidStorageClusterId.NotExist The specified StorageClusterId does not exist in current region.
404 InvalidRegionId.NotFound The RegionId provided does not exist in our records. 地域信息错误
404 IoOptimized.NotSupported The specified instancetype is not support IoOptimized instance.
404 InvalidZoneId.NotFound The ZoneId provided does not exist in our records.
404 InvalidSecurityGroupId.NotFound The specified SecurityGroupId does not exist. 指定的安全组在该用户账号下不存在,请您检查安全组 ID 是否正确。
404 InvalidDataDiskSnapshotId.NotFound The specified parameter "DataDisk.n.SnapshotId" is not valid.
404 InvalidClusterId.NotFound The ClusterId provided does not exist in our records.
404 OperationDenied The specified Image is disabled or is deleted.
404 InvalidVSwitchId.NotFound Specified virtual switch does not exist. 指定的虚拟交换机 ID 不存在。
404 InvalidImageId.NotFound The specified ImageId does not exist. 指定的镜像在该用户账号下不存在,请您检查镜像 ID 是否正确。
404 InvalidInstanceChargeType.NotFound The InstanceChargeType does not exist in our records.
404 DependencyViolation.IoOptimized The specified instancetype must be IoOptimized instance.
404 PaymentMethodNotFound No payment method has been registered on the account.
404 HOSTNAME_ILLEGAL The specified parameter Hostname is not valid.
404 InvalidSystemDiskSize.LessThanImageSize The specified parameter SystemDisk.Size is less than the image size.
404 InvalidSystemDiskSize.LessThanMinSize The specified parameter SystemDisk.Size is less than the min size.
404 InvalidSystemDiskSize.MoreThanMaxSize The specified SystemDisk.Size parameter exceeds the maximum size.
404 InvalidParameter The specified vm bandwidth is not valid.
404 InvalidSystemDiskSize The specified parameter SystemDisk.Size is invalid. 指定的 SystemDisk.Size 不合法。
404 InvalidKeyPairName.NotFound The specified parameter KeyPairName does not exist in our records.
404 InvalidRamRole.NotFound The specified RAMRoleName does not exist. 指定的 RamRoleName 不存在。
404 InvalidResourceGroup.NotFound The ResourceGroup provided does not exist in our records. 资源组并不在记录中。
404 InvalidMarketImage.NotFound The specified marketplace image does not exist, please change the imageId and try again. 指定的市场镜像不存在,请更改参数后重试。
404 DeploymentSet.NotFound The specified deployment set does not exist. 指定的部署集不存在。
404 InvalidInstanceType.ValueNotSupported The specified InstanceType does not exist or beyond the permitted range.
404 InvalidParameter.KMSKeyId.NotFound The specified KMSKeyId does not exist. 指定的参数 KMSKeyId 不存在。
404 InvalidDiskIds.NotPortable The specified DiskId is not portable.
429 Throttling.Resource The request throttle by resource operation. 请求被资源操作流控
409 OperationConflict Request was denied due to conflict with a previous request,please try again later. 请求操作的资源与之前的请求冲突

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情