You need to enable JavaScript to run this app.
文档中心
云服务器

云服务器

复制全文
下载 pdf
实例
RunInstances - 创建实例
复制全文
下载 pdf
RunInstances - 创建实例
调用 RunInstances 接口创建一台或多台云服务器实例。
使用说明
  • 支持使用专有宿主机创建云服务器实例,有关专有宿主机的更多信息,请参见DDH API概览
  • 通过本接口创建GPU实例时,您可以通过Userdata参数传入Base64编码后的GPU驱动安装脚本,自动安装指定版本的GPU驱动、CUDA及cuDNN库。
注意事项
本接口为异步接口,请求发送成功后会返回实例ID,但这并不代表实例已成功创建。实例的创建和启动不是立即完成的,您可以调用DescribeInstances查看实例状态,当返回的StatusRUNNING时,表示已成功创建并启动。
调试
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
请求参数
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数
Action string 必选 示例值:RunInstances
要执行的操作,取值:RunInstances。
Version string 必选 示例值:2020-04-01
API的版本,取值:2020-04-01。
AffinityGroupSize integer 可选 示例值:2
亲和组规格,取值:2。
说明
  • 当前仅高性能计算NPU型hpcpci3实例(邀测)支持亲和组。
  • 该功能正在邀测中,如需试用,请联系客户经理申请。
AutoRenew boolean 可选 示例值:true
实例到期后是否自动续费,取值:
  • true:自动续费。
  • false(默认):不自动续费。
说明
仅当参数InstanceChargeType取值为PrePaid时生效。
AutoRenewPeriod integer 可选 示例值:1
每次自动续费的时长。
  • 仅当参数AutoRenew取值为True时,该参数生效,默认值为1。
  • PeriodUnit取值为Month时,该参数取值为1、2、3、6、12。
ClientToken string 可选 示例值:333456899ff****
保证请求幂等性。由客户端自动生成一个参数值,确保不同请求间该参数值唯一,避免当调用API超时或服务器内部错误时,客户端多次重试导致重复性操作。
取值:仅支持ASCII字符,且不能超过64个字符。
Count integer 可选 示例值:1
创建数量,取值范围:1~100;传入0时,会默认为1。
CpuMaxFrequency float 可选 示例值:2.8
指定CPU最大频率,单位:GHz,取值范围:CPU的主频到睿频之间。
说明
  • 当前仅g3al(4xlarge、8xlarge、16xlarge、32xlarge)、c3al(4xlarge、8xlarge、16xlarge、32xlarge)、r3al(4xlarge、8xlarge、16xlarge)、g4i、c4i、r4i、g4ie、c4ie、r4ie实例支持设置该参数。规格的主频/睿频及更多信息,请参见实例规格介绍
  • 该功能正在邀测中,如需使用,请联系客户经理申请。
CpuOptions.TopologyType string 可选 示例值:DiscreteCoreToHTMapping
CPU拓扑模式。取值:
  • ContinuousCoreToHTMapping:HT连续模式。
  • DiscreteCoreToHTMapping(默认值):HT离散模式。
说明
  • 该功能正在邀测中,如需使用,请联系客户经理申请。
CreditSpecification string 可选 示例值:Standard
突发性能实例的运行模式,取值:
  • Standard:标准模式。
  • Unlimited:无性能约束模式(暂不支持)。
说明
  • 仅当InstanceTypeId取值为ecs.t2系列,即突发性能实例时该参数生效。
  • 不传或传入空值时,突发性能实例默认为Standard标准模式。
DeletionProtection boolean 可选 示例值:true
实例删除保护属性,指定是否支持通过控制台或API删除实例。取值:
  • true:开启实例删除保护。
  • false(默认):关闭实例删除保护。
DeploymentSetGroupNumber integer 可选 示例值:1
当ECS实例要加入或调整的部署集策略为部署集组高可用策略(AvailabilityGroup)时,可以通过该参数指定实例在部署集中的分组号,取值范围:1~7。
DeploymentSetId string 可选 示例值:dps-yc1o9aahks5m57nk****
实例需要加入的部署集ID。
Description string 可选 示例值:ECS instance for testing.
实例的描述,默认为空字符串。
  • 必须以字母或中文开头。
  • 只能包含中文、字母、数字、点号“.”、空格、下划线“_”、中划线“-”、等号“=”、英文逗号“,”、中文逗号“,”和中文句号“。”
  • 长度限制在255个字符以内。
DryRun boolean 可选 示例值:false
是否只预检此次请求,取值:
  • true:发送检查请求,不会创建实例。检查项包括是否填写了必需参数、请求格式、业务限制和ECS库存。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码DryRunOperation。
说明
DryRun取值为true时,若传入了CountMincount参数,则取值必须为1。
  • false(默认):发送正常请求,通过检查后直接创建实例。
EipAddress.BandwidthMbps integer 可选 示例值:1
公网IP的带宽上限,默认值为1,单位:Mbps。
  • ChargeType传入PayByBandwidth:取值范围1~500。
  • ChargeType传入PayByTraffic:取值范围1~200。
EipAddress.BandwidthPackageId string 可选 示例值:bwp-2zeo05qre24nhrqpy****
共享带宽包的ID,表示将公网IP加入到共享带宽包。
  • 公网IP加入到共享带宽包必须同时满足如下条件:
  • 二者的安全防护类型相同。
  • 二者的地域相同。
  • 公网IP的计费方式必须是按量计费。
  • 共享带宽包为IPv4类型。
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.ReleaseWithInstance boolean 可选 示例值:false
公网IP是否随实例删除,仅按量计费公网IP生效。取值:
  • true:公网IP随实例删除。当实例被系统自动回收(退订24小时后、到期回收等)或被调用DeleteInstanceDeleteInstances接口删除时,公网IP随实例一同释放。
  • false(默认):公网IP不随实例删除。
EipAddress.SecurityProtectionInstanceId integer 可选 示例值:20
DDoS原生防护(企业版)ID。
  • 您可以调用DescInstanceList接口,查询DDoS原生防护(企业版)的ID。
  • SecurityProtectionTypes传入AntiDDoS_Enhanced时,此参数必须传入。
EipAddress.SecurityProtectionTypes.N string[] 可选 示例值:SecurityProtectionTypes.1 =AntiDDoS_Enhanced
公网IP的安全防护类型。
  • 参数 - N:表示安全防护类型的序号,当前仅支持取1。
  • 取值:
  • AntiDDoS_Enhanced:申请增强防护类型的公网IP,可加入到DDoS原生防护(企业版)实例。
说明
  • EipAddress.SecurityProtectionTypes.N传入AntiDDoS_Enhanced,则EipAddress.ChargeType不能为PrePaid,且EipAddress.ISP必须传入BGP
  • 增强防护类型公网IP正在邀测中,如需试用,请联系客户经理申请。
  • 不填则表示申请默认防护类型的公网IP。
EnablePrimaryInterfaceHighBandwidthType boolean 可选 示例值:false
主网卡是否支持大带宽类型。取值:
  • true:支持。
  • false(默认):不支持。
Hostname string 可选 示例值:instance-host-name
实例主机名,即实例操作系统内部的计算机名。
  • Linux实例:
  • 允许使用字母、数字、点号“.”或中划线“-”。
  • 不能以中划线、点号开头或结尾,且不能连续使用中划线和点号。
  • Linux系统长度限制在2~63个字符之间。
  • Windows实例:
  • 允许使用字母、数字或中划线“-”,不能完全是数字。
  • 不能以中划线开头或结尾,且不能连续使用中划线。
  • Windows系统长度限制在2~15个字符之间。
说明
  • 如不填,则遵循 iv- + 初始主机名 规则自动生成,例如
  • iv-3tigy72q3u3vj0******。
  • 初始主机名生成逻辑:
  • Linux:提取实例IDi-之后的全部字符。
  • Windows:提取实例IDi-之后的后12位字符。
HpcClusterId string 可选 示例值:hpcCluster-l8u24ovdmoab6opf****
实例所属的高性能计算集群ID。
说明
仅当创建高性能计算GPU型实例时,该参数生效且为必填项。
HttpTokens string 可选 示例值:optional
实例元数据的访问模式,是否强制使用加固模式。取值:
  • optional(默认):不强制使用(兼容模式),指既可以通过普通方式直接访问实例元数据,也可以通过基于token鉴权的加固方式进行访问。
  • required:强制使用(仅加固模式),即仅支持基于token鉴权的加固方式访问实例元数据。
说明
  • 仅加固模式正在邀测中,如需试用,请联系客户经理申请。
ImageId string 必选 示例值:image-3tefr6wgx63vj0x1****
启动实例时使用的镜像ID。
说明
您可以调用DescribeImages接口,在InstanceTypeId参数中传入期望创建的实例规格ID,查询支持该规格使用的镜像及其ID信息。
ImageReleaseVersion string 可选 示例值:20241115
使用的镜像具体版本号。
说明
  • 该参数仅选用公共镜像时生效。
  • 若为空,将使用镜像的最新版本。
InstallRunCommandAgent boolean 可选 示例值:false
创建实例时是否安装云助手Agent,取值:
  • true:创建时安装。
  • false(默认):创建时不安装。
说明
有关云助手的更多信息请参见云助手概述
InstanceChargeType string 可选 示例值:PostPaid
实例和云盘的计费类型,取值:
  • PostPaid:按量计费。
  • PrePaid:包年包月。请确认您的账号支持余额支付或者信控支付,否则将返回InvalidInstanceChargeType的错误提示。
InstanceName string 必选 示例值:instance-test
实例的名称。
  • 以字母或中文开头。
  • 只能包含中文、字母、数字、下划线“_”、中划线“-”和点号“.”。
  • 长度限制为1~128个字符。
说明
  • 若实例已设置SuffixIndex有序后缀,则实例名称长度包含有序后缀。
InstanceTypeId string 必选 示例值:ecs.g1ie.xlarge
实例规格。
KeepImageCredential boolean 可选 示例值:true
是否保留镜像设置,取值:
  • true:保留镜像设置,保留后将使用镜像预设的密码或密钥对登录实例。
  • false(默认):不保留镜像设置。
说明
  • 仅自定义镜像、共享镜像支持该功能。
  • 该参数取值为true时,请勿传入PassWordKeyPairName
KeyPairName string 可选 示例值:kp-test-123
如需使用“SSH密钥”方式登录实例,请指定已创建密钥对的名称。
您可以调用DescribeKeyPairs查看已创建的密钥对;如无可用,请调用CreateKeyPair创建密钥对。
说明
  • Windows实例不支持SSH密钥方式,即使传入了该参数,仍旧只生效密码Password
  • Linux实例支持密码或密钥对登录。调用该接口时如果同时设置了密钥对KeyPairName和密码Password,则仅生效密钥对KeyPairName
MinCount integer 可选 示例值:2
指定ECS实例最小创建数量,取值范围:1~100。
  • 实例最小创建数量MinCount ≤ 创建数量Count
  • 当库存数量 > 创建数量Count,按Count创建。
  • 当最小创建数量MinCount ≤ 库存数量 ≤ 创建数量Count,按库存数量创建。
  • 当库存数量 < 最小创建数量MinCount,会因库存不足而创建失败。
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之间用&分隔。
NetworkInterfaces.N.SubnetId string[] 必选 示例值:NetworkInterfaces.1.SubnetId=subnet-3tispp1nai4e8i******& NetworkInterfaces.2.SubnetId=subnet-2ff1nczrx2lts5oxru******
实例的私有网络子网ID,创建实例时,支持同时绑定辅助网卡。
  • 参数 - N:表示网卡的序号,N = 1表示主网卡;N ≥ 2表示辅助网卡。
  • 多个私有网络子网ID之间用&分隔。
NetworkInterfaces.N.Ipv6AddressCount integer[] 可选 示例值:NetworkInterfaces.1.Ipv6AddressCount=1
为主网卡分配的私网IPv6地址数量,仅支持取1。
  • 传入该参数,系统会自动从网卡所属子网中,分配相应数量的空闲私网IPv6地址,作为网卡的私网IPv6地址。
  • 创建实例时仅支持为主网卡分配IPv6地址,若要为辅助网卡分配IPv6地址,可参考 CreateNetworkInterface
  • 参数 - N:表示网卡的序号,N = 1表示主网卡;N ≥ 2表示辅助网卡,故传入N ≥ 2时,该参数将被忽略。
说明
为网卡分配IPv6地址正在邀测中,暂仅支持完成 企业认证的账号申请试用,如需试用,请联系客户经理。
NetworkInterfaces.N.PrimaryIpAddress string[] 可选 示例值:NetworkInterfaces.1.PrimaryIpAddress=192.168.XX.XX
指定网卡的主IP地址,当前仅支持为主网卡或辅助网卡指定一个主IP地址。
  • 参数 - N:表示网卡的序号,N = 1表示主网卡;N ≥ 2表示辅助网卡。
  • 多个网卡之间用&分隔。
NetworkInterfaces.N.PrivateIpAddresses.N string[] 可选 示例值:NetworkInterfaces.1.PrivateIpAddresses.1=172.16.XX.XX&NetworkInterfaces.1.PrivateIpAddresses.2=172.16.XX.XX
指定主网卡的辅助IP地址,当前只支持主网卡指定辅助IP。
  • 第一个N:表示主网卡的序号,当前仅支持绑定一张主网卡。
  • 第二个N:表示主网卡的辅助IP序号,最多可分配的辅助IP地址的数量为该实例规格的单网卡私有IP数减去一个主私网IP。
  • 多个辅助IP之间用&分隔。
NetworkOptions.EnableJumboFrame boolean 可选 示例值:true
实例是否开启巨型帧。取值:
  • false:不开启巨型帧,该实例的所有网卡MTU值为1500。
  • true:开启巨型帧,该实例的所有网卡MTU值为8500。
说明
该功能仅支持部分实例,支持巨型帧的实例请参见开启/关闭巨型帧
Password string 可选 示例值:password@123
如需使用“密码”方式登录实例,请通过该参数指定实例的管理员账号初始登录密码。其中Linux管理员账号为root,Windows管理员账号为Administrator。
密码复杂度要求如下:
  • 长度限制在8~30之间。
  • 密码只能由大写字母、小写字母、数字和特殊字符组成,且必须包含至少三项。
  • 特殊字符可以使用:`~!@#$%^&*()_-+=|{}[]:;'<>,.?/
  • 不能以“/”和“$6$”开头。
说明
登录凭证支持“密码”、“密钥对”、“保留镜像设置”三种方式,使用“密码”方式登录实例时,建议增加密码复杂度以提高安全性。
Period integer 可选 示例值:12
购买资源的时长(月)。
  • 取值:1、2、3、4、5、6、7、8、9、12、24、36、48、60
  • 默认值:1
说明
仅当参数InstanceChargeType取值为PrePaid时,该参数生效且为必选值。
PeriodUnit string 可选 示例值:Month
购买资源的时长单位,取值:Month(默认)。
说明
仅当InstanceChargeType取值为PrePaid时,该参数生效且为必选值。
Placement.Affinity string 可选 示例值:Default
针对节省停机模式的ECS实例,停止后会释放部分资源,本参数用于选择专有宿主机实例重新启动时是否仍固定部署在原宿主机上。取值:
  • Host:启用节省停机模式的实例重新启动时,仍会部署在原宿主机上。
  • Default(默认):启用节省停机模式的实例重新启动时,会优先迁移到支持自动部署的宿主机;若支持自动部署的宿主机资源不足,则在原宿主机上进行启动。
Placement.DedicatedHostClusterId string 可选 示例值:dc-ycle6b76kgv2wrsm****
实例所在的专有宿主机集群ID。
您可以调用DescribeDedicatedHostClusters接口查询宿主机集群ID。
Placement.DedicatedHostId string 可选 示例值:dh-bp67acfmxazb4p****
实例所在的专有宿主机ID。
您可以调用DescribeDedicatedHosts接口查询专有宿主机列表。
Placement.Tenancy string 可选 示例值:Default
是否在专有宿主机上创建实例,取值:
  • Default(默认):创建普通云服务器实例。
  • Host:创建专有宿主机实例。若您不指定Placement.DedicatedHostId,则由系统自动选择专有宿主机放置实例。
说明
专有宿主机上支持创建的实例规格请参见规格介绍
ProjectName string 可选 示例值:project_a
资源所属项目,一个资源只能归属于一个项目。
  • 只能包含字母、数字、下划线“_”、点“.”和中划线“-”。
  • 长度限制在64个字符以内。
SecurityEnhancementStrategy string 可选 示例值:Active
是否开启安全加固,取值:
  • Active:开启安全加固,仅对公共镜像生效。
  • InActive:关闭安全加固,对所有镜像类型生效。
SpotPriceLimit double 可选 示例值:0.78
抢占式实例的每小时最高价格,支持最大3位小数。
仅当SpotStrategy取值为SpotWithPriceLimit时,该参数生效。
SpotStrategy string 可选 示例值:NoSpot
按量计费实例的抢占式策略,取值:
  • NoSpot(默认):表示创建正常按量计费实例。
  • SpotAsPriceGo:系统自动出价,跟随当前市场实际价格的抢占式实例。
  • SpotWithPriceLimit:设置出价上限的抢占式实例。
说明
  • InstanceChargeType取值为PostPaid时,该参数生效。
SuffixIndex integer 可选 示例值:1
有序后缀的起始序号,取值:1~999,默认值为1。
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
UniqueSuffix boolean 可选 示例值:false
表示当创建多台实例时,是否为HostnameInstanceName自动添加有序后缀,取值:
  • true:开启有序后缀。
  • false(默认):关闭有序后缀。
说明
  • 开启有序后缀时,若Hostname为空,系统将自动生成主机名,主机名后无有序后缀。
UserData string 可选 示例值:ZWNobyBoZWxsbyBlY3Mh
实例自定义数据。设置的自定义数据必须经过Base64编码,且Base64编码前的自定义数据大小不能超过16KB。
不填则默认为空。
Volumes.N.Size integer[] 必选 示例值:Volumes.1.Size=100&Volumes.2.Size=100
云盘的容量,单位为GiB。N的取值范围1~16,N = 1表示系统盘,N ≥ 2表示数据盘。多个云盘之间用&分隔。
云盘容量的取值范围:
  • 系统盘:
  • ESSD_PL0:20~2048
  • ESSD_FlexPL:20~2048
说明
默认值:max{40 ,ImageId对应的镜像容量}。
  • 数据盘:
  • ESSD_PL0:10~32768
  • ESSD_FlexPL:10~32768
说明
如果不传入该参数,则使用Volumes.N.SnapshotId对应的快照大小作为数据盘的容量大小。若未传入Volumes.N.SnapshotId,则报错LimitExceeded.DataVolumeSize。
Volumes.N.DeleteWithInstance boolean[] 可选 示例值:Volumes.1.DeleteWithInstance=true&Volumes.2.DeleteWithInstance=false
云盘是否随实例释放,取值:
  • true(默认):云盘随实例释放。
  • false:云盘不随实例释放。
说明
  • 参数 - N:表示云盘的序号,取值范围:1~16。N = 1表示系统盘,系统盘默认随实例释放,不可保留;N ≥ 2表示数据盘,可选择是否随实例释放。
  • 多个云盘之间用&分隔。
Volumes.N.ExtraPerformanceIOPS integer[] 可选 示例值:Volumes.2.ExtraPerformanceIOPS=100
云盘额外IOPS性能大小,仅ESSD FlexPL数据盘支持,单位为次/秒。
ExtraPerformanceTypeIdBalanceIOPS时需设置该参数。各个类型的额外性能取值范围如下:
  • IOPS型:1~50000。
  • Balance型:1~50000。
说明
  • 参数 - N:表示云盘的序号,取值范围:1~16。N = 1表示系统盘,故N传入1时,该参数将被忽略。N ≥ 2表示数据盘,可正常传入该参数。
  • 多个云盘之间用&分隔。
Volumes.N.ExtraPerformanceThroughputMB integer[] 可选 示例值:Volumes.2.ExtraPerformanceThroughputMB=100
云盘额外吞吐性能大小,单位MB/s,仅ESSD FlexPL数据盘支持。
ExtraPerformanceTypeIdThroughput时需设置该参数。
取值范围:1~650。
说明
  • 参数 - N:表示云盘的序号,取值范围:1~16。N = 1表示系统盘,故N传入1时,该参数将被忽略。N ≥ 2表示数据盘,可正常传入该参数。
  • 多个云盘之间用&分隔。
Volumes.N.ExtraPerformanceTypeId string[] 可选 示例值:Volumes.2.ExtraPerformanceTypeId=IOPS
云盘额外性能的类型,仅ESSD FlexPL数据盘支持。取值:
  • Balance:均衡型额外性能。
  • IOPS:IOPS型额外性能。
  • Throughput:吞吐量型额外性能。
关于额外性能的更多介绍,请参见云盘额外性能
说明
  • 参数 - N:表示云盘的序号,取值范围:1~16。N = 1表示系统盘,故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不支持快照相关功能。
  • 仅状态为“可用”的快照支持创建新云盘,“创建中”、“回滚中”、“删除中”及“错误”状态下的快照不支持创建新云盘。
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表示数据盘。
  • 多个云盘之间用&分隔。
ZoneId string 必选 示例值:cn-beijing-a
实例所在可用区ID。
您可以调用DescribeZones查询一个地域下的可用区信息。
返回参数
下方仅列出本接口特有的返回参数。更多信息请参见返回结构
InstanceIds string[] 示例值:[ "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: ecs.cn-beijing.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******"
]
}
}
错误码
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。
状态码
错误码
错误信息
说明
400
IdempotentParameterMismatch
The 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.
幂等参数不一致。
400
Insufficient.Balance
The request is denied due to the lack of balance.
账户余额不足。
400
InvalidArgument
The specified argument is invalid.
指定的参数不合法。
400
InvalidBandwidthPackageStatus
The status of the specified bandwidth package does not support this request.
指定的带宽包的状态不支持此请求。
400
InvalidClientToken.Malformed
The specified ClientToken is malformed.
指定的ClientToken不合法。
400
InvalidCount.Malformed
The specified count is malformed.
指定的参数Count不合法。
400
InvalidCreditSpecification.Malformed
The specified credit specification is malformed.
指定的突发性能实例模式不合法。
400
InvalidDedicatedHostStatus.Unsupported
The status of the specified dedicated host does not support this request.
当前专有宿主机的状态不支持此操作。
400
InvalidDeploymentSetGroupNumber
The specified DeploymentSetGroupNumber is invalid.
指定的部署集分组不合法。
400
InvalidEipAddressChargeType.Malformed
The specified ChargeType of elastic ip is malformed.
指定的公网IP计费类型不合法。
400
InvalidExtraPerformanceTypeId.Malformed
The specified ExtraPerformanceTypeId is malformed.
指定的额外性能包类型不合法。
400
InvalidExtraPerformanceValue.Malformed
The specified ExtraPerformance Value is malformed.
指定的额外性能值不合法。
400
InvalidHostname.Malformed
The specified Hostname is malformed.
指定的主机名不合法。
400
InvalidHttpTokens.Malformed
The specified HttpTokens is malformed, you can use optional(default) or required.
指定的参数HttpTokens值非法,请使用optional(默认)或者required。
400
InvalidHttpTokensForImage.Unsupported
The specified image does not support security hardening mode for accessing metadata.
指定的镜像不支持仅加固模式访问元数据。
400
InvalidImageForConfidentialComputing.UnSupported
The specified image does not support confidential computing.
指定的镜像不支持机密计算能力。
400
InvalidInstanceChargeType
The specified InstanceChargeType is invalid.
指定的实例计费类型不合法。
400
InvalidInstanceDescription.Malformed
The specified InstanceDescription is malformed.
指定的实例描述不合法。
400
InvalidInstanceName.Malformed
The specified InstanceName is malformed.
指定的实例名称不合法。
400
InvalidInstanceType.ImageMismatch
The specified InstanceType and Image do not match.
指定的实例规格和镜像不匹配。
400
InvalidInstanceTypeForAffinityGroupSize.Unsupported
The specified instance type does not support the affinity group size.
指定的实例规格不支持该亲和组规格。
400
InvalidInstanceTypeForConfidentialComputing.NotSupported
The specified instance type does not support confidential computing.
指定的实例规格不支持机密计算能力。
400
InvalidInstanceTypeForCreateSpotInstance.Unsupported
The specified InstanceType does not support creation of spot instances.
指定的实例规格不支持创建抢占式实例。
400
InvalidInstanceTypeForNonAffinityGroup.Unsupported
The specified instance type does not support the non affinity group.
指定的实例规格不支持非亲和组实例创建。
400
InvalidIpv6AddressCount.Malformed
The specified Ipv6AddressCount is malformed.
指定的IPv6地址数目不合法。
400
InvalidIpv6OnlySubnet.Unsupported
The specified ipv6 only subnet is unsupported.
暂不支持使用ipv6-only的子网创建实例。
400
InvalidKeyPairForWindows.Unsupported
The OSType of this specified instance is Windows, which does not support key pairs.
指定的实例是Windows操作系统,不支持密钥对。
400
InvalidMinCount.Malformed
The specified MinCount is malformed.
指定的实例最小购买数量不合法。
400
InvalidNetworkInterfaceType
The type of specified elastic network interface is illegal for the request.
指定类型的弹性网卡无法响应该请求。
400
InvalidParameterCombination
Indicates an incorrect combination of parameters.
参数组合错误或缺失参数。
400
InvalidPassword.Malformed
The specified password is malformed.
指定的密码格式不合法。
400
InvalidPeriod
The specified period is not valid.
指定的计费周期个数不合法。
400
InvalidPeriodUnit
The specified PeriodUnit is not valid, is unsupported, or cannot be used.
指定的计费周期不合法。
400
InvalidPlacementAffinity.Malformed
The specified placement affinity is malformed.
指定的Placement.Affinity不合法。
400
InvalidPlacementTenancy.Malformed
The specified placement tenancy is malformed.
指定的Placement.Tenancy不合法。
400
InvalidPrimaryInterfaceHighBandwidthType.Unsupported
The specified instance type does not support specify primary to interface high bandwidth type.
指定的规格不支持指定主网卡为大带宽类型。
400
InvalidProjectName
The specified ProjectName is invalid.
指定的项目名不合法。
400
InvalidSecurityEnhancementStrategy.Malformed
The specified SecurityEnhancementStrategy is malformed.
指定的安全增强策略不合法。
400
InvalidSecurityGroupStatus
The specified security group is not in the correct status for the request.
指定的安全组所处的状态无法响应该请求。
400
InvalidSecurityGroupType.Malformed
The specified SecurityGroupType is malformed.
指定的安全组类型不合法。
400
InvalidSecurityProtectionInstanceStatus
The specified security protection instance is not in the correct status for the request.
指定的安全防护实例所处的状态无法响应该请求。
400
InvalidSecurityProtectionTypes.Malformed
The specified security protection type is malformed.
指定的安全防护级别不支持。
400
InvalidSnapshotStatus
The status of the specified snapshot does not support this request.
指定的快照状态不支持此操作。
400
InvalidSpotPriceLimit.Malformed
The specified SpotPriceLimit is malformed.
指定的实例抢占价格不合法。
400
InvalidSpotStrategy.Malformed
The specified SpotStrategy is malformed.
指定的实例抢占策略不合法。
400
InvalidSubnetStatus
The specified subnet is not in the correct status for the request.
指定子网所处的状态无法响应该请求。
400
InvalidSuffixIndex.Malformed
The specified SuffixIndex is malformed.
指定的有序后缀不合法。
400
InvalidSystemVolumeForExtraPerformance.Unsupported
The specified SystemVolume does not support extra performance.
指定的系统盘不支持购买额外性能。
400
InvalidTagKey.Malformed
The specified TagKey is malformed.
指定的标签的键不合法。
400
InvalidTagValue.Malformed
The specified TagValue is malformed.
指定的标签的值不合法。
400
InvalidTopologyType.Malformed
The specified TopologyType is malformed.
指定的TopologyType不合法。
400
InvalidUserData.Malformed
The specified UserData is malformed.
指定的UserData不合法。
400
InvalidVolumeKindForExtraPerformance.Unsupported
The specified VolumeKind does not support extra performance.
指定的云盘类型不支持购买额外性能。
400
InvalidVolumeReleaseType.Malformed
The specified VolumeReleaseType is malformed.
指定的云盘释放类型不合法。
400
InvalidVolumeSizeForExtraPerformance.Unsupported
The specified VolumeSize does not support extra performance.
指定的云盘容量不支持购买额外性能。
400
InvalidVolumeStatus
The status of the specified volume does not support this request.
当前云盘状态不支持此操作。
400
InvalidVolumeType.Malformed
The specified VolumeType is malformed.
指定的云盘类型不合法。
400
InvalidVolumeTypeForExtraPerformance.Unsupported
The specified VolumeType does not support extra performance.
指定的云盘类型不支持购买额外性能。
400
InvalidVolumeTypeForSnapshot.UnSupported
The specified VolumeType cannot be used for create snapshot.
指定的云盘类型不支持快照。
400
LimitExceeded.DataVolumeSize
The specified data volume size exceeds the limit.
指定的数据盘大小(GiB)超出限制。
400
LimitExceeded.ExtraPerformance
You've reached the limit on the number of ExtraPerformance that you can set.
额外性能已达上限。
400
LimitExceeded.ExtraPerformanceThroughput
You've reached the limit on the number of ExtraPerformanceThroughput that you can set.
吞吐量已达上限,无需购买额外性能。
400
LimitExceeded.MaximumDeploymentSetInstances
You've reached the limit on the number of instances that can be added to the deployment set.
指定的部署集内的实例数量超过最大限制。
400
LimitExceeded.MaximumEipBandwidth
The specified elastic ip bandwidth value exceeds the maximum limit.
指定的公网IP带宽值超过最大限制。
400
LimitExceeded.MaximumExtraPerformanceIOPS
The number of specified ExtraPerformanceIOPS exceeds the maximum limit.
指定的额外性能IOPS超过最大限制。
400
LimitExceeded.MaximumExtraPerformanceThroughputMB
The number of specified ExtraPerformanceThroughputMB exceeds the maximum limit.
指定的额外性能吞吐量超过最大限制。
400
LimitExceeded.MaximumHighPerformanceNetworkInterfaces
You've reached the limit on the number of HighPerformance NetworkInterfaces that can be attached to the instance.
指定的实例挂载的RDMA通讯模式网卡数量超过最大限制。
400
LimitExceeded.MaximumNetworkInterfaces
You've reached the limit on the number of NetworkInterfaces that can be attached to the instance.
指定的实例挂载网卡数量超过最大限制。
400
LimitExceeded.MaximumSecurityProtectionTypes
You've reached the limit on the number of SecurityProtectionTypes that you can set.
指定的SecurityProtectionTypes数量超过最大限制。
400
LimitExceeded.MaximumSubnetIps
The number of specified subnet IP addresses exceeds the maximum limit.
指定子网的IP地址数量已经达到最大限制。
400
LimitExceeded.MaximumTags
You've reached the limit on the number of tags that you can create.
指定的标签数量超过最大限制。
400
LimitExceeded.MaximumVolumes
You've reached the limit on the number of volumes that can be attached to the instance.
指定的实例挂载云盘数量超过最大限制。
400
LimitExceeded.MinimumEipBandwidth
The specified elastic ip bandwidth value exceeds the minimum limit.
指定的公网IP带宽值超过最小限制。
400
LimitExceeded.MinimumExtraPerformanceIOPS
The number of specified ExtraPerformanceIOPS exceeds the minimum limit.
指定的额外性能IOPS超过最小限制。
400
LimitExceeded.MinimumExtraPerformanceThroughputMB
The number of specified ExtraPerformanceThroughputMB exceeds the minimum limit.
指定的额外性能吞吐量超过最小限制。
400
LimitExceeded.SystemVolumeSize
The specified system volume size exceeds the limit.
指定的系统盘大小(GiB)超出限制。
400
MissingParameter.HpcClusterId
The required parameter HpcClusterId is not supplied.
高性能计算集群ID不能为空。
400
MissingParameter.ImageId
The required parameter ImageId is not supplied.
镜像ID不能为空。
400
MissingParameter.InstanceName
The required parameter InstanceName is not supplied.
实例名称不能为空。
400
MissingParameter.InstanceTypeId
The required parameter InstanceTypeId is not supplied.
实例规格ID不能为空。
400
MissingParameter.NetworkInterfaces
The required parameter NetworkInterfaces is not supplied.
网卡信息不能为空。
400
MissingParameter.PasswordAndKeyPair
The required parameter PasswordAndKeyPair is not supplied.
密码与密钥对不允许同时为空。
400
MissingParameter.SecurityGroupIds
The required parameter SecurityGroupIds is not supplied.
安全组ID不能为空。
400
MissingParameter.SubnetId
The required parameter SubnetId is not supplied.
子网ID不能为空。
400
MissingParameter.VolumeType
The required parameter VolumeType is not supplied.
云盘类型不能为空。
400
MissingParameter.Volumes
The required parameter Volumes is not supplied.
云盘信息不能为空。
400
MissingParameter.ZoneId
The required parameter ZoneId is not supplied.
可用区ID不能为空。
400
OperationDenied.PurchaseLimited
You are not authorized to purchase ecs.
无权限购买ECS。
400
QuotaExceeded.BandwidthPackage
You've reached the limit on the number of instances that you can create, please submit ticket to request an increase in quota.
您已经达到了可以创建的带宽包数量的限制,请提交工单增加配额。
400
QuotaExceeded.MaximumEipAddresses
You've reached the limit on the number of EIP address that you can create, please submit ticket to request an increase in quota.
您已经达到了可以创建的公网IP地址数量的限制,请提交工单增加配额。
400
QuotaExceeded.MaximumEipInterfaceLimit
You've reached the limit of calling EIP API, please submit a ticket to increase the limit.
已达到请求EIP API次数限制,请提工单提高限制。
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
QuotaExceeded.MaximumGeneralCpus
You've reached the limit on the number of general instances CPU that you can create, please submit ticket or sign-on to the Console to request an increase in [general_vcpu] quota.
通用型实例CPU数量配额不足,请提工单或前往控制台申请提高配额。
400
QuotaExceeded.MaximumGpuBasicNums
You've reached the limit on the GPU number of GPU-accelerated instances that you can create, please submit ticket or sign-on to the Console to request an increase in [gpu_basic] quota.
GPU计算型实例卡数配额不足,请提工单或前往控制台申请提高配额。
400
QuotaExceeded.MaximumHighPerformanceGpus
You've reached the limit on the GPU number of High Performance Computing GPU instances that you can create, please submit ticket or sign-on to the Console to request an increase in [gpu_high_performance] quota.
高性能计算GPU型实例卡数配额不足,请提工单或前往控制台申请提高配额。
400
QuotaExceeded.MaximumInstanceCpus
You've reached the limit on the number of instance CPU that you can create, please submit ticket to request an increase in quota.
实例CPU数量配额不足,请提工单申请提高配额。
400
QuotaExceeded.MaximumInstanceTypeInstances
You've reached the limit on the number of instance type instances that you can create, please submit ticket to request an increase in quota.
规格实例数量配额不足,请提工单申请提高配额。
400
QuotaExceeded.MaximumInstances
You've reached the limit on the number of instances that you can create, please submit ticket to request an increase in quota.
实例数量配额不足,请提工单申请提高配额。
400
QuotaExceeded.MaximumLocalVolumeCpus
You've reached the limit on the number of local volume instances CPU that you can create, please submit ticket or sign-on to the Console to request an increase in [local_volume_vcpu] quota.
本地盘实例CPU数量配额不足,请提工单或前往控制台申请提高配额。
400
QuotaExceeded.MaximumNetworkInterfaces
You'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.MaximumReservedInstanceGeneralCpus
You've reached the limit on the number of general reserved instances CPU that you can create, please submit ticket or sign-on to the Console to request an increase in [general_vcpu_ri_regional] quota.
通用型实例地域级RI CPU数量配额不足,请提工单或前往控制台申请提高配额。
400
QuotaExceeded.MaximumReservedInstanceGpuBasicNums
You've reached the limit on the GPU number of GPU-accelerated reserved instances that you can create, please submit ticket or sign-on to the Console to request an increase in [gpu_basic_ri_regional] quota.
GPU计算型实例地域级RI卡数配额不足,请提工单或前往控制台申请提高配额。
400
QuotaExceeded.MaximumReservedInstanceHighPerformanceGpus
You've reached the limit on the GPU number of High Performance Computing GPU reserved instances that you can create, please submit ticket or sign-on to the Console to request an increase in [gpu_high_performance_ri_regional] quota.
高性能计算GPU型实例地域级RI卡数配额不足,请提工单或前往控制台申请提高配额。
400
QuotaExceeded.MaximumReservedInstanceLocalVolumeCpus
You've reached the limit on the number of local volume reserved instances CPU that you can create, please submit ticket or sign-on to the Console to request an increase in [local_volume_vcpu_ri_regional] quota.
本地盘实例地域级RI CPU数量配额不足,请提工单或前往控制台申请提高配额。
400
QuotaExceeded.MaximumSecurityGroupIps
You've reached the limit on the number of SecurityGroupIps that you can create, please submit ticket to request an increase in quota.
安全组关联的Ip数配额不足,请提工单申请提高配额。
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.
安全组关联的网卡数配额不足,请提工单申请提高配额。
400
QuotaExceeded.MaximumSecurityGroups
You've reached the limit on the number of SecurityGroups that you can create, please submit ticket to request an increase in quota.
安全组配额不足,请提工单申请提高配额。
400
QuotaExceeded.MaximumVolumes
You've reached the limit on the capacity of Volumes that you can create, please submit ticket to request an increase in quota.
云盘配额不足,请提工单申请提高配额。
400
QuotaExceeded.SecurityProtectionInstance
You've reached the limit on the number of security protection instance that you can add.
已达到安全防护实例可加入的数量上限。
403
AccessDeniedErr
User is not authorized to perform: vpc:AllocateEipAddress on resource: []
用户没有vpc:AllocateEipAddress接口权限,无法创建带公网IP的云主机。
403
InvalidChargeTypeForDeletionProtection.Unsupported
Deletion protection is only valid for postPaid instance.
删除保护功能只能使用在普通按量付费资源上。
403
RequestForbidden
Request is forbidden by the server.
由于您的账户违反了相关规定,ECS已停止对您服务,如需恢复服务请提交工单联系服务人员处理。
404
InvalidBandwidthPackage.NotFound
The specified BandwidthPackage does not exist.
指定的共享带宽包不存在。
404
InvalidDedicatedHost.NotFound
The specified dedicated host does not exist.
指定的专有宿主机不存在。
404
InvalidDedicatedHostCluster.NotFound
The specified dedicated host cluster does not exist.
指定的专有宿主机集群不存在。
404
InvalidDeploymentSet.NotFound
The specified DeploymentSet does not exist.
指定的部署集不存在。
404
InvalidHpcCluster.NotFound
The specified HpcCluster does not exist.
指定的高性能集群不存在。
404
InvalidISP.NotFound
The specified ISP does not exist.
指定的ISP不存在。
404
InvalidImage.NotFound
The specified image does not exist.
指定的镜像不存在。
404
InvalidInstanceType.NotFound
The specified InstanceType does not exist.
指定的实例规格不存在。
404
InvalidKeyPair.NotFound
The specified KeyPair does not exist.
指定的密钥对不存在。
404
InvalidProject.NotFound
The specified Project does not exist.
指定的Project不存在。
404
InvalidSecurityGroup.NotFound
The specified SecurityGroup does not exist.
指定的安全组不存在。
404
InvalidSecurityProtectionInstance.NotFound
The specified security protection instance does not exist.
指定的安全防护实例不存在。
404
InvalidSnapshot.NotFound
The specified Snapshot does not exist.
指定的快照不存在。
404
InvalidSubnet.DisableIPv6
Specified subnet disable IPv6.
子网未开启IPv6。
404
InvalidSubnet.NotFound
The specified subnet does not exist.
指定的子网不存在。
404
InvalidZone.NotFound
The specified zone does not exist.
指定的可用区不存在。
409
InvalidNetworkInterfacesVpc.Conflict
Multiple vpcs are not supported for instances in the same HpcCluster.
同一高性能集群下的rdma实例不支持设置多个vpc。
409
InvalidPrimaryIpAddress.Conflict
The specified PrimaryIpAddress already exists.
指定的PrimaryIpAddress已存在。
409
InvalidPrivateIpAddresses.Conflict
The specified PrivateIpAddresses already exists.
指定的PrivateIpAddresses已存在。
409
InvalidTagKey.Conflict
The specified TagKey already exists.
指定的标签键已存在。
412
DryRunOperation
Your request has been validated by the DryRunOperation.
通过“DryRun”校验,您的请求已通过验证。
412
IdempotentProcessing
The request uses the same client token as a previous one that is still in process.
先前的幂等请求仍在处理中,请稍后重试。
412
Insufficient.AclCapacity
You've reached the limit number of ACLs on the switch.
交换机的ACL数量超过限制。
412
InvalidAffinityGroupSize.CountMismatch
The specified AffinityGroupSize and Count conflict.
指定的亲和组规格和实例数量不匹配,实例数量必须为亲和组规格的整数倍。
412
InvalidAffinityGroupSize.DeploymentSetIdMismatch
The specified AffinityGroupSize and DeploymentSetId conflict.
不支持同时设置亲和组和部署集。
412
InvalidAffinityGroupSize.MinCountMismatch
The specified AffinityGroupSize and MinCount conflict.
不支持同时设置亲和组和最小创建数量。
412
InvalidCreditSpecification.InstanceTypeIdMismatch
The specified credit specification and instance type id do not match.
指定的突发性能实例模式与实例规格不匹配。
412
InvalidDedicatedHost.InstanceTypeIdMismatch
The specified DedicatedHostId does not match InstanceTypeId.
指定的专有宿主机ID与实例规格不匹配。
412
InvalidDedicatedHostCluster.InstanceTypeIdMismatch
The specified DedicatedHostClusterId does not match InstanceTypeId.
指定的专有宿主机集群ID与实例规格不匹配。
412
InvalidDedicatedHostClusterId.DedicatedHostIdMismatch
The specified DedicatedHostClusterId does not match DedicatedHostId.
指定的专有宿主机集群与专有宿主机不匹配。
412
InvalidEnableVrdma.JumboFrameMismatch
The specified request includes an unsupported operation. It is not supported to enable vRDMA ENI without jumbo frame on the ECS.
您在开启vRDMA前需先同时开启JumboFrame。
412
InvalidHpcCluster.InstanceTypeIdMismatch
The specified HpcClusterId does not match InstanceTypeId.
高性能集群和实例规格不匹配。
412
InvalidHpcCluster.VpcMismatch
The specified Vpc and the Vpc of HpcCluster do not match.
私有网络不匹配,您指定的私有网络和高性能集群网络不匹配。
412
InvalidHpcCluster.ZoneMismatch
The specified HpcCluster and Instance's ZoneId do not match.
高性能集群不在实例可用区的范围。
412
InvalidISP.BandwidthPackageMismatch
The specified ISP of EIP and bandwidth package do not match.
EIP和带宽包的指定ISP不匹配。
412
InvalidImage.InstanceTypeMismatch
The specified image and instance type do not match.
指定的镜像不支持指定的实例规格。
412
InvalidImageArchitecture.InstanceTypeArchitectureMismatch
The specified image architecture and instance type architecture do not match.
镜像和实例规格的架构类型不匹配。
412
InvalidImageId.KeepImageCredentialMismatch
The specified ImageId and KeepImageCredential do not match.
指定的ImageId和KeepImageCredential不匹配。
412
InvalidInstanceChargeType.AffinityGroupSizeMismatch
The specified InstanceChargeType does not match AffinityGroupSize.
指定的计费类型与亲和组规格不匹配,包年包月暂不支持创建亲和组实例。
412
InvalidInstanceTenancy.DeploymentSetIdMismatch
The specified instance tenancy and deployment set id do not match.
专有宿主机实例不支持加入部署集。
412
InvalidInstanceTypeId.DeploymentSetIdMismatch
The specified instance type id and deployment set id do not match.
实例规格不支持加入部署集。
412
InvalidIpv6OnlyNetworkInterfaceAndIpv4NetworkInterface.Mismatch
The specified ipv6 only network interface and ipv4 network interface do not match.
ipv6-only实例不支持使用ipv4网卡。
412
InvalidKeyPairName.KeepImageCredentialMismatch
The specified KeyPairName and KeepImageCredential do not match.
指定的KeyPairName和KeepImageCredential不匹配。
412
InvalidPassword.KeepImageCredentialMismatch
The specified Password and KeepImageCredential do not match.
指定的Password和KeepImageCredential不匹配。
412
InvalidReleaseWithInstance.ChargeTypeMismatch
The specified release with instance and charge type do not match.
指定的公网IP随实例删除属性与计费类型不匹配。
412
InvalidSecurityGroup.SubnetMismatch
The specified SecurityGroup and Subnet do not match.
安全组与子网的私有网络不匹配。
412
InvalidSecurityProtectionInstance.RegionMismatch
The specified security protection instance is not in the specified region.
指定的安全防护实例不属于指定地域。
412
InvalidSecurityProtectionInstance.SpecMismatch
The specified security protection instance and EIP are in different specifications.
指定的安全防护实例和EIP规格不匹配。
412
InvalidSecurityProtectionTypes.BandwidthPackageIdMismatch
The specified security protection types and bandwidth package id do not match.
指定EIP和共享带宽的安全防护级别不一致。
412
InvalidSnapshotZoneId.Mismatch
The specified ZoneId does not match the snapshot ZoneId.
指定的ZoneId与快照ZoneId不匹配。
412
InvalidSubnet.ZoneMismatch
The specified subnet and instance are in different Availability Zones.
子网与实例不属于同一个可用区。
412
InvalidSubnetImage.Mismatch
The specified image does not match the specified subnet.
指定的镜像和指定的子网不匹配。
412
InvalidTenancy.DedicatedHostIdMismatch
The specified Tenancy does not match DedicatedHostId.
指定的Tenancy与专有宿主机ID不匹配。
412
InvalidTenancy.InstanceTypeIdMismatch
The specified Tenancy does not match InstanceTypeId.
指定的Tenancy与实例规格不匹配。
412
InvalidVolumeSize.ImageSizeMismatch
The specified system disk size is smaller than the image file size.
指定系统盘容量小于镜像文件大小。
412
InvalidVolumeType.ImageMismatch
The specified VolumeType and Image do not match.
指定的云盘类型和镜像不匹配。
412
InvalidVolumeType.InstanceTypeMismatch
The specified VolumeType and InstanceType do not match.
云盘类型和实例规格不匹配。
412
InvalidVolumeTypes.Mismatch
Mismatch between attached Volume types.
挂载的云盘类型相互不匹配。
412
NotPaymentQualified
Your account has not passed the payment qualified yet.
账户未支付认证。
412
OperationDenied.AccountCountryAreaInvalid
This product is temporarily not available for sale in the country or region where you registered your account.
当前该产品暂不支持在您注册账户所在的国家/地区销售。
412
OperationDenied.AccountDeleted
The specified action is denied because the account has been deleted.
指定的操作被拒绝,因为该账号已注销。
412
OperationDenied.AccountTaxNoInvalid
To purchase BytePlus products, you need to provide a Goods and Services Tax (GST) number.
购买BytePlus的产品需要提供商品及服务税(GST)号码。
412
OperationDenied.AccountWeakVerified
The specified action is denied because the account failed to pass the weak real-name authentication.
指定的操作被拒绝,因为该账号弱实名认证失败。
412
OperationDenied.MainAccountNotSupportPaypal
You are requested to contact the main account to provide an alternative payment method other than Paypal before enabling the pay-as-you-go products in BytePlus.
本次下单的后付费商品不支持Paypal支付,请联系主账号补充其他支付方式。
412
OperationDenied.NotOpeningQualified
The specified action is denied because the account has not completed account authentication.
指定的操作被拒绝,因为该账号没有进行开户认证。
412
OperationDenied.NotSupportPaypal
You are requested to provide an alternative payment method other than Paypal before enabling the pay-as-you-go products in BytePlus.
本次下单的后付费商品不支持Paypal支付,请补充其他支付方式。
412
OperationDenied.RiskInterception
The specified action is denied. Due to risk interception, this feature is temporarily unavailable.
指定的操作被拒绝,风控拦截暂无法使用该功能。
412
OperationDenied.SpecifiedSecurityGroupNotAuthorized
You are not authorized to perform operations on the specified security group. The specified security group is a service-managed security group.
用户无权对指定的安全组执行操作,指定的安全组是服务管理的安全组。
412
OperationDenied.TrafficModeNotAuthorized
The specified operation is denied as you are not authorized to use traffic mode.
指定的操作被拒绝,因为您无权在指定的网络接口上执行操作。
412
OperationDenied.EnableJumboFrameForceDisabled
The specified operation is denied because Jumbo Frame is force-disabled for the account.
指定的操作被拒绝,因为当前账号强制关闭JumboFrame。
429
FlowLimitExceeded
You've reach the limit on request rate of resources.
您已超过资源请求限速。
500
Insufficient.InstanceCapacity
There is not enough capacity to fulfill your request.
当前资源不足,请稍后重试或选择其它实例规格。
500
Insufficient.VolumePoolCapacity
There is not enough capacity to fulfill your request.
当前存储池容量不足。
500
InternalError
An internal error has occurred.
内部错误,请重试。如果多次尝试失败,请提交工单。
最近更新时间:2026.08.20 15:14:37
这个页面对您有帮助吗?
有用
有用
无用
无用