RunInstances_云服务器 ECS_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

接口说明

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

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

使用须知

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

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

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

注意事项

  • 若实例计费方式为包年包月(PrePaid),在付款时默认会使用您可用的优惠券。
  • 单次最多能创建 100 台实例,超出 100 台,建议您分批或并发调用。
  • 如果参数InternetMaxBandwidthOut的值大于 0,则自动为实例分配公网 IP。
说明 单个地域下,单个阿里云账号按固定带宽计费的公网带宽峰值总和存在限制,请参见公网带宽限制

使用建议

  • 测试场景:可以通过设置DryRun=true发送预检请求。
  • 释放实例:您可以通过参数AutoReleaseTime设置实例自动释放时间,或者调用 DeleteInstances 进行手动释放。
  • 管理与检索:建议您为每批次启动的实例指定标签(Tag.N.KeyTag.N.Value),并且为主机名(HostName)和实例名称(InstanceName)添加有序后缀(UniqueSuffix)。具体操作,请参见批量设置有序的实例名称或主机名称
  • 启动模板:利用实例启动模板能为您免除每次创建实例时都需要填入大量配置参数的麻烦,您可以通过 CreateLaunchTemplate 创建实例启动模板后,在RunInstances请求中指定LaunchTemplateIdLaunchTemplateVersion使用启动模板。
  • 关闭超线程:在内存密集型业务场景,可以通过设置CpuOptions.ThreadsPerCore=1关闭超线程来提高内存配比。
  • 开启巨型帧:可以指定 NetworkOptions.EnableJumboFrame=true在创建时开启Jumbo frame特性。 更多信息,请参见 ECS 实例 MTU

请求示例

假设您需要在华东 1(杭州)地域创建一些 ECS 实例。期望使用特定的镜像、实例规格、安全组和虚拟交换机,同时配置一定容量的系统盘和数据盘,并分配公网 IP 和设定实例名称与密码。相关配置请求参数如下:

RegionId:"cn-hangzhou", //设置华东 1(杭州)地域
ImageId:"aliyun_3_x64_20G_alibase_20221102.vhd", //设置镜像 ID
InstanceType:"ecs.g7.large", //设置实例规格
SecurityGroupId:"sg-bp150uqocpf9jj70****", //设置安全组 ID
VSwitchId:"vsw-bp1qo7s91cbch5i4l****", //设置虚拟交换机 ID
SystemDisk:{
  Category:"cloud_essd", //设置系统盘类别为 ESSD 云盘
  Size:40, //设置系统盘大小为 40GiB
},
DataDisk:[
  {
    Category:"cloud_essd", //设置数据盘类别为 ESSD 云盘
    Size:100, //设置数据盘大小为 100GiB
  }
],
HostName:"ECS-test", //设置实例主机名称
Password:"ECS@test1234", //设置实例登录密码
InternetMaxBandwidthOut:10 //设置公网出带宽为 10Mbit/s

在上述配置的基础上,创建不同类型实例:

示例:创建 5 台自动续费的包年包月实例
Amount:5, //创建数量为 5 台
InstanceChargeType:"PrePaid", //表示包年包月
PeriodUnit:"Month", //设置时长单位为"月"
Period:1, //设置时长为 1 个月
AutoRenew:true, //表示自动续费
AutoRenewPeriod:1 //续费时长为 1 个月
示例:创建 10 台按量付费实例
Amount:10, //创建数量为 10 台
InstanceChargeType:"PostPaid", //表示按量付费
SpotStrategy:"NoSpot" //默认值,表示正常按量付费
示例:创建 20 台抢占式实例,并设置竞价策略和保留时长
Amount:20, //创建数量为 20 台
InstanceChargeType:"PostPaid",
SpotStrategy:"SpotAsPriceGo", //表示抢占式实例的竞价策略为根据市场价格自动出价
SpotDuration:1 //设置抢占式实例的保留时长为 1 小时

假设您已通过 CreateLaunchTemplate 创建了一个实例启动模版,现在需要使用该模版在华东 1(杭州)地域创建一些 ECS 实例。示例如下:

示例:根据实例启动模版创建 10 台 ECS 实例
RegionId:"cn-hangzhou", //设置华东 1(杭州)地域
Amount:10, //创建数量为 10 台
LaunchTemplateId:"lt-bp14xczpoxvb6rre****" //设置实例启动模版 ID

注意 实例的参数和模版内的参数同时指定时,优先以实例参数创建。例如:模版内的付费方式是包年包月,同时InstanceChargeType设定为PostPaid,创建的即为按量付费类型实例。

流控信息

请求速率为100/60(s)。更多流控信息,请前往配额中心查看

授权信息

如下是此API对应的授权信息,用于RAM权限策略语句的Action元素中,为RAM用户或RAM角色授予调用此API的权限。请通过 RAM 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
ecs:RunInstances
Create
全部资源
*
vpc:IsDefaultVSwitch
vpc:IsDefaultVpc
vpc:VPC
ecs:IsDiskEncrypted
ecs:InstanceTypeFamily
ecs:InstanceType
ecs:ImageOwnerId
ecs:ImageSource
ecs:NotSpecifySecurityGroupId
ecs:LoginAsNonRoot
ecs:IsSystemDiskByokEncrypted
ecs:IsDiskByokEncrypted
ecs:PasswordInherit
ecs:PasswordCustomized
ecs:IsSystemDiskEncrypted
ecs:ImagePlatform
ecs:IsDiskEncrypted
ecs:SecurityHardeningMode

请求参数

字段名称字段详情
RegionIdstring

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

示例值:cn-hangzhou参考取值来源:
    DescribeRegions
ImageIdstring

镜像 ID,启动实例时选择的镜像资源。您可以通过 DescribeImages 查询您可以使用的镜像资源。如果您不指定LaunchTemplateIdLaunchTemplateName以确定启动模板,也不通过指定ImageFamily选用镜像族系最新可用镜像,则ImageId为必选参数。

示例值:aliyun_2_1903_x64_20G_alibase_20200324.vhd参考取值来源:
    ImportImage
    CopyImage
    CreateImage
    ExportImage
    DescribeImages
ImageFamilystring

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

示例值:hangzhou-daily-update参考取值来源:
    DescribeImages
InstanceTypestring

实例的资源规格。如果您不指定LaunchTemplateIdLaunchTemplateName以确定启动模板,InstanceType为必选参数。 展开详情

示例值:ecs.g6.large参考取值来源:
    DescribeInstanceTypes
    CreateInstance
SecurityGroupIdstring

新创建实例所属于的安全组 ID。同一个安全组内的实例之间可以互相访问,一个安全组能容纳的实例数量视安全组类型而定,具体请参见使用限制的安全组章节。展开详情

示例值:sg-bp15ed6xe1yxeycg7****参考取值来源:
    CreateSecurityGroup
    DescribeSecurityGroups
VSwitchIdstring

虚拟交换机 ID。如果您创建的是 VPC 类型 ECS 实例,必须指定虚拟交换机 ID,且安全组和虚拟交换机在同一个专有网络 VPC 中。您可以调用 DescribeVSwitches 查询已创建的交换机的相关信息。展开详情

示例值:vsw-bp1s5fnvk4gn2tws0****
InstanceNamestring

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

示例值:k8s-node-[1,4]-alibabacloud参考取值来源:
    DescribeInstances
    ModifyManagedInstance
    DeregisterManagedInstance
Descriptionstring

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

示例值:Instance_Description
InternetMaxBandwidthIninteger<int32>

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

示例值:10
InternetMaxBandwidthOutinteger<int32>

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

示例值:10
HostNamestring

实例主机名称。限制说明如下:展开详情

示例值:k8s-node-[1,4]-ecshost
UniqueSuffixboolean

当创建多台实例时,是否为HostNameInstanceName自动添加有序后缀。有序后缀从 001 开始递增,最大不能超过 999。取值范围:展开详情

示例值:true
Passwordstring

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

示例值:EcsV587!
PasswordInheritboolean

是否使用镜像预设的密码。取值范围:展开详情

示例值:false
ZoneIdstring

实例所属的可用区 ID,您可以调用 DescribeZones 获取可用区列表。展开详情

示例值:cn-hangzhou-g参考取值来源:
    DescribeZones
InternetChargeTypestring

网络计费类型。取值范围:展开详情

示例值:PayByTraffic
SystemDisk.Sizestring

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

示例值:40
SystemDisk.Categorystring

系统盘的云盘种类。取值范围:展开详情

示例值:cloud_ssd
SystemDisk.DiskNamestring

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

示例值:cloud_ssdSystem参考取值来源:
    DescribeDisks
SystemDisk.Descriptionstring

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

示例值:SystemDisk_Description
SystemDisk.PerformanceLevelstring

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

示例值:PL0
SystemDisk.AutoSnapshotPolicyIdstring

系统盘采用的自动快照策略 ID。

示例值:sp-bp67acfmxazb4p****参考取值来源:
    DescribeAutoSnapshotPolicyEx
    CreateAutoSnapshotPolicy
IoOptimizedstring

是否为 I/O 优化实例。已停售的实例规格实例默认值是 none,其他实例规格默认值是 optimized。取值范围:展开详情

示例值:optimized
UserDatastring

实例自定义数据。必须填写已采用 Base64 编码后的数据,且在进行 Base64 编码前自定义数据内容的大小不能超过 32 KB。展开详情

示例值:ZWNobyBoZWxsbyBlY3Mh参考取值来源:
    DescribeUserData
KeyPairNamestring

密钥对名称。展开详情

示例值:KeyPair_Name参考取值来源:
    DetachKeyPair
    CreateKeyPair
    AttachKeyPair
    ImportKeyPair
    DescribeKeyPairs
RamRoleNamestring

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

示例值:RAM_Name参考取值来源:
    AttachInstanceRamRole
    DetachInstanceRamRole
    DescribeInstanceRamRole
Amountinteger<int32>

指定创建 ECS 实例的数量。取值范围:1~100。展开详情

示例值:3取值 <= 1000
MinAmountinteger<int32>

指定 ECS 实例最小购买数量。取值范围:1~100。展开详情

示例值:2取值 <= 100
AutoReleaseTimestring

按量付费实例的自动释放时间。按照ISO 8601标准表示,使用 UTC+0 时间。格式为:yyyy-MM-ddTHH:mm:ssZ展开详情

示例值:2018-01-01T12:05:00Z
SpotStrategystring

按量付费实例的竞价策略。当参数InstanceChargeType取值为PostPaid时生效。取值范围:展开详情

示例值:NoSpot
SpotDurationinteger<int32>

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

示例值:1取值 <= 720
SpotPriceLimitnumber<float>

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

示例值:0.97取值 <= 999999
SpotInterruptionBehaviorstring

抢占实例中断模式。取值范围:展开详情

示例值:Terminate
SecurityEnhancementStrategystring

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

示例值:Active
ClientTokenstring

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

示例值:123e4567-e89b-12d3-a456-426655440000
HpcClusterIdstring

实例所属的 HPC 集群 ID。 展开详情

示例值:hpc-bp67acfmxazb4p****参考取值来源:
    CreateHpcCluster
    DescribeHpcClusters
DryRunboolean

是否只预检此次请求。取值范围:展开详情

示例值:false
DedicatedHostIdstring

是否在专有宿主机上创建 ECS 实例。由于专有宿主机不支持创建抢占式实例,指定DedicatedHostId参数后,会自动忽略请求中的SpotStrategySpotPriceLimit设置。展开详情

示例值:dh-bp67acfmxazb4p****参考取值来源:
    AllocateDedicatedHosts
    DescribeDedicatedHosts
LaunchTemplateIdstring

启动模板 ID。更多信息,请调用 DescribeLaunchTemplates展开详情

示例值:lt-bp1apo0bbbkuy0rj****参考取值来源:
    CreateLaunchTemplate
    DescribeLaunchTemplates
    ModifyLaunchTemplateDefaultVersion
LaunchTemplateNamestring

启动模板名称。展开详情

示例值:LaunchTemplate_Name参考取值来源:
    CreateLaunchTemplate
    DescribeLaunchTemplates
LaunchTemplateVersioninteger<int64>

启动模板版本。如果您指定了LaunchTemplateIdLaunchTemplateName而不指定启动模板版本号,则采用默认版本。

注意 该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。
示例值:3参考取值来源:
    CreateLaunchTemplateVersion
    DescribeLaunchTemplateVersions
ResourceGroupIdstring

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

示例值:rg-bp67acfmxazb4p****参考取值来源:
    ListResourceGroups
Periodinteger<int32>

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

示例值:1
PeriodUnitstring

包年包月计费方式的时长单位。取值范围: 展开详情

示例值:Month
AutoRenewboolean

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

示例值:true
AutoRenewPeriodinteger<int32>

单次自动续费的续费时长。取值范围: 展开详情

示例值:1
InstanceChargeTypestring

实例的付费方式。取值范围:展开详情

示例值:PrePaid参考取值来源:
    DescribeInstances
DeploymentSetIdstring

部署集 ID。

示例值:ds-bp1brhwhoqinyjd6****参考取值来源:
    CreateDeploymentSet
    DescribeDeploymentSets
DeploymentSetGroupNointeger<int32>

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

示例值:1
PrivateIpAddressstring

实例私网 IP 地址。专有网络 VPC 类型 ECS 实例设置私网 IP 地址时,必须从虚拟交换机(VSwitchId)的空闲网段中选择。展开详情

示例值:10.1.**.**参考取值来源:
    AssignPrivateIpAddresses
CreditSpecificationstring

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

示例值:Standard
Ipv6AddressCountinteger<int32>

为主网卡指定随机生成的 IPv6 地址数量。取值范围:1~10。展开详情

示例值:1
NetworkInterfaceQueueNumberinteger<int32>

主网卡队列数。您需要注意:展开详情

示例值:8取值 >= 1
DeletionProtectionboolean

实例释放保护属性,指定是否支持通过控制台或 API( DeleteInstance )释放实例。取值范围: 展开详情

示例值:false
HibernationOptions.Configuredboolean
说明 该参数正在邀测中,暂未开放使用。
示例值:false
Affinitystring

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

示例值:default
Tenancystring

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

示例值:default
StorageSetIdstring

存储集 ID。

示例值:ss-bp67acfmxazb4p****
StorageSetPartitionNumberinteger<int32>

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

示例值:2取值 >= 1
CpuOptions.Coreinteger<int32>

CPU 核心数。该参数不支持自定义设置,只能采用默认值。展开详情

示例值:2
CpuOptions.ThreadsPerCoreinteger<int32>

CPU 线程数。ECS 实例的 vCPU 数=CpuOptions.Core取值*CpuOptions.ThreadsPerCore取值。展开详情

示例值:2
CpuOptions.Numastring

该参数已弃用。

示例值:1
CpuOptions.TopologyTypestring

实例的 Cpu 拓扑类型。取值范围:展开详情

示例值:DiscreteCoreToHTMapping
SecurityOptions.TrustedSystemModestring

可信系统模式。取值:vTPM。展开详情

示例值:vTPM
SecurityOptions.ConfidentialComputingModestring

机密计算模式。取值:Enclave。展开详情

示例值:Enclave
HttpEndpointstring

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

示例值:enabled
HttpTokensstring

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

示例值:optional
HttpPutResponseHopLimitinteger<int32>
说明 该参数暂未开放使用。
示例值:0
PrivatePoolOptions.MatchCriteriastring

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

示例值:Open
PrivatePoolOptions.Idstring

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

示例值:eap-bp67acfmxazb4****
Ispstring
说明 该参数正在邀测中,暂未开放使用。
示例值:null
SchedulerOptions.DedicatedHostClusterIdstring

指定 ECS 实例所属的专有宿主机集群,系统会自动选择该专有宿主机集群中的一台专有宿主机部署 ECS 实例。展开详情

示例值:dc-bp12wlf6am0vz9v2****参考取值来源:
    DescribeDedicatedHostClusters
    CreateDedicatedHostCluster
SecurityGroupIdsarray<string>

将实例同时加入多个安全组。N 的取值范围与实例能够加入安全组配额有关。更多信息,请参见安全组限制展开详情

示例值:sg-bp15ed6xe1yxeycg7****子级条数 <= 51
HostNamesarray<string>

创建多台实例时,为每台实例指定不同的主机名。

示例值:ecs-host-01子级条数 <= 1000
DataDiskarray<object>

数据盘信息集合列表。

子级条数 <= 16
Arnarray<object>
说明 该参数暂未开放使用。
子级条数 <= 16
NetworkInterfacearray<object>

弹性网卡信息。

子级条数 <= 10
Tagarray<object>

实例、云盘和主网卡的标签信息。

子级条数 <= 71
Ipv6Addressarray<string>

为主网卡指定一个或多个 IPv6 地址。支持设置最多 10 个 IPv6 地址,即 N 的取值范围:1~10。展开详情

示例值:Ipv6Address.1=2001:db8:1234:1a00::***子级条数 <= 10
SystemDiskobject

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

ImageOptionsobject

镜像相关属性信息。

NetworkOptionsobject

网络相关属性参数。

AutoPayboolean

创建实例时,是否自动支付。取值范围:展开详情

示例值:true
PrivateDnsNameOptionsobject

实例的私网域名配置信息集合。展开详情

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
OrderIdstring

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

示例值:123456****
TradePricenumber<float>

订单成交价。

示例值:0.165
InstanceIdSetsobject

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
LoginAsNonRoot.ImageNotSupport
The specified image does not support login as non-root.诊断
400
InvalidParam.NotSupportJumboFrame
Not support jumbo frame.诊断
400
InsufficientBalance.AgentCredit
Insufficient agent credit. Please contact your agent.诊断
400
QuotaExceed.DiskCapacity
The used capacity of disk type has exceeded the quota in the zone, %s.诊断
400
InvalidPeriod.ExceededDedicatedHost
Instance expired date can not exceed dedicated host expired date.诊断
400
InvalidParam.SecondaryNetworkInterface
When min amount greater than 1 and the PrivateIpAddress or Primary NetworkInterface is specified,the Secondary NetworkInterface IP parameter cannot be specified.诊断
400
InvalidPrimaryIpAddress.SizeInvalid
The NetworkInterface PrimaryIpAddress is used to create only one instance.诊断
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
InvalidInstanceType.ValueNotSupported
The specified InstanceType beyond the permitted range.诊断
400
InvalidDescription.Malformed
The specified parameter "Description" is not valid.诊断
400
InvalidInternetChargeType.ValueNotSupported
The specified InternetChargeType is not valid.诊断
400
InvalidParameter
The specified parameter "InternetMaxBandwidthOut" is not valid.诊断
400
InvalidHostName.Malformed
The specified parameter "HostName" is not valid.诊断
400
InvalidPassword.Malformed
The specified parameter "Password" is not valid.诊断
400
InvalidPasswordParam.Mismatch
The input password should be null when passwdInherit is true.诊断
400
InvalidSystemDiskCategory.ValueNotSupported
The specified parameter "SystemDisk.Category" is not valid.诊断
400
InvalidDiskName.Malformed
The specified parameter "SyatemDisk.DiskName or DataDisk.n.DiskName" is not valid.诊断
400
InvalidDiskDescription.Malformed
The specified parameter "SyatemDisk.DiskDescription" or "DataDisk.n.Description" 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.诊断
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.诊断
400
InvalidParameter.Conflict
The specified image does not support the specified instance type.诊断
400
ImageNotSupportCloudInit
The specified image does not support cloud-init.诊断
400
InvalidSnapshotId.BasedSnapshotTooOld
The specified snapshot is created before 2013-07-15.诊断
400
QuotaExceed.AfterpayInstance
Living afterpay instances quota exceeded.诊断
400
InvalidInstanceName.Malformed
The specified parameter "InstanceName" is not valid.诊断
400
InvalidInstanceName.CustomMalformed
Customized section of instance or host name is invalid, please use valid format: [], [,], [m,], [,n], [m,n].诊断
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.诊断
400
InvalidPrivateIpAddress.Malformed
Specified private IP address is malformed.诊断
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.诊断
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
MissingParamter
The specified parameter "Period" is not null.诊断
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.诊断
400
InvalidClientToken.ValueNotSupported
The ClientToken provided is invalid.诊断
400
InvalidIoOptimize.ValueNotSupported
The specified IoOptimize is not valid.诊断
400
InvalidSecurityGroupId.NotFound
The SecurityGroupId provided does not exist in our records.诊断
400
InvalidInternetMaxBandwidthOut.Malformed
The specified parameter internetMaxBandwidthOut is not valid.诊断
400
InvalidInternetMaxBandwidthIn.Malformed
The specified parameter internetMaxBandwidthIn is not valid.诊断
400
InvalidSnapshotId.NotFound
The specified parameter SnapshotId is not exist.诊断
400
InvalidTagKey.Malformed
The specified Tag.n.Key is not valid.诊断
400
InvalidTagValue.Malformed
The specified Tag.n.Value is not valid.诊断
400
InvalidTag.Mismatch
The specified Tag.n.Key and Tag.n.Value are not match.诊断
400
InvalidTagCount
The specified tags are beyond the permitted range.诊断
400
InvalidMinAmount.Malformed
The specified parameter MinAmount is not valid.诊断
400
InvalidMaxAmount.Malformed
The specified parameter MaxAmount is not valid.诊断
400
InvalidAutoReleaseTime.Malformed
The specified parameter AutoReleaseTime is not valid.诊断
400
OperationDenied.NoVlan
The specified parameter "VlanId" is not valid or vlan has not enough IP address.诊断
400
OperationDenied.QuotaExceed
The quota of tags on resource is beyond permitted range.诊断
400
Account.Arrearage
Your account has been in arrears.诊断
400
InvalidUserData.SizeExceeded
The specified parameter "UserData" exceeds the size.诊断
400
InvalidUserData.NotSupported
TThe specified parameter "UserData" only support the vpc and IoOptimized Instance.诊断
400
InvalidUserData.Base64FormatInvalid
The specified UserData is not valid.诊断
400
InstanceDiskNumber.LimitExceed
The total number of specified disk in an instance exceeds.诊断
400
InvalidDiskCategory.ValueNotSupported
The specified parameter "DiskCategory" is not valid.诊断
400
InvalidSpotStrategy
The specified SpotStrategy is not valid.诊断
400
InvalidSpotParam.EmptyZoneID
The specified zoneid is empty when SpotStrategy is set.诊断
400
InvalidSpotPriceLimit
The specified SpotPriceLimitis not valid.诊断
400
InvalidSpotDuration
The specified SpotDuration is not valid.诊断
400
InvalidSpotAuthorized
The specified Spot param is unauthorized.诊断
400
InvalidSpotPrepaid
The specified Spot type is not support PrePay Instance.诊断
400
InvalidSpotAliUid
The specified UID is not authorized to use SPOT instance.诊断
400
InvalidParameter.Bandwidth
%s诊断
400
RegionUnauthorized
%s诊断
400
Zone.NotOnSale
%s诊断
400
InvalidSystemDiskSize.ValueNotSupported
%s诊断
400
InvalidInstanceType.ElasticNetworkInterfaceNotSupported
The specified instance type does not support Elastic Network Interface, you can not attach Elastic Network Interface to generation I instances.诊断
400
InvalidParameter.EncryptedIllegal
%s诊断
400
InvalidParameter.EncryptedNotSupported
%s诊断
400
InvalidSpotPriceLimit.LowerThanPublicPrice
The specified parameter "spotPriceLimit" can't be lower than current public price.诊断
400
InvalidRelationResource.NotFound
The relation resource has been deleted.诊断
400
IncorrectRecycleBinStatus
The operation is not permitted due to resource status.诊断
400
InvalidHpcClusterId.Unnecessary
The specified HpcClusterId is unnecessary.诊断
400
InvalidVSwitchId.Necessary
The VSwitchId is necessary.诊断
400
InvalidHpcClusterId.Necessary
The HpcClusterId is necessary.诊断
400
InvalidHpcClusterId.NotFound
The specified HpcClusterId is not found.诊断
400
InvalidHpcClusterId.Creating
The specified HpcClusterId is creating.诊断
400
InvalidParameter.VSwitchId
%s诊断
400
InvalidSecurityGroup.NotInDefaultVpc
%s诊断
400
VpcNotFound
Vpc is not found according to the specified VSwitch or the vpc does not belong to you.诊断
400
InvalidSystemDiskSize.ImageNotSupportResize
The specified image does not support resize.诊断
400
InvalidSpotInterruptionBehavior
%s诊断
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.诊断
400
NoAvaliableDedicatedHost
No available dedicated host or not enough resource on dedicated host.诊断
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
DedicatedHostType.Unmatched
The specified DedicatedHostType doesn?t match the instance type.诊断
400
InvalidParam.NetworkInterface
%s诊断
400
InvalidParams.CreateEniParams
%s诊断
400
InvalidParameter.CreditSpecification
The specified CreditSpecification is not supported in this region.诊断
400
IncorrectVpcStatus
Current VPC status does not support this operation.诊断
400
InvalidInstanceType.NotSupported
The specified instanceType is not supported by the deployment set.诊断
400
InvalidVpcZone.NotSupported
The specified operation is not allowed in the zone to which your VPC belongs, please try in other zones.诊断
400
IncorrectDefaultVpcStatus
The status of the default VPC is invalid.诊断
400
InvalidAutoRenewPeriod.ValueNotSupported
The specified autoRenewPeriod is invalid.诊断
400
InvalidMarketImageChargeType.NotSupport
The specified chargeType of marketImage is unsupported.诊断
400
OperationDenied
The specified instanceType or zone is not available or not authorized.诊断
400
InvalidPeriodType.ValueNotSupported
The specified parameter PeriodType is invalid.诊断
400
IncorrectImageStatus
The specified image is an Alibaba Cloud Marketplace image. The sale of this image has ended. For more information, contact the image service provider.诊断
400
InvalidParam.Tenancy
The specified Tenancy is invalid.诊断
400
InvalidParameter.Affinity
The specified Affinity is invalid.诊断
400
InvalidCustomInstanceType.NotSupported
The specified custom instance type is invalid.诊断
400
IoOptimized.NotSupported
The specified instance must be IoOptimized instance when kmsKeyId is not empty.诊断
400
InvalidSnapshotId.Malformed
The specified SnapshotId is not valid.诊断
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
InvalidSecurityGroup.NetworkType
%s诊断
400
InvalidSecurityGroup.VpcMismatch
%s诊断
400
InvalidParameter.SecurityGroupIdRepeated
%s诊断
400
InvalidSecurityGroupId.SingleIdAndMultiIdConflict
%s诊断
400
InvalidSecurityGroupId.MultiGroupIdNetworkTypeConflict
%s诊断
400
JoinedGroupLimitExceed
%s诊断
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.诊断
400
InvalidOperation.EniCountExceeded
The maximum number of eni in a enterprise security group is exceeded.诊断
400
QuotaExceeded.PrepayDataDiskCapacity
The quota of prepay data disk capacity exceeds.诊断
400
InvalidDiskCategory.ConflictSnapshotCategory
The specified disk category conflict with snapshot category.诊断
400
AccountForbidden.ProductCreationLimited
The commodity must be officially operated by Aliyun and in pay-as-you-go billing method.诊断
400
UnexpectedImageFamily.ImageIdSupplied
The input parameter ImageFamily must be null when image id is set.诊断
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.诊断
400
InvalidHttpTokens.NotSupported
The specified HttpTokens not supported, you can use optional(default) or required.诊断
400
InvalidHttpPutResponseHopLimit.NotSupported
The specified HttpPutResponseHopLimit not supported, more than 1 and less than 64 is reasonable.诊断
400
InvalidOperation.VpcHasEnabledAdvancedNetworkFeature
The specified vpc has enabled advanced network feature.诊断
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.诊断
400
InvalidParameter.Arns
The specified Arns is not valid.诊断
400
InvalidDedicatedHostClusterId.NotFound
The specified DedicatedHostClusterId does not exist.诊断
400
InvalidDedicatedHostClusterId.InValid
The specified Dedicated Host Cluster is invalid.诊断
400
InvalidDeploymentSetId.NotFound
The parameter DeploymentSetId is invalid.诊断
400
InvalidOperation.UserNotSupported
Reseller user do not support purchase at the moment.诊断
400
InvalidManagedPrivateSpaceId.NotFound
%s诊断
400
InvalidSchedulerOptions
The specified parameter SchedulerOptions is not valid.诊断
400
MissingParameter.PrivatePoolOptionsId
The specified PrivatePoolOptions.Id should not be null.诊断
400
Invalid.PrivatePoolOptionsId
The specified PrivatePoolOptions.Id is invalid.诊断
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.诊断
400
MissingParameter.PrivatePoolOptions.Id
The specified PrivatePoolOptions.Id should not be null.诊断
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.诊断
400
Invalid.PrivatePoolOptions.status
The PrivatePool is expired or inactive.诊断
400
InvalidAliUid
The PrivatePool does not belong to the user of the Instance.诊断
400
InvalidBandwidthOut.LessThanZero
The bandwidth must be larger than 0 when specifying isp.诊断
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
ProvisionedIopsForDiskCategoryUnsupported
The specified disk category does not support provisioned iops.诊断
400
InvalidProvisionedIops.LimitExceed
The provisioned iops exceeds the limit.诊断
400
BurstingEnabledForDiskCategoryUnsupported
The specified disk category does not support bursting enabled.诊断
400
BurstingEnabledForMultiAttachDiskUnsupported
The multi attach disk does not support bursting enabled.诊断
400
ProvisionedIopsForDiskCategoryRequired
The provisioned iops is required for this disk category.诊断
400
NotSupportSnapshotEncrypted.InstanceType
The specified instance type does not support creating encrypted disks with native snapshot encrypt.诊断
400
NotSupportSnapshotEncrypted.RegionId
The specified region does not support creating encrypted disks with native snapshot encrypt.诊断
400
NotSupportSnapshotEncrypted.ZoneId
The specified zone does not support creating encrypted disks with native snapshot encrypt.诊断
400
NotSupportSnapshotEncrypted.ShareImage
Shared snapshot creating encrypted disks with native snapshot encrypt is not supported.诊断
400
NotSupportSnapshotEncrypted.ImageOwnerAlias
The specified image category does not support creating encrypted disks with native snapshot encrypt.诊断
400
NotSupportSnapshotEncrypted.DiskCategory
The specified disk category does not support creating encrypted disks with native snapshot encrypt.诊断
400
NotSupport.SnapshotEncryptedAlgorithmConflict
Changing encrypt algorithm with encrypted snapshot is not supported.诊断
400
NoPermission.SystemTag
The operator is not permission for the system tag.诊断
400
NumberExceed.Tags
The Tags parameter's number is exceed , Valid : 20.诊断
400
InvalidZoneId.NotSupportShareEncryptedImage
Creating instances by shared encrypted images is not supported in this zone.诊断
400
InvalidDiskCategory.NotSupported
The specified disk category is not supported.诊断
400
InvalidParameter.CloudboxNotSupported
%s诊断
400
InvalidZoneId.NotSupportCreateWithShareEncryptedImage
You cannot use shared encrypted images to create instances in this zone.诊断
400
InvalidParameter.NetworkCardIndexInvalid
Invalid network card index, please check your instance type.诊断
400
InvalidOperation.UserNotSupportNetworkCard
User not support network card.诊断
400
InvalidAccount.NotSupportSpot
According to business rules, this account cannot purchase ECS Spot instances.诊断
400
AccountForbidden.AssociatedWithResellerPartner
Your account is associated with your reseller partner. Your account or your reseller partner's account has been forbidden to create orders, please contact your reseller partner.诊断
400
InvalidDestinationZone.DeploymentSetMismatch
Error happened, %s.诊断
400
NoPermission.Price
The operation requires price permission. Please either apply for permission from your main account, or set the parameter AutoPay as true.诊断
400
InvalidAutoPay.PostPaidUnsupported
The specified parameter AutoPay must be set as true for postpaid instance.诊断
400
InvalidParam.EncryptedMismatch
Creating encrypted disks with shared encrypted snapshots requires replacing encryption keys.诊断
400
InvalidParameter.DedicatedRegionNotSupported
The specified action is rejected because the specified ECS instance in the dedicated region does not support public IP.诊断
400
InvalidParameter.CpuOptionsTopologyType
The specified parameter CpuOptions.TopologyType: %s is not valid.诊断
400
InvalidInstanceType.NotSupportCpuOptionsTopologyType
The specified instance type does not support CpuOptions.TopologyType: %s.诊断
400
InvalidEniQueueSize.RegionOrUserNotSupported
The specified parameter RxQueueSize or TxQueueSize is not supported in this region, or this account is not in the whitelist of using eni QueueSize.诊断
400
InvalidParameter.EniQueueSize
The specified parameter TxQueueSize and RxQueueSize are not equal or exceed limit.诊断
400
InvalidParameter.KmsNotEnabled
Failed to perform this operation because KMS is not activated.诊断
400
InvalidParameter.Encrypted.KmsNotEnable
Failed to perform this operation because KMS is not activated.诊断
400
InvalidPrivateIpAddress.Duplicated
The specified private IP address is already in use.诊断
400
InvalidAdditionalInfoPvdConfig.SizeExceeded
The specified parameter AdditionalInfo.PvdConfig exceeds the size.诊断
400
InvalidParameter.Encrypted
Creating non-encrypted disks with encrypted snapshots is not supported.诊断
400
InvalidInstanceType.NotSupportHighDensityMode
The specified instance type does not support the use of the high density mode.诊断
400
QuotaExceeded.InternetBandwidth
%s.诊断
400
InvalidParameter.CpuOptionsAccelerators
The specified parameter CpuOptionsAccelerators is not valid.诊断
400
InvalidInstanceType.NotSupportCpuOptionsAccelerators
The specified instance type does not support attach accelerator.诊断
400
OperationDenied.TestAccountRetricted
Test-account for testing has been prohibited from creating instance in this region. Please contact 400181.诊断
400
InvalidBurstingEnabled.DiskSizeTooSmall
The disk size must be greater than 3 GiB to enable burst.诊断
400
InvalidImage.WindowsUnsupported
The specified InstanceType does not support the specified Windows image.诊断
401
InvalidRamRole.NotEcsRole
The specified ram role is not authorized for ecs, please check your role policy.诊断
403
OperationDenied.CashCouponsInsufficientOrExpired
Cash coupon balance is insufficient or has expired, please retry.诊断
403
InvalidParameter.PrivateIpAddressRepeated
%s诊断
403
InvalidOperation.HighPerformanceEniPerInstanceLimitExceeded
%s诊断
403
InvalidParameter.EniNumExceededWithLaunchEcs
%s诊断
403
InvalidOperation.InstanceTypeNotSupportHighPerformanceTrafficMode
%s诊断
403
InvalidParameter.QueuePairNumberMustEmpty
%s诊断
403
InvalidParameter.EniTrafficMode
%s诊断
403
InvalidParameter.InvalidQueuePairNumber
The parameter of QueuePairNumber is invalid.诊断
403
InvalidParam.IpCount
The parameter of ip count is invalid.诊断
403
InvalidParameter.EniType
%s诊断
403
InvalidOperation.HighPerformanceTrafficModeIsNotAllowed
%s诊断
403
InvalidParameter.NetworkInterface
%s诊断
403
InvalidParameter.Combination
%s诊断
403
InvalidHostname.SingleAndMultiConflict
%s诊断
403
InvalidHostname.SizeInvalid
%s诊断
403
InvalidParams.InstanceNameExceed
The uniqueSuffix takes three naming places, please shorten your InstanceName.诊断
403
InvalidParams.HostnameExceed
The uniqueSuffix takes three naming places, please shorten your Hostname.诊断
403
ImageNotSubscribed
The specified image has not be subscribed.诊断
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
QuotaExceed.PortableCloudDisk
The quota of portable cloud disk exceeds.诊断
403
SecurityGroupInstanceLimitExceed
Exceeding the allowed amount of instances of a security group.诊断
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
Forbbiden
User not authorized to operate on the specified resource.诊断
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
InvalidDiskSize.TooSmall
Specified disk size is less than the size of snapshot.诊断
403
InvalidDiskCategory.Mismatch
The specified disk categories combination is not supported.诊断
403
InvalidDiskCategory.NotSupported
The specified disk category is not support the specified instance type.诊断
403
QuotaExceed.BuyImage
The specified image is from the image market?You have not bought it or your quota has been exceeded.诊断
403
InvalidResourceId.NotSupported
The specified ResourceId does not support tagging.诊断
403
OperationDenied
The specified RegionId does not support the creation of the network type ECS instance.诊断
403
OperationDenied.ImageNotValid
The specified Image is disabled or is deleted.诊断
403
OperationDenied.SnapshotNotValid
The specified snapshot is not allowed to create disk.诊断
403
OperationDenied.SnapshotNotAllowed
The specified snapshot is not allowed to create disk.诊断
403
OperationDenied.ZoneNotAllowed
The creation of Instance to the specified Zone is not allowed.诊断
403
OperationDenied.ZoneSystemCategoryNotMatch
The specified Zone or cluster does not offer the specified disk category or the speicified zone and cluster do not match.诊断
403
OperationDenied.ResourceControl
The specified region is in resource control, please try later.诊断
403
OperationDenied.NoStock
The resource is out of usage.诊断
403
OperationDenied.SnapshotParamsNotValid
The capacity of snapshot exceeds the size limit of the specified disk category or the specified category is not authorizied.诊断
403
OperationDenied.DiskTypeNotSupport
The type of the disk does not support the operation.诊断
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 resource in the specified zone is no longer available for sale. Please try other regions and zones.诊断
403
InvalidClusterId.NotFound
The specified clusterId does not exist.诊断
403
InvalidResourceType.NotSupported
%s诊断
403
InvalidInstanceType.ValueNotSupported
The specified InstanceType beyond the permitted range.诊断
403
InvalidInstanceType.ZoneNotSupported
The specified zone does not support this instancetype.诊断
403
InstanceType.Offline
%s诊断
403
DependencyViolation.WindowsInstance
The instance creating is window, cannot use ssh key pair to login.诊断
403
InvalidNetworkType.MismatchRamRole
A RAM role can?t be used for classic instance.诊断
403
InvalidUser.PassRoleForbidden
The RAM user does not have the privilege to pass a RAM role.诊断
403
InvalidParam.TrustedSystemMode
The specified TrustedSystemMode is invalid.诊断
403
InvalidParam.ConfidentialComputingMode
The specified ConfidentialComputingMode is invalid.诊断
403
InvalidInstanceType.NotSupported
The specified instance type does not support trusted system.诊断
403
InvalidSecurityOptions.NotSupported
SecurityOptions for vTPM and Enclave can not both be set.诊断
403
InvalidImage.NotSupported
The specified vTPM instance need UEFI image.诊断
403
Forbidden.RiskControl
This operation is forbidden by Aliyun RiskControl system.诊断
403
InvalidInstance.UnPaidOrder
The specified Instance has unpaid order.诊断
403
Account.Arrearage
Your account has been in arrears.诊断
403
RealNameAuthenticationError
Your account has not passed the real-name authentication yet.诊断
403
InvalidPayMethod
The specified pay method is not valid.诊断
403
InvalidAccountStatus.NotEnoughBalance
Your account does not have enough balance.诊断
403
ImageNotSupportInstanceType
The specified image does not support the specified InstanceType.诊断
403
DryRun.InvalidAmount
%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
InvalidParameter.NotMatch
%s诊断
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.诊断
403
DefaultVswitch.Existed
The default vswitch for VPC already exists.诊断
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
InvalidDisk.SystemDiskSize
The specified SystemDiskSize beyond the permitted range.诊断
403
InsufficientBalance
Your account does not have enough balance.诊断
403
InvalidOperation.NetworkInterface
%s诊断
403
MaxEniIpv6IpsCountExceeded
%s诊断
403
InvalidIp.IpRepeated
%s诊断
403
InvalidIp.IpAssigned
%s诊断
403
InvalidIp.Address
%s诊断
403
InvalidOperation.EniCountExceeded
%s诊断
403
InvalidOperation.Ipv4CountExceeded
%s诊断
403
InvalidOperation.Ipv6CountExceeded
%s诊断
403
InvalidOperation.Ipv6NotSupport
%s诊断
403
InvalidOperation.Ipv4NotSupport
%s诊断
403
InvalidParam.SecondaryIp
%s诊断
403
InvalidVSwitch.Ipv6NotTurnOn
%s诊断
403
InvalidParam.IpAssign
%s诊断
403
InvalidParam.Amount
%s诊断
403
InvalidParam.CpuOptionsCore
%s诊断
403
InvalidParam.CpuOptionsNuma
%s诊断
403
InvalidVSwitchId.IpInvalid
%s诊断
403
Forbidden.RegionId
%s诊断
403
QuotaExceed.DeploymentSetInstanceQuotaFull
The instance quota in one deployment set exceeded.诊断
403
InvalidChargeType.ValueNotSupported
Deletion protection is only valid for postPaid instance, not for prePaid or spot instance.诊断
403
InvalidRegion.NotSupport
The specified region does not support byok.诊断
403
UserNotInTheWhiteList
The user is not in byok white list.诊断
403
InvalidParameter.KMSKeyId.KMSUnauthorized
ECS service have no right to access your 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
Mayi.InternalError
The request processing has failed due to some unknown error.诊断
403
InvalidNetworkType
The network type is not support in this region.诊断
403
InvalidAccountStatus
Your account status is invalid, please contact customer service.诊断
403
QuotaExceeded.PrivateIpAddress
%s诊断
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
EnterpriseGroupLimited.MutliGroupType
The specified instance can't join multi SecurityGroup types.诊断
403
EnterpriseGroupLimited.InstanceType
The specified instance type doesn't support Enterprise SecurityGroup.诊断
403
QuotaExceed.Tags
%s诊断
403
OperationDenied.RegionIdNotSupported
The specified region does 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.PaygNotAvailable
Pay-as-you-go instance is not available now.诊断
403
OperationDenied.PrepayNotAvailable
Prepay instance is not available now.诊断
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.诊断
403
QuotaExceed.ElasticQuota
No additional quota is available for the specified ECS instance type.诊断
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
InvalidManagedPrivateSpaceId.DedicatedHostIdConflict
ManagedPrivateSpaceId and DedicatedHostId cannot be specified at the same time.诊断
403
InvalidManagedPrivateSpaceId.TenancyConflict
ManagedPrivateSpaceId and Tenancy cannot be specified at the same time.诊断
403
InvalidParameter.InvalidEniQueueNumber
%s诊断
403
InvalidOperation.MaxEniQueueNumberExceeded
%s诊断
403
InvalidOperation.ExceedInstanceTypeQueueNumber
%s诊断
403
InvalidIspType.ValueNotSupported
%s诊断
403
UnsupportedIspChargeType
%s诊断
403
UnsupportedIspClassicNetwork
%s诊断
403
InvalidIspBandwidthOut
%s诊断
403
UnsupportedIspNetworkChargeType
%s诊断
403
InvalidIspUID
%s诊断
403
UnsupportedIspRegion
%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.诊断
403
InvalidOperation.ConfidentialComputingModeInInviteOnlyTesting
The specified confidential computing mode is in invite only testing: %s.诊断
403
InvalidOperation.InvalidNetworkInterfaceId
%s诊断
403
InvalidOperation.RegionNotSupportNetworkInterfaceId
The specific region does not support network interface id.诊断
403
InvalidEniId.NotFound
%s诊断
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.诊断
403
AclLimitExceed
%s诊断
403
InvalidParameter.DataEncryptedKeyCreateFailed
Create kms data encrypted key fail. If you need further assistance, you can contact the KMS Technical Support.诊断
403
InvalidParameter.CpuOptionsThreadsPerCore
The specified parameter CpuOptions.ThreadsPerCore is not valid.诊断
403
InvalidParameter.CpuOptionsCore
The specified parameter CpuOptions.Core is not valid.诊断
403
InvalidInstanceType.CpuOptionsThreadsPerCoreUnsupported
The current instance type does not support setting or modifying the CpuOptions.ThreadsPerCore parameter.诊断
403
InvalidParameter.CpuOptionsNuma
The specified parameter CpuOptions.Numa is not valid.诊断
403
InvalidParameter.KMSKeyId.CMKUnauthorized
The CMK(Customer Master Key) lacks authorization to add tags to the ECS service.诊断
403
InvalidParameter.KMSKeyId.CMKNotEnabled
The CMK (Customer Master Key) must be in an active state.诊断
403
InvalidEncrypted.NotMatchSnapshot
The specified parameter Encrypted must be set to true when creating disks with encrypted snapshots.诊断
403
InvalidEncrypted.NotMatchDiskDefaultEncryption
Enabling disk default encryption prevents the creation of non-encrypted disks.诊断
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
InvalidZoneId.NotFound
The ZoneId provided does not exist in our records.诊断
404
InvalidSecurityGroupId
The specified SecurityGroupId is invalid or does not exist.诊断
404
InvalidSecurityGroupId.NotFound
The SecurityGroupId provided does not exist in our records.诊断
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
InvalidVSwitchId.NotFound
Specified virtual switch does not exist.诊断
404
InvalidImageId.NotFound
The specified ImageId does not exist.诊断
404
IoOptimized.NotSupported
The specified instancetype is not support IoOptimized instance.诊断
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 parameter SystemDisk.Size is more than the max size.诊断
404
OperationDenied.ImageNotValid
The specified Image is disabled or is deleted.诊断
404
OperationDenied.CreatingConflict
Another Instance has been creating.诊断
404
InvalidKeyPairName.NotFound
The specified parameter KeyPairName does not exist in our records.诊断
404
InvalidResourceGroup.NotFound
The ResourceGroup provided does not exist in our records.诊断
404
InvalidRamRole.NotFound
The specified parameter "RAMRoleName" does not exist.诊断
404
InvalidLaunchTemplate.NotFound
%s诊断
404
InvalidLaunchTemplateVersion.NotFound
%s诊断
404
InvalidVSwitchId.NotExist
%s诊断
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
InvalidParameter.DeploymentSetGroupNo
Parameter DeploymentSetGroupNo is invalid.诊断
404
InvalidParameter.KMSKeyId.NotFound
The specified KMSKeyId does not exist.诊断
404
InvalidDiskIds.NotPortable
The specified DiskId is not portable.诊断
404
InvalidAutoSnapshotPolicyId.NotFound
Specified parameter AutoSnapshotPolicyId not found.诊断
429
Throttling.Resource
The request throttle by resource operation.诊断
500
InternalError
The request processing has failed due to some unknown error.诊断

变更历史

暂无变更历史

相关示例

创建实例(RunInstances)
2022-03-01
ECS云服务器 创建实例、重启实例以及状态查询
2022-03-24
本文介绍如何通过阿里云ECS SDK调用RunInstances创建一台或多台ECS实例。
2024-04-03
本文介绍如何通过阿里云ECS Java SDK调用DescribeRecommendInstanceType查询推荐或备选的实例规格信息,并提供了RunInstances与DescribeRecommendInstanceType搭配使用的最佳实践。
2024-04-03