You need to enable JavaScript to run this app.
导航

RunInstances

最近更新时间2024.04.22 16:49:22

首次发布时间2021.10.31 07:37:16

调用 RunInstances 接口创建一台或多台云服务器实例。

说明

  • 如需为已创建的实例绑定公网IP,请使用AssociateEipAddress
  • 使用整机镜像创建实例时,请通过ImageId参数传入目标整机镜像ID,操作详情可查看使用整机镜像购买实例
  • 支持使用专有宿主机创建云服务器实例,有关专有宿主机的更多信息,请参见DDH API概览

调试

请求参数

名称类型是否必填
示例值
描述
ActionStringRunInstances要执行的操作,取值: RunInstances。
VersionString2020-04-01API的版本,取值:2020-04-01。
ZoneIdStringcn-beijing-a实例所在可用区ID,您可以调用DescribeZones查询一个地域下的可用区信息。
ImageIdStringimage-3tefr6wgx63vj0******启动实例时使用的镜像ID,您可以通过DescribeImages查询可以使用的镜像资源。

InstanceTypeId

String

ecs.g1ie.xlarge

实例的规格。

InstanceName

String

instance-test

实例的名称。

  • 以字母或中文开头。

  • 只能包含中文、字母、数字、下划线“_”、中划线“-”和点号“.”。

  • 长度限制为1~128个字符。

说明

  • 若实例已设置SuffixIndex有序后缀,则实例名称长度包含有序后缀。

  • 批量创建实例时,支持使用name_prefix[begin_number,bits]name_suffix格式自定义设置有序实例名称,具体操作请参见批量设置有序的实例名称或主机名称

Description

String

用于测试的云服务器实例

实例的描述,默认为空字符串。

  • 必须以字母或中文开头。

  • 只能包含中文、字母、数字、点号“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”

  • 长度限制在255个字符以内。

Hostname

String

instance-host-name

实例主机名,即实例操作系统内部的计算机名。

  • Linux实例:

    • 允许使用字母、数字、点号“.”或中划线“-”。

    • 不能以中划线、点号开头或结尾,且不能连续使用中划线和点号。

    • Linux系统长度限制在2~63个字符之间。

  • Windows实例:

    • 允许使用字母、数字或中划线“-”,不能完全是数字。

    • 不能以中划线开头或结尾,且不能连续使用中划线。

    • Windows系统长度限制在2~15个字符之间。

如不填,则遵循以下规则自动生成:

  • 结构:iv- + 初始主机名,例如
    iv-3tigy72q3u3vj0******
    已创建实例保持原主机名生成逻辑,不随实例重启发生变化。
  • 初始主机名生成逻辑:
    • Linux:提取实例IDi-之后的全部字符。
    • Windows:提取实例IDi-之后的后12位字符。

说明

批量创建实例时,支持使用name_prefix[begin_number,bits]name_suffix格式自定义设置有序主机名,具体操作请参见批量设置有序的实例名称或主机名称

UniqueSuffix

Boolean

false

表示当创建多台实例时,是否为HostnameInstanceName自动添加有序后缀,取值:

  • true:开启有序后缀。

  • false(默认):关闭有序后缀。

说明

  • UniqueSuffix=true,且Hostname为空,系统将自动生成主机名,主机名后无有序后缀。
  • UniqueSuffix=true,且为HostnameInstanceName指定了[begin_number,bits]命名格式,则最终生效情况请参见批量设置有序的实例名称或主机名称
SuffixIndexInteger1有序后缀的起始序号,取值范围:1~999,默认为1。
CountInteger1创建数量,取值范围:1~100;传入0时,会默认为1。

MinCount

Integer

2

指定ECS实例最小创建数量,取值范围:1~100。

  • 实例最小创建数量MinCount ≤ 创建数量Count
  • 当库存数量 > 创建数量Count,按Count创建。
  • 当最小创建数量MinCount ≤ 库存数量 ≤ 创建数量Count,按库存数量创建。
  • 当库存数量 < 最小创建数量MinCount,会因库存不足而创建失败。

DryRun

Boolean

false

是否只预检此次请求,取值:

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

    说明

    DryRun取值为true时,若传入了CountMincount参数,则取值必须为1。

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

Password

String

password@123

如需使用“密码”方式登录实例,请通过该参数指定实例的管理员账号初始登录密码。其中Linux管理员账号为root,Windows管理员账号为Administrator。

密码复杂度要求如下:

  • 长度限制在8~30之间。

  • 密码只能由大写字母、小写字母、数字和特殊字符组成,且必须包含至少三项。

  • 特殊字符可以使用:`~!@#$%^&*()_-+=|{}[]:;'<>,.?/

  • 不能以“/”和“$6$”开头。

说明

登录凭证支持“密码”、“密钥对”、“保留镜像设置”三种方式,使用“密码”方式登录实例时,建议增加密码复杂度以提高安全性。

KeyPairName

String

kp-test-123

如需使用“SSH密钥”方式登录实例,请指定已创建密钥对的名称。
您可以调用DescribeKeyPairs查看已创建的密钥对;如无可用,请调用CreateKeyPair创建密钥对。

说明

  • Windows实例不支持SSH密钥方式,即使传入了该参数,仍旧只生效密码Password
  • Linux实例支持密码或密钥对登录。调用该接口时如果同时设置了密钥对KeyPairName和密码Password,则仅生效密钥对KeyPairName

KeepImageCredential

Boolean

true

是否保留镜像设置,取值:

  • true:保留镜像设置,保留后将使用镜像预设的密码或密钥对登录实例。

  • false(默认):不保留镜像设置。

说明

  • 仅自定义镜像、共享镜像支持该功能。

  • 该参数取值为true时,请勿传入PassWordKeyPairName

InstallRunCommandAgent

Boolean

false

创建实例时是否安装批量作业Agent,取值:

  • true:创建时安装。
  • false(默认):创建时不安装。

说明

有关批量作业的更多信息,请参见批量作业概述

Volumes.N.VolumeType

String

Volumes.1.VolumeType=ESSD_PL0&Volumes.2.VolumeType=ESSD_PL0

云盘的类型,取值:

  • ESSD_PL0:极速型SSD PL0

  • ESSD_FlexPL:极速型SSD FlexPL

说明

  • 参数 - N:表示云盘的序号,取值范围:1~16。N = 1表示系统盘,N ≥ 2表示数据盘。

  • 多个云盘之间用&分隔。

Volumes.N.Size

Integer

Volumes.1.Size=100&Volumes.2.Size=100

云盘的容量,单位为GiB,取值:

  • 系统盘:

    • ESSD_PL0:20~2048

    • ESSD_FlexPL:20~2048

  • 数据盘:

    • ESSD_PL0:10~32768

    • ESSD_FlexPL:10~32768

说明

  • 参数 - N:表示云盘的序号,取值范围:1~16。N = 1表示系统盘;N ≥ 2表示数据盘。

  • 多个云盘之间用&分隔。

Volumes.N.DeleteWithInstance

Boolean

Volumes.1.
DeleteWithInstance=true&Volumes.2.
DeleteWithInstance=false

云盘是否随实例释放,取值:

  • true(默认):云盘随实例释放。

  • false:云盘不随实例释放。

说明

  • 参数 - N:表示云盘的序号,取值范围:1~16。N = 1表示系统盘,系统盘默认随实例释放,不可保留;N ≥ 2表示数据盘,可选择是否是实例释放。

  • 多个云盘之间用&分隔。

Volumes.N.SnapshotId

String

Volumes.1.SnapshotId=snap-31akybwsxi8rudc6****&Volumes.2.SnapshotId=snap-31ak39j5bh8rubsn****

使用快照创建云盘,仅支持创建数据盘。您可以调用DescribeSnapshots接口查询快照ID。

  • 参数 - N:表示云盘的序号,取值范围:1~16。N = 1表示系统盘,故N传入1时,该参数将被忽略。N ≥ 2表示数据盘,可正常传入目标数据盘快照ID。

  • 多个云盘之间用&分隔。

说明

  • 仅极速型SSD支持通过快照创建云盘,性能型SSD不支持快照相关功能。

  • 仅状态为“可用”的快照支持创建新云盘,“创建中”、“回滚中”、“删除中”及“错误”状态下的快照不支持创建新云盘。

  • 该功能当前仅华东2(上海)地域发布,其它地域陆续上线中,敬请期待。

NetworkInterfaces.N.SubnetId

String

NetworkInterfaces.1.SubnetId=subnet-3tispp1nai4e8i******& NetworkInterfaces.2.SubnetId=subnet-2ff1nczrx2lts5oxru******

实例的私有网络子网ID,创建实例时,支持同时绑定辅助网卡。

  • 参数 - N:表示网卡的序号,N = 1表示主网卡;N ≥ 2表示辅助网卡。

  • 多个私有网络子网ID之间用&分隔。

NetworkInterfaces.N.PrimaryIpAddress

String

NetworkInterfaces.1.PrimaryIpAddress=192.168.**.**

指定网卡的主IP地址,当前仅支持为主网卡或辅助网卡指定一个主IP地址。

  • 参数 - N:表示网卡的序号,N = 1表示主网卡;N ≥ 2表示辅助网卡。

  • 多个网卡之间用&分隔。

NetworkInterfaces.N.PrivateIpAddresses.N

String

NetworkInterfaces.1.PrivateIpAddresses.1=172.16.**.**&NetworkInterfaces.1.PrivateIpAddresses.2=172.16.**.**

指定主网卡的辅助IP地址,当前只支持主网卡指定辅助IP。

  • 第一个N:表示主网卡的序号,当前仅支持绑定一张主网卡。

  • 第二个N:表示主网卡的辅助IP序号,最多可分配的辅助IP地址的数量为该实例规格的单网卡私有IP数减去一个主私网IP。

  • 多个辅助IP之间用&分隔。

NetworkInterfaces.N.SecurityGroupIds.N

String

NetworkInterfaces.1.SecurityGroupIds.1=sg-3ti78x9h8t4bw*****& NetworkInterfaces.2.SecurityGroupIds.1=sg-3cj59ih2v9hj46c6rr******

网卡关联的安全组ID。

  • 第一个N:表示网卡的序号,N = 1表示主网卡;N ≥ 2表示辅助网卡。

  • 第二个N:表示网卡关联的安全组的序号,取值范围:1~5。

  • 多个安全组ID之间用&分隔。

InstanceChargeType

String

PostPaid

实例和云盘的计费类型,取值:

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

  • PrePaid:包年包月。请确认您的账号支持余额支付或者信控支付,否则将返回InvalidInstanceChargeType的错误提示。

SpotStrategy

String

NoSpot

按量计费实例的抢占式策略,取值:

  • NoSpot(默认):表示创建正常按量计费实例。

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

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

说明

  • InstanceChargeType取值为PostPaid时,该参数生效。
  • 抢占式实例的出价模式请参见购买抢占式实例

SpotPriceLimit

Float32

0.78

抢占式实例的每小时最高价格,支持最大3位小数。

说明

仅当SpotStrategy=SpotWithPriceLimit时,该参数生效。

CreditSpecification

String

Standard

突发性能实例的运行模式,取值:
Standard:标准模式

说明

  • 仅当InstanceTypeId取值为ecs.t2系列,即突发性能实例时该参数生效。
  • 不传或传入空值时,突发性能实例默认为Standard标准模式。
SecurityEnhancementStrategyStringActive是否开启安全加固,取值:
  • Active:开启安全加固,仅对公共镜像生效。
  • InActive:关闭安全加固,对所有镜像类型生效。
  • HpcClusterIdStringhpcCluster-1当创建高性能计算GPU型实例时,请指定高性能计算集群ID。

    UserData

    String

    ZWNobyBoZWxsbyBlY3Mh

    实例自定义数据。设置的自定义数据必须经过Base64编码,且Base64编码前的自定义数据大小不能超过16KB。

    说明

    不填则默认为空。

    Period

    Integer

    12

    购买资源的时长(月)。

    • 取值:1、2、3、4、5、6、7、8、9、12、24、36
    • 默认值:1

    说明

    仅当参数InstanceChargeType取值为PrePaid时生效且为必选值。

    PeriodUnit

    String

    Month

    购买资源的时长单位,取值:Month(默认)。

    说明

    仅当InstanceChargeType取值为PrePaid时,该参数生效且为必选值。

    AutoRenew

    Boolean

    true

    实例到期后是否自动续费。

    • true:自动续费。

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

    说明

    仅当参数InstanceChargeType取值为PrePaid时生效。

    AutoRenewPeriod

    Integer

    1

    每次自动续费的时长。

    说明

    • 仅当参数AutoRenew取值为True时,该参数有效,默认值为1。

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

    ClientToken

    String

    333456899ff****

    保证请求幂等性。由客户端自动生成一个参数值,确保不同请求间该参数值唯一,避免当调用API超时或服务器内部错误时,客户端多次重试导致重复性操作。

    取值:仅支持ASCII字符,且不能超过64个字符。

    ProjectName

    String

    project_a

    资源所属项目,一个资源只能归属于一个项目。

    • 只能包含字母、数字、下划线“_”、点“.”和中划线“-”。
    • 长度限制在64个字符以内。

    Tags.N.Key

    String

    Tags.1.Key=k1&Tags.2.Key=k2

    用户标签的标签键。

    • 参数 - N:表示标签键的序号,取值范围:1~20。

    • 多个标签键之间用&分隔。

    命名规则如下:
    • 不能以volc:sys:的任意大小写组合开头。

    • 只能包含语言字符、数字、空格和英文符号“_”、“.”、“:”、“/”、“=”、“+”、“-”、“@”。

    • 长度限制在1~128个字符之间。

    说明

    同一资源的标签键不允许重复。

    Tags.N.Value

    String

    Tags.1.Value=v1&Tags.2.Value=v2

    用户标签的标签值。

    • 参数 - N:表示标签值的序号,取值范围:1~20。

    • 多个标签值之间用&分隔。

    命名规则如下:
    • 只能包含语言字符、数字、空格和英文符号“_”、“.”、“:”、“/”、“=”、“+”、“-”、“@”。

    • 允许为空,长度限制在0~256个字符之间。

    说明

    如果传入该参数,则必须先传入Tags.N.Key

    DeploymentSetId

    String

    dps-yc1o9aahks5m57nk****

    实例需要加入的部署集ID。

    DeploymentSetGroupNumber

    Integer

    1

    部署集组的序号,取值范围:1~3。
    当实例要加入或调整的部署集策略为部署集组高可用(AvailabilityGroup)时,需传入该参数。

    Placement.Tenancy

    Boolean

    Default

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

    • Default(默认):创建普通云服务器实例。

    • Host:创建专有宿主机实例。若您不指定DedicatedHostId,则由系统自动选择专有宿主机放置实例。

    说明

    专有宿主机上支持创建的实例规格请参见规格介绍

    Placement.DedicatedHostId

    String

    dh-bp67acfmxazb4p****

    实例所在的专有宿主机ID。
    您可以调用DescribeDedicatedHosts接口查询专有宿主机列表。

    Placement.Affinity

    String

    Host

    针对节省停机模式的ECS实例,停止后会释放部分资源,本参数用于选择ECS实例重新启动时是否仍固定部署在原宿主机上。取值:

    • Host:启用节省停机模式的实例重新启动时,仍会部署在原宿主机上。
    • Default(默认):启用节省停机模式的实例重新启动时,会优先迁移到支持自动部署的宿主机;若支持自动部署的宿主机资源不足,则在原宿主机上进行启动。

    Placement.DedicatedHostClusterId

    String

    dc-ycle6b76kgv2wrsm****

    实例所在的专有宿主机集群ID。
    您可以调用DescribeDedicatedHostClusters接口查询宿主机集群ID。

    EipAddress.ChargeType

    String

    PayByBandwidth

    公网IP的计费方式,取值:

    • PayByBandwidth(默认):按量计费-按带宽上限计费。

    • PayByTraffic:按量计费-按实际流量计费。

    • PrePaid:包年包月。

    说明

    实例的计费类型InstanceChargeType取值为PostPaid时,该参数不能为PrePaid

    EipAddress.ISP

    String

    BGP

    公网IP的线路类型,默认为BGP。取值:

    • BGP:BGP(多线)。

    • 若您的账号已申请并开通了静态单线权限,则可传入如下取值:

      • ChinaMobile:中国移动静态单线。

      • ChinaTelecom:中国电信静态单线。

      • ChinaUnicom:中国联通静态单线。

    • 若您的账号已申请并开通了BGP单线权限,则可传入SingleLine_BGP。

    • 若您的账号已申请并开通了静态BGP权限,则可传入Static_BGP。

    EipAddress.BandwidthMbps

    Integer

    5

    公网IP的带宽上限,默认值1,单位:Mbps。

    • ChargeType传入PayByBandwidth:取值范围1 ~ 500。

    • ChargeType传入PayByTraffic:取值范围1 ~ 200。

    EipAddress.BandwidthPackageId

    String

    bwp-2zeo05qre24nhrqpy****

    共享带宽包的ID,表示将公网IP加入到共享带宽包。
    您可以调用 DescribeBandwidthPackages 接口,查询共享带宽包的ID。
    公网IP加入到共享带宽包必须同时满足如下条件:

    • 二者的安全防护类型相同。

    • 二者的地域相同。

    • 公网IP的计费方式必须是按量计费。

    EipAddress.ReleaseWithInstance

    Boolean

    false

    公网IP是否随实例删除,仅按量计费公网IP生效。取值:

    • true:公网IP随实例删除。当实例被系统自动回收(退订24小时后、到期回收等)或被调用DeleteInstanceDeleteInstances接口删除时,公网IP随实例一同释放。

    • false(默认):公网IP不随实例删除。

    说明

    该功能当前仅华东2(上海)地域发布,其它地域陆续上线中,最晚将于2024年04月02日完成全地域上线,敬请期待。

    EipAddress.SecurityProtectionTypes.N

    String

    SecurityProtectionTypes.1 =AntiDDoS_Enhanced

    公网IP的安全防护类型。

    • 参数 - N:表示安全防护类型的序号,当前仅支持取1。

    • 取值:

      • AntiDDoS_Enhanced:申请增强防护类型的公网IP,可加入到DDoS原生防护(企业版)实例。

        说明

        • 若传入AntiDDoS_Enhanced,则EipAddress.ChargeType不能为PrePaid,且EipAddress.ISP必须传入BGP。

        • 增强防护类型公网IP正在邀测中,如需试用,请提交工单或联系客户经理申请。

      • 不填则表示申请默认防护类型的公网IP。

    EipAddress.SecurityProtectionInstanceId

    Integer

    20

    DDoS原生防护(企业版)ID。

    • 您可以调用DescInstanceList接口,查询DDoS原生防护(企业版)的ID。

    • SecurityProtectionTypes传入AntiDDoS_Enhanced时,此参数必须传入。

    返回数据

    名称类型示例值
    描述
    InstanceIdsList[ "i-3tigy72q3u3vj0x2****","i-3tigy72q3u3vj0x2****" ]实例的ID。

    请求示例

    GET /?Action=RunInstances&Version=2020-04-01&ZoneId=cn-beijing-a&ImageId=image-3tefr6wgx63vj0******&InstanceTypeId=ecs.g1ie.xlarge&InstanceName=instance-test&Count=1&Password=password@123&NetworkInterfaces.1.SubnetId=subnet-3tispp1nai4e8i****&NetworkInterfaces.1.SecurityGroupIds.1=sg-3ti78x9h8t4bw*****&Volumes.1.VolumeType=ESSD_PL0&Volumes.1.Size=40&EipAddress.ChargeType=PayByBandwidth&EipAddress.BandwidthMbps=5 HTTP/1.1
    Host: open.volcengineapi.com
    Region: cn-beijing
    Service: ecs
    

    返回示例

    {
        "ResponseMetadata": {
            "RequestId": "2021062415303301022514515207C4****",
            "Action": "RunInstances",
            "Version": "2020-04-01",
            "Service": "ecs",
            "Region": "cn-beijing"
        },
        "Result": {
            "InstanceIds": [
                "i-3tigy72q3u3vj0******",
                "i-3tigy72q3u3vj0******"
            ]
        }
    }
    

    错误码

    HttpCode错误码
    错误信息
    描述
    400InvalidVolumeType.MalformedThe specified VolumeType is malformed.指定的云盘类型不合法。
    400InvalidProjectNameThe specified ProjectName is invalid.指定的项目名不合法。
    400InvalidArgumentThe specified argument is invalid.指定的参数不合法。
    400InvalidCount.MalformedThe specified count is malformed.指定的参数Count不合法。
    400MissingParameter.InstanceNameThe required parameter InstanceName is not supplied.实例名称不能为空。
    400MissingParameter.ZoneIdThe required parameter ZoneId is not supplied.可用区ID不能为空。
    400MissingParameter.InstanceTypeIdThe required parameter InstanceTypeId is not supplied.实例规格ID不能为空。
    400LimitExceeded.MaximumVolumesYou've reached the limit on the number of volumes that can be attached to the instance.指定的实例挂载云盘数量超过最大限制。
    400InvalidVolumeReleaseType.MalformedThe specified VolumeReleaseType is malformed.指定的云盘释放类型不合法。
    400MissingParameter.NetworkInterfacesThe required parameter NetworkInterfaces is not supplied.网卡信息不能为空。
    400LimitExceeded.MaximumSubnetIpsThe number of specified subnet IP addresses exceeds the maximum limit.指定子网的IP地址数量已经达到最大限制。
    400LimitExceeded.SystemVolumeSizeThe specified system volume size exceeds the limit.指定的系统盘大小(GiB)超出限制。
    400LimitExceeded.DataVolumeSizeThe specified data volume size exceeds the limit.指定的数据盘大小(GiB)超出限制。
    400MissingParameter.PasswordAndKeyPairThe required parameter PasswordAndKeyPair is not supplied.密码与密钥对不允许同时为空。
    400InvalidPassword.MalformedThe specified password is malformed.指定的密码格式不合法。
    400InvalidPeriodThe specified period is not valid.指定的计费周期个数不合法。
    400MissingParameter.ImageIdThe required parameter ImageId is not supplied.镜像ID不能为空。
    400InvalidParameterCombinationIndicates an incorrect combination of parameters.参数组合错误或缺失参数。
    400InvalidInstanceName.MalformedThe specified InstanceName is malformed.指定的实例名称不合法。
    400InvalidHostname.MalformedThe specified Hostname is malformed.指定的主机名不合法。
    400InvalidInstanceDescription.MalformedThe specified InstanceDescription is malformed.指定的实例描述不合法。
    400InvalidInstanceChargeTypeThe specified InstanceChargeType is invalid.指定的实例计费类型不合法。
    400InvalidSuffixIndex.MalformedThe specified SuffixIndex is malformed.指定的有序后缀不合法。
    400
    InvalidSecurityEnhancementStrategy.Malformed
    The specified SecurityEnhancementStrategy is malformed.指定的安全增强策略不合法。
    400InvalidSecurityGroupType.MalformedThe specified SecurityGroupType is malformed.指定的安全组类型不合法。
    400MissingParameter.SecurityGroupIdsThe required parameter SecurityGroupIds is not supplied.安全组不能为空。
    400QuotaExceeded.MaximumSecurityGroupsYou've reached the limit on the number of SecurityGroups that you can create, please submit ticket to request an increase in quota.安全组配额不足,请提工单申请提高配额。
    400InvalidUserData.MalformedThe specified UserData is malformed.指定的UserData不合法。
    400LimitExceeded.MaximumNetworkInterfacesYou've reached the limit on the number of NetworkInterfaces that can be attached to the instance.指定的实例挂载网卡数量超过最大限制。
    400MissingParameter.SubnetIdThe required parameter SubnetId is not supplied.子网ID不能为空。
    400Insufficient.BalanceThe request is denied due to the lack of balance.账户余额不足。
    400InvalidPeriodUnitThe specified PeriodUnit is not valid, is unsupported, or cannot be used.指定的计费周期不合法。
    400InvalidClientToken.MalformedThe specified ClientToken is malformed.指定的ClientToken不合法。
    400IdempotentParameterMismatchThe request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.幂等参数不一致。
    400InvalidKeyPairForWindows.UnsupportedThe specified windows do not support key pairs.指定的实例是Windows操作系统,不支持密钥对。
    400QuotaExceeded.MaximumNetworkInterfacesYou've reached the limit on the number of elastic network interface that you can create, please submit ticket to request an increase in quota.网卡配额不足,请提工单申请提高配额。
    400
    QuotaExceeded.MaximumSecurityGroupNetworkInterfaces
    You've reached the limit on the number of SecurityGroupEnis that you can create, please submit ticket to request an increase in quota.安全组关联的网卡数配额不足,请提工单申请提高配额。
    400QuotaExceeded.MaximumVolumesYou've reached the limit on the capacity of Volumes that you can create, please submit ticket to request an increase in quota.云盘配额不足,请提工单申请提高配额。
    400QuotaExceeded.MaximumInstancesYou've reached the limit on the number of instances that you can create, please submit ticket to request an increase in quota.实例数量配额不足,请提工单申请提高配额。
    400QuotaExceeded.MaximumInstanceCpusYou've reached the limit on the number of instance CPU that you can create, please submit ticket to request an increase in quota.实例CPU数量配额不足,请提工单申请提高配额。
    400InvalidMinCount.MalformedThe specified parameter MinCount is not valid.指定的MinCount无效,请您检查该参数是否正确。
    400InvalidCreditSpecification.MalformedThe specified credit specification is malformed.指定的突发性能实例模式不合法。
    400Insufficient.AclCapacityYou've reached the limit on the number of ACLs on the switch.交换机的ACL数量超过限制。

    400

    LimitExceeded.MaximumTags

    You've reached the limit on the number of tags that you can create.

    指定的标签数量超过最大限制。

    400InvalidTagKey.MalformedThe specified TagKey is malformed.指定的标签键不合法。
    400InvalidTagValue.MalformedThe specified TagValue is malformed.指定的标签值不合法。
    400QuotaExceeded.MaximumInstanceTypeInstancesYou've reached the limit on the number of instance type instances that you can create, please submit ticket to request an increase in quota.规格实例数量配额不足,请提工单申请提高配额。
    400InvalidInstanceTypeForCreateSpotInstance.UnsupportedThe specified InstanceType does not support creation of spot instances.指定的实例规格不支持创建抢占式实例。
    400InvalidSpotStrategy.MalformedThe specified SpotStrategy is malformed.指定的实例抢占策略不合法。
    400InvalidSpotPriceLimit.MalformedThe specified SpotPriceLimit is malformed.指定的实例抢占价格不合法。
    400QuotaExceeded.MaximumSecurityGroupIpsYou've reached the limit on the number of SecurityGroupIps that you can create, please submit ticket to request an increase in quota.安全组关联的IP数配额不足,请提工单申请提高配额。
    400InvalidDeploymentSetGroupNumberThe specified DeploymentSetGroupNumber is invalid.指定的部署集组不合法。
    400LimitExceeded.MaximumDeploymentSetInstancesYou've reached the limit on the number of instances that can be added to the deployment set.指定的部署集内的实例数量超过最大限制。

    400

    InvalidPlacementAffinity.Malformed

    The specified placement affinity is malformed.

    指定的Placement.Affinity不合法。

    400InvalidPlacementTenancy.MalformedThe specified placement tenancy is malformed.指定的Placement.Tenancy不合法。
    400InvalidEipAddressChargeType.MalformedThe specified ChargeType of elastic IP is malformed.指定的公网IP计费类型不合法。
    400LimitExceeded.MinimumEipBandwidthThe specified elastic IP bandwidth value exceeds the minimum limit.指定的公网IP带宽值超过最小限制。

    400

    QuotaExceeded.MaximumEips

    You've reached the limit on the number of EIP that you can create, please submit ticket to request an increase in quota.

    公网IP配额不足,请提工单申请提高配额。

    400

    InvalidSnapshotStatus

    The specified snapshot state does not support create a cloud disk.

    指定的快照状态不支持创建云盘。

    400

    InvalidVolumeTypeForSnapshot.UnSupported

    The specified VolumeType cannot be used for create snapshot.

    指定的云盘类型不支持快照。

    400InvalidSnapshot.NotFoundThe specified Snapshot does not exist.指定的快照不存在。
    400InvalidSecurityProtectionInstanceStatusThe specified security protection instance is not in the correct status for the request.指定的安全防护实例所处的状态无法响应该请求。
    400QuotaExceeded.SecurityProtectionInstanceYou've reached the limit on the number of security protection instance that you can add.已达到安全防护实例可加入的数量上限。
    400LimitExceeded.MaximumEipBandwidthThe specified elastic IP bandwidth value exceeds the maximum limit.指定的公网IP带宽值超过最大限制。
    400InvalidSecurityProtectionTypes.MalformedThe specified security protection type is malformed.指定的安全防护级别不支持。
    404InvalidSecurityProtectionInstance.NotFoundThe specified security protection instance does not exist.指定的安全防护实例不存在。
    404InvalidDedicatedHost.NotFoundThe specified dedicated host does not exist.指定的专有宿主机不存在。
    404InvalidDedicatedHostCluster.NotFoundThe specified dedicated host cluster does not exist.指定的专有宿主机集群不存在。
    404InvalidDeploymentSet.NotFoundThe specified DeploymentSet does not exist.指定的部署集不存在。
    404InvalidZone.NotFoundThe specified zone does not exist.指定的可用区不存在。
    404InvalidInstanceType.NotFoundThe specified InstanceType does not exist.指定的实例规格不存在。
    404InvalidImage.NotFoundThe specified image does not exist.指定的镜像不存在。
    404InvalidSecurityGroup.NotFoundThe specified SecurityGroup does not exist.指定的安全组不存在。
    404InvalidSubnet.NotFoundThe specified subnet does not exist.指定的子网不存在。
    404InvalidKeyPair.NotFoundThe specified KeyPair does not exist.指定的密钥对不存在。
    404InvalidProject.NotFoundThe specified Project does not exist.指定的项目不存在。
    404InvalidISP.NotFoundThe specified ISP does not exist.指定的ISP不存在。
    404InvalidBandwidthPackage.NotFoundThe specified BandwidthPackage does not exist.指定的共享带宽包不存在。
    409InvalidPrimaryIpAddress.ConflictThe specified PrimaryIpAddress already exists.指定的PrimaryIpAddress已存在。
    409InvalidPrivateIpAddresses.ConflictThe specified PrivateIpAddresses already exists.指定的PrivateIpAddresses已存在。
    409InvalidNetworkInterfacesVpc.ConflictMultiple vpcs are not supported for instances in the same HpcCluster.同一高性能集群下的RDMA实例不支持设置多个VPC。
    409InvalidTagKey.ConflictThe specified TagKey already exists.指定的标签键已存在。
    412InvalidVolumeSize.ImageSizeMismatchThe specified system disk size is smaller than the image file size.指定系统盘容量小于镜像文件大小。
    412InvalidSubnet.ZoneMismatchThe specified subnet and instance are in different Availability Zones.子网与实例不属于同一个可用区。
    412InvalidVolumeType.InstanceTypeMismatchThe specified VolumeType and InstanceType do not match.云盘类型和实例规格不匹配。
    412InvalidSecurityGroup.SubnetMismatchThe specified SecurityGroup and Subnet do not match.安全组与子网的私有网络不匹配。
    412IdempotentProcessingThe request uses the same client token as a previous one that is still in process.先前的幂等请求仍在处理中,请稍后重试。
    412InvalidVolumeType.ImageMismatchThe specified VolumeType and Image do not match.指定的云盘类型和镜像不匹配。
    412InvalidHpcCluster.ZoneMismatchThe specified HpcCluster and Instance's ZoneId do not match.高性能集群不在实例可用区的范围。
    412DryRunOperationYour request has been validated by the DryRunOperation.通过“DryRun”校验,您的请求已通过验证。
    412InvalidCreditSpecification.InstanceTypeIdMismatchThe specified credit specification and instance type id do not match.指定的突发性能实例模式与实例规格不匹配。
    412InvalidImageId.KeepImageCredentialMismatchThe specified ImageId and KeepImageCredential do not match.指定的ImageId和KeepImageCredential不匹配。
    412InvalidKeyPairName.KeepImageCredentialMismatchThe specified KeyPairName and KeepImageCredential do not match.指定的KeyPairName和KeepImageCredential不匹配。
    412InvalidPassword.KeepImageCredentialMismatchThe specified Password and KeepImageCredential do not match.指定的Password和KeepImageCredential不匹配。
    412InvalidVolumeTypes.MismatchMismatch between attached Volume types.挂载的云盘类型相互不匹配。
    412InvalidInstanceTypeId.DeploymentSetIdMismatchThe specified instance type id and deployment set id do not match.实例规格不支持加入部署集。
    412InvalidImage.InstanceTypeMismatchThe specified image and instance type do not match.指定的镜像不支持指定的实例规格。
    412InvalidInstanceType.ImageMismatchThe specified InstanceType and Image do not match.指定的实例规格和镜像不匹配。
    412InvalidDedicatedHost.InstanceTypeIdMismatchThe specified DedicatedHostId does not match InstanceTypeId.指定的专有宿主机ID与实例规格不匹配。
    412InvalidTenancy.DedicatedHostIdMismatchThe specified Tenancy does not match DedicatedHostId.指定的Tenancy与专有宿主机ID不匹配。
    412InvalidDedicatedHostClusterId.DedicatedHostIdMismatchThe specified DedicatedHostClusterId does not match DedicatedHostId.指定的专有宿主机集群与专有宿主机不匹配。
    412InvalidSnapshotZoneId.MismatchThe specified ZoneId does not match the snapshot ZoneId.指定的ZoneId与快照ZoneId不匹配。
    412InvalidReleaseWithInstance.ChargeTypeMismatchThe specified release with instance and charge type do not match.指定的公网IP随实例删除属性与计费类型不匹配。
    412InvalidSecurityProtectionInstance.RegionMismatchThe specified security protection instance is not in the specified region.指定的安全防护实例不属于指定地域。
    412InvalidSecurityProtectionInstance.SpecMismatchThe specified security protection instance and eip are in different specifications.指定的安全防护实例和EIP规格不匹配。
    412InvalidSecurityProtectionTypes.BandwidthPackageIdMismatchThe specified security protection types and bandwidth package id do not match.指定EIP和共享带宽的安全防护级别不一致。
    412OperationDenied.SpecifiedSecurityGroupNotAuthorizedYou are not authorized to perform operations on the specified security group. The specified security group is a service-managed security group.无权对指定的安全组执行操作,指定的安全组是服务管理的安全组。
    429FlowLimitExceededYou've reach the limit on request rate of resources.您已超过资源请求限速,请稍后重试。
    500Insufficient.InstanceCapacityThere is not enough capacity to fulfill your request.当前资源不足,请稍后重试或选择其它实例规格。

    500

    Insufficient.VolumePoolCapacity

    There is not enough capacity to fulfill your request.

    当前存储池容量不足。

    500InternalErrorAn internal error has occurred.内部错误,请重试。如果多次尝试失败,请提交工单。