更新时间:2022-02-22 GMT+08:00

错误码

功能说明

所有弹性伸缩的接口,有自定义错误信息返回,该小节介绍弹性伸缩的错误码的含义。

返回体格式

{"error":{"code":"AS.0001","message":"System error."}}

错误码说明

http状态码

错误码

说明

Error Message

描述(处理措施)

500

AS.0001

系统错误

System error.

请稍后重试或联系技术支持

400

AS.0002

消息体为空

Request body is null.

请传入有效消息体

401

AS.0005

请求消息头未携带token或者token为空

The token of the header in the request is null.

请传入有效token

401

AS.0006

请求消息头携带的token不正确、非法或已过期

The token of the header in the request is incorrect.

请传入有效token

404

AS.0007

请求的资源未找到

The requested resource [%s] could not be found.

请使用正确的参数值

400

AS.0008

URL中携带的project id和从token中解析到的project id不一致

Incorrect ProjectID.

检查URL参数或者token是否匹配

403

AS.0011

角色权限错误

You do not have the rights to perform the operation.

检查用户角色是否包含te_admin、as_adm或者其他需要的角色

403

AS.0012

角色权限被冻结

The user role is suspended.

检查用户角色是否包含冻结角色op_suspended

403

AS.0013

角色权限被停用

Your rights to perform the operation are disabled.

检查用户角色是否包含受限角色op_restricted

400

AS.0022

请求体错误

request body error

检查请求体格式是否为标准的JSON格式,或者是否存在不支持的参数字段。

400

AS.0026

冷却时间内不允许进行伸缩活动

Scaling action is not allowed in the cooling duration.

请稍后重试

400

AS.0031

细粒度鉴权失败,缺少指定的授权项

Policy doesn't allow [%s] to be performed.

添加对应的授权项

400

AS.0033

查询指定版本API信息版本id非法

The api version is illegal, only v1,v2.

请输入正确版本id

400

AS.0034

伸缩组正在进行活动,策略无法触发

Failed to execute the policy because the AS group is in active state.

伸缩策略在伸缩组非活动状态才能被自动触发,请稍后重试

400

AS.1001

start number非法

The value of parameter Start number is invalid.

请输入合法的start_number值

400

AS.1002

limit非法

The value of parameter Limit is invalid.

请输入合法的limit值

400

AS.1003

伸缩配置ID为空

The AS configuration ID is null.

添加伸缩配置ID

400

AS.1004

伸缩配置不存在

The AS configuration does not exist.

使用正确的伸缩配置ID

400

AS.1006

有伸缩组正在使用该伸缩配置,不能删除

The AS configuration is in use.

为伸缩组更换伸缩配置后,再删除该伸缩配置。

400

AS.1007

伸缩配置名称为空

The AS configuration name is null.

添加伸缩配置名称

400

AS.1008

伸缩配置名称长度过长

The AS configuration name is too long.

使用正确的伸缩配置名称

400

AS.1009

伸缩组ID为空

The AS group ID is null.

添加伸缩组ID

400

AS.1011

instance_config字段为空

The instance configuration information is null.

请确保instance_config字段不为空

400

AS.1014

伸缩配置镜像ID为空

The image ID in the AS configuration is null.

添加镜像ID

400

AS.1015

伸缩配置镜像不存在

The image in the AS configuration does not exist.

使用正确的镜像ID

400

AS.1016

伸缩配置规格ID为空

The specification ID in the AS configuration cannot be null.

添加规格ID

400

AS.1017

伸缩配置规格不存在

The specification [%s] in the AS configuration does not exist.

使用正确的规格ID

400

AS.1018

伸缩配置规格与镜像不匹配

The specification [%s] and image is not match.

请检查规格和镜像是否匹配,如果不匹配,请更换相关资源

400

AS.1019

伸缩配置规格与磁盘不匹配

The disk of this type is not applicable to the ECS.

请检查规格和磁盘类型是否匹配,如果不匹配,请更换相关资源

400

AS.1021

伸缩配置镜像未激活

The image in the AS configuration is not active.

使用正确的镜像ID

400

AS.1022

伸缩配置镜像不可用

The image in the AS configuration is not available.

使用正确的镜像ID

400

AS.1023

伸缩配置名称非法

Invalid AS configuration name.

使用正确的伸缩配置名称

400

AS.1024

伸缩配置数量超过上限

The number of AS configurations exceeds the upper limit.

删除不使用的伸缩配置或者申请扩大配额

400

AS.1025

伸缩配置用户登录方式不唯一

The user login mode in the AS configuration is not unique.

账户密码登录方式和密钥对登录方式互斥,且必选一个

400

AS.1026

伸缩配置用户登录方式为空

The user login mode in the AS configuration is null.

400

AS.1027

伸缩配置用户个人配置错误

The scaling config personality is invalid.

请传入正确的personality值

400

AS.1028

伸缩配置磁盘为空

The disk in the AS configuration is null.

添加磁盘相关参数,确保disk字段不为空

400

AS.1029

伸缩配置系统盘个数非法

The number of system disk in the AS configuration is invalid.

系统盘有且只能有一个

400

AS.1030

伸缩配置系统盘小于规格

The size of the system disk in the AS configuration is less than the specification required.

系统盘请使用合适的size值

400

AS.1031

伸缩配置磁盘大小不合法

The size of the disk in the AS configuration is not correct.

请使用正确的size值

400

AS.1032

伸缩配置磁盘数量超过24个

The ECS type [%s] in the AS configuration do not support 24 disks.

请确保磁盘个数不超过限制

400

AS.1033

伸缩配置磁盘volumeType非法

Parameter volumeType in the AS configuration is invalid.

使用正确的volume_type值

400

AS.1034

伸缩配置diskType非法

Parameter diskType in the AS configuration is invalid.

使用正确的disk_type值

400

AS.1035

伸缩配置密码复杂度不符合要求

Parameter adminPass in the AS configuration is invalid.

使用复杂度符合要求的密码

400

AS.1036

伸缩配置32位系统内存超过4G

32-bit operating system (OS) does not support the specification [%s] with 4G memory.

请更换镜像或者规则

400

AS.1038

批量删除伸缩配置失败

batch deleting scaling config failed

出现该错误码时,可通过Message字段获取失败的伸缩配置ID和失败原因。

400

AS.1039

批量删除伸缩配置超过上限

the number of scaling config is beyond the max limit

允许批量删除的最大个数为50个

400

AS.1040

伸缩配置列表为空

The list of AS config to be deleted is null.

添加需要批量删除的伸缩配置ID

400

AS.1041

伸缩配置public_ip字段中eip字段为空

The eip info of scaling config is null.

当传入public_ip字段时,请确保eip字段不为空

400

AS.1042

伸缩配置带宽大小非法

The bandwidth size of eip is invalid.

使用正确的带宽值

400

AS.1043

伸缩配置弹性IP类型非法

The eip type of scaling config is invalid.

使用正确的弹性IP类型

400

AS.1044

伸缩配置带宽计费模式非法

The bandwidth charging mode of eip is invalid.

使用正确的带宽计费模式

400

AS.1045

伸缩配置带宽类型非法

The bandwidth type of eip is invalid.

使用正确的带宽类型

400

AS.1046

伸缩配置带宽大小为空

The bandwidth size of eip is null.

添加伸缩配置带宽的值

400

AS.1047

伸缩配置带宽计费模式为空

The bandwidth charging mode of eip is null.

添加带宽计费模式

400

AS.1048

伸缩配置共享带宽ID为空

The bandwidth id of eip is null.

添加共享带宽ID

400

AS.1049

伸缩配置userdata参数非法

Parameter userdata in the AS configuration is invalid.

使用正确的userdata值

400

AS.1050

伸缩配置用户登录方式非法

The user login mode in the AS configuration is illegal.

使用正确的登录方式

400

AS.1052

伸缩配置metadata参数非法

Parameter metadata in the AS configuration is invalid.

使用正确的metadata参数,metadata最大长度 512B,且key的值不能包含空白字符、$和.

400

AS.1053

伸缩配置数据镜像不可用

The data image is not available.

使用正确的数据镜像

400

AS.1054

伸缩配置数据盘大小小于数据镜像所需要的

The size of the data disk in the AS configuration is less than the data image required.

使用正确的数据盘大小

400

AS.1055

伸缩配置系统盘不支持导入数据镜像

The system disk is not support to data image.

参考错误码说明

400

AS.1056

伸缩配置数据镜像不存在

The data image in the AS configuration does not exist.

使用正确的数据镜像ID

400

AS.1057

伸缩配置专属存储不可用

The DSS of the disk in the AS configuration is not available.

使用正确的专属存储

400

AS.1058

伸缩配置专属存储不支持该磁盘类型

The type of dss in the AS configuration is incorrect.

更换专属存储或者磁盘类型

400

AS.1059

伸缩配置专属存储容量不足

The capacity of dss in the AS configuration is not enough.

更换专属存储

400

AS.1060

伸缩配置不支持专属存储和云硬盘混用

dss and evs is used together in the AS configuration.

参考错误码说明

400

AS.1061

伸缩配置专属存储不在同一个可用区下

the dss is not belong to the same az in the AS configuration.

更换专属存储使其在同一个可用区下

400

AS.1062

伸缩配置中含快照ID的磁盘个数应当与整机镜像中的磁盘个数保持一致

The number of EVS disks with snapshot IDs in the AS configuration is different from that of EVS disks specified in the full-ECS image.

参考错误码说明

400

AS.1063

您选择的镜像为整机镜像,整机镜像中的磁盘备份不支持在专属存储中恢复磁盘

The disk data backup in a full-ECS image cannot be used to restore the disk in DSS.

参考错误码说明

400

AS.1064

您选择的数据盘将从整机镜像中的磁盘备份恢复,此时无法再使用数据镜像

The data disk you have selected will be restored using the disk data backup in the full-ECS image. Then, data mirroring will be unavailable.

参考错误码说明

400

AS.1065

伸缩配置中各类型虚拟机资源所属可用区不一致

ECS resources specified in the AS configuration belong to different AZs.

请使用同一可用区下的虚拟机资源(如规格、镜像、磁盘等)

400

AS.1066

伸缩配置中含快照ID无效的磁盘

The AS configuration contains EVS disks with invalid snapshot IDs.

使用正确的快照ID

400

AS.1067

offset参数非法

The value of parameter Offset number is invalid.

使用正确的offset值

400

AS.1068

伸缩配置中的云服务器组不存在

The server group in the AS configuration does not exist.

使用存在的云服务器组ID

400

AS.1069

云服务组内的服务器达到上限

The maximum number of ECSs has been reached for the ECS group.

更换其他的云服务器组ID

400

AS.1070

伸缩配置中的共享带宽不存在

The bandwidth id of eip does not exist.

使用正确的共享带宽ID

400

AS.1071

伸缩配置中的tenancy参数非法

Parameter tenancy in the AS configuration is invalid.

使用正确的tenancy值

400

AS.1072

伸缩配置中的云服务器组ID非法

The server group ID is invalid.

更换正确的云服务器组ID

400

AS.1073

伸缩配置中的专属主机ID不存在

The dedicated host id does not exist.

使用存在的专属主机ID

400

AS.1074

marker参数非法

The value of parameter Marker is invalid.

使用正确的marker值

400

AS.1075

伸缩配置中的镜像ID非法

The image ID is invalid.

更换正确的镜像ID

400

AS.1076

伸缩配置中的共享带宽ID非法

The bandwidth id of eip is invalid.

更换正确的共享带宽ID

400

AS.1077

无可用的专属主机资源

No available dedicated host resource.

创建新的专属主机资源或者对已有专属主机资源进行排查恢复可用

400

AS.1078

您选择的专属主机的可用容量不足

The dedicated host has insufficient available capacity for [%s].

创建新的专属主机资源或者使用其他专属主机

400

AS.1079

无支持该类型云服务器的专属主机资源

No dedicated host resources supporting this type [%s] of ECS.

更换伸缩配置中使用的云服务器类型

400

AS.1080

该可用区下无可用的专属主机资源

No dedicated host resources supporting the AZ [%s] you selected.

更换伸缩组的可用区或者在该可用区下创建专属主机

400

AS.1081

伸缩配置flavor不支持开启IPv6

This specification [%s] does not support IPv6.

更换伸缩配置

400

AS.1082

使用的带宽的类型不是共享型

Bandwidth type is not shared.

请使用带宽类型为共享型的带宽

400

AS.1083

伸缩配置中的计费模式非法

Instance marketing type is illegal.

请使用正确的market_type值

400

AS.1084

查询竞价或按需规格价格失败

Failed to query the price of specification [%s] from CBC.

请更换伸缩配置规格或联系技术支持

400

AS.1085

伸缩配置中的多规格使用优先级策略类型非法

Invalid multi flavor priority policy.

请使用正确的multi_flavor_priority_policy值

400

AS.1086

伸缩配置不可用

AS configuration is not available for AS group

为伸缩组更换伸缩配置

400

AS.1087

伸缩配置中规格数量达到限制

The number of flavors in the AS config exceeds the upper limit.

确保伸缩配置中的规格个数不超过限制

400

AS.1088

伸缩配置中的镜像在伸缩组的可用区中不可用

The image in the AS configuration you selected is unavailable for the AZ [%s] in AS group

为伸缩组更换伸缩配置或者更换伸缩组的可用区

400

AS.1090

所选规格与镜像的架构类型不一致

The specification [s%] in the AS configuration cannot match image architecture

请确保选择的规格和镜像架构类型一致

400

AS.2002

伸缩组名称不能为空

The name of the AS group is null.

添加伸缩组名称

400

AS.2003

伸缩组名称过长

The AS group name is too long.

使用正确的伸缩组名称

400

AS.2004

伸缩组最大/最小实例数值非法

Invalid min or max number of instances in the AS group.

请传入正确的伸缩组最大/最小实例数值

400

AS.2005

伸缩组期望实例数不合法

The expected number cannot be less than the minimum number of instances or greater than the maximum number of instances.

请传入合法的伸缩组期望实例数

400

AS.2006

伸缩组冷却时间不合法

Invalid cooling duration of the AS group.

请传入合法的伸缩组冷却时间

400

AS.2007

伸缩组不存在

The AS group does not exist.

使用正确的伸缩组ID

400

AS.2008

伸缩组执行动作不合法

Invalid execution action of the AS group.

使用正确的伸缩组执行动作

400

AS.2009

伸缩组ID为空

The AS group ID is null.

添加伸缩组ID

400

AS.2010

伸缩组期望实例数不能小于设置实例保护的实例数

The expected number of instances in the AS group can not be smaller than the number of instances which set instance protection.

请确保期望实例数不小于设置实例保护的实例数,或者对实例取消实例保护后再修改期望实例数

400

AS.2011

伸缩组中的可用区非法

Invalid AZ in AS group.

使用正确的参数值

400

AS.2012

伸缩组中的VPC不存在

The VPC of the AS group does not exist.

使用正确的参数值

400

AS.2013

伸缩组中的networks参数非法

Parameter networks in the AS group is invalid.

使用正确的参数值

400

AS.2014

伸缩组中的安全组不存在

The security group of the AS group does not exist.

使用正确的参数值

400

AS.2015

伸缩组弹性负载均衡监听器非法

Parameter listenerId in the AS group is invalid.

使用正确的参数值

400

AS.2016

伸缩组中负载均衡监听器所属VPC与伸缩组中的VPC不一致

The listener of the AS group does not belong to the vpc.

更换VPC ID或者更换监听器ID

400

AS.2017

伸缩组中的VPC为空

The ID of the VPC in the AS group is null.

添加VPC ID

400

AS.2018

伸缩组没有伸缩配置信息,启用失败

No AS configuration is in the AS group.

为伸缩组添加伸缩配置后,重新启用伸缩组

400

AS.2019

是否强制删除伸缩组的值非法

The value of the parameter that specifies whether to forcibly delete the group is invalid.

使用正确的参数值

400

AS.2020

伸缩组状态非法

The scaling group status is illegal.

伸缩组当前状态不能进行操作

400

AS.2021

伸缩组当前实例数不为0,删除失败

The current number of instances in the AS group is not 0.

请先将伸缩组中实例删除,再删除伸缩组

400

AS.2022

伸缩组名称含非法字符

The AS group name contains invalid characters.

使用正确的伸缩组名称

400

AS.2023

伸缩组数量超过上限

The number of AS groups exceeds the upper limit.

删除不使用的伸缩组或者申请扩大配额

400

AS.2024

伸缩组子网超过上限

The number of subnets in the AS group exceeds the upper limit.

确保子网个数不超过上限

400

AS.2025

伸缩组安全组达到上限

The number of security groups in the AS group exceeds the upper limit.

确保安全组个数不超过上限

400

AS.2026

伸缩组负载均衡监听器种类不唯一

The type of listeners in the AS group is not unique.

lb_listener_id和lbaas_listeners字段互斥

400

AS.2027

伸缩组的某些子网所在VPC与伸缩组中的VPC不一致

The subnet of the AS group does not belong to the vpc.

更换VPC ID或者子网ID

400

AS.2028

伸缩组期望实例数修改后与之前相同

The modified expected number of instances is the same as the original number.

参考错误码说明

400

AS.2029

伸缩组实例健康检查方式错误

Invalid health check method of the AS group.

使用正确的health_periodic_audit_method值

400

AS.2030

伸缩组实例数不为0、处于伸缩活动中或者伸缩组为Inservice状态,不允许修改可用区、子网、安全组信息。

You are not allowed to modify the AZ, subnet, and security information when the number of instances in the AS group is not 0, the AS group is scaling, or the AS group is in Inservice status.

请确认伸缩组内实例数,伸缩组状态或稍后再试

400

AS.2031

伸缩组健康检查周期不合法

Invalid health check period of the AS group.

使用正确的health_periodic_audit_time值

400

AS.2032

伸缩组实例移除策略不合法

Invalid instance removal policy.

使用正确的instance_terminate_policy值

400

AS.2033

伸缩组当前状态不能进行操作

You are not allowed to perform the operation when the AS group is in current [%s] status.

参考错误码说明

400

AS.2034

伸缩组通知方式不合法

Invalid notification method of the AS group.

使用正确的通知方式

400

AS.2035

手动添加一些云服务器后,伸缩组中云服务器数量超过伸缩组最大实例数

The number of instances manually added to the AS group exceeds the maximum number of the instances required in the AS group.

请添加合适数量云服务器或增大伸缩组最大实例数

400

AS.2036

手动删除一些云服务器后,伸缩组中云服务器数量小于伸缩组最小实例数

The number of instances manually deleted is less than the minimum number of the instances required in the AS group.

请删除合适数量或减小伸缩组最小实例数

400

AS.2037

伸缩组负载均衡监听器达到上限

The number of listeners in the AS group exceeds the upper limit.

请选择合适数量负载均衡监听器

400

AS.2038

伸缩组的可用区下的该类型云服务器资源已售罄

The type [%s] of ECS in the AZ you selected has been sold out.

参考错误码说明,修改伸缩组的可用区信息,或者为伸缩组更换伸缩配置

400

AS.2039

伸缩组统一负载均衡protocolPort非法

Parameter protocolPort in the AS group is invalid.

配置正确的protocolPort参数

400

AS.2040

伸缩组统一负载均衡weight非法

Parameter weight in the AS group is invalid.

配置正确的weight参数

400

AS.2042

伸缩组统一负载均衡pool非法

Parameter pool of lbaas in the AS group is invalid.

配置正确的pool参数

400

AS.2043

伸缩组的可用区下该类型存储资源已售罄或者不存在

There is not avalid volume in the AZ [%s] you selected.

参考错误码说明,修改伸缩组的可用区信息,或者为伸缩组更换伸缩配置

400

AS.2044

伸缩组的AZ不可用

The AZ in the AS group is not available.

参考错误码说明,修改伸缩组的可用区信息

400

AS.2045

伸缩组的最小实例数或最大实例数超出限制

The min or max number of instances in the AS group exceeds the upper limit.

请传入合适大小的伸缩组最大实例数和最小实例数

400

AS.2046

伸缩组实例健康状况检查宽限期不合法

Invalid health check grace period of the AS group.

请使用正确的health_periodic_audit_grace_period值

400

AS.2047

伸缩组处于活动状态无法修改lb参数

The AS group is in active status.

等待伸缩组活动结束后再执行修改lb操作

400

AS.2051

伸缩组期望实例数不能小于备用实例个数

The expected number cannot be less than the number of instances moved into the standby state.

确保修改后的伸缩组期望实例数不小于备用实例(含正在进入备用状态和已备用状态的实例)个数

400

AS.2052

伸缩组期望实例数不能小于备用实例和保护实例个数之和

The expected number cannot be less than the sum of the number of standby instances and protected instances.

确保修改后的伸缩组期望实例数不小于备用实例(含正在进入备用状态和已备用状态的实例)和设置实例保护的实例个数之和

400

AS.2053

伸缩组多AZ优先级策略类型不合法

Invalid multi az priority policy.

请更换伸缩组多AZ优先级策略类型

400

AS.2054

伸缩组处于活动状态,无法修改AZ

The AS group is in active status.

等待伸缩组活动结束后再执行修改AZ操作

400

AS.3002

伸缩策略类型非法

Invalid AS policy type.

使用正确的scaling_policy_type值

400

AS.3003

伸缩策略类型为定时或周期时,scheduled_policy相关信息为空

The information about the AS policy is null.

添加scheduled_policy参数

400

AS.3004

周期表达式类型错误

Invalid recurrence type in the AS policy.

使用正确的recurrence_type值

400

AS.3005

周期策略结束时间为空

The end time of the scaling action triggered periodically is null.

添加end_time参数

400

AS.3006

周期策略结束时间格式错误

The format of the end time of the scaling action triggered periodically is incorrect.

使用正确的结束时间格式

400

AS.3007

周期策略结束时间必须晚于当前时间

The end time of the scaling action triggered periodically must be later than the current time.

请确保结束时间晚于当前时间

400

AS.3008

触发时间为空

Parameter lanchTime in the AS policy is null.

添加launch_time参数

400

AS.3009

策略触发时间格式错误

The format of parameter lanchTime is incorrect.

使用正确的策略触发时间格式

400

AS.3010

定时策略触发时间必须晚于当前时间

The triggering time of the scheduled policy must be later than the current time.

请确保定时策略触发时间晚于当前时间

400

AS.3011

伸缩策略类型为空

The AS policy type is null.

添加scaling_policy_type参数

400

AS.3012

伸缩策略冷却时间不合法

Invalid cooling duration in the AS policy.

使用正确的cool_down_time值

400

AS.3013

伸缩策略名称为空

The AS policy name is null.

添加scaling_policy_name参数

400

AS.3014

伸缩策略名称长度不合法

The length of the AS policy name is invalid.

使用正确的scaling_policy_name值

400

AS.3015

伸缩策略执行动作为空

The action in the AS policy is null.

添加scaling_policy_action参数

400

AS.3016

伸缩策略执行动作的操作为空

The operation to perform the action in the AS policy is null.

添加operation参数

400

AS.3017

伸缩策略动作的操作不合法

The operation to perform the action in the AS policy action is invalid.

使用正确的operation值

400

AS.3018

伸缩策略操作的实例数不合法

The number of instances which action in the AS policy operates on is invalid.

使用正确的instance_number值

400

AS.3019

伸缩策略中伸缩组ID为空

The AS group ID in the AS policy cannot be null.

添加伸缩组ID

400

AS.3020

伸缩策略不存在

The AS policy does not exist.

使用正确的伸缩策略ID

400

AS.3021

伸缩策略ID为空

The AS policy ID cannot be null.

添加伸缩策略ID

400

AS.3022

伸缩策略请求体action非法

The action of the AS policy request body is invalid.

使用正确的action值

400

AS.3023

伸缩策略周期类型为空

The period type of the AS policy is null.

添加recurrence_type参数

400

AS.3024

伸缩策略周期触发任务数值为空

The value of the period type of the AS policy is null.

添加recurrence_value参数

400

AS.3025

伸缩策略周期类型非法

The value of period type of the AS policy is invalid.

使用正确的recurrence_type值

400

AS.3026

伸缩策略告警ID为空

The alarm ID in the AS policy is null.

添加告警ID

400

AS.3027

伸缩策略执行时,伸缩组状态必须为启用状态

The AS policy must be in the inservice status when the AS policy is performed.

启用伸缩组后再试

400

AS.3028

周期策略起始时间格式错误

The format of the start time for the scaling action triggered periodically is incorrect.

使用正确的起始时间格式

400

AS.3029

周期策略起始时间必须早于结束时间

The start time of the scaling action triggered periodically must be earlier than the end time.

请确保周期策略起始时间早于结束时间

400

AS.3030

伸缩策略告警规则不存在

The alarm in the AS policy does not exist.

修改伸缩策略使用的告警规则

400

AS.3031

伸缩策略名称非法

Invalid AS policy name.

使用正确的scaling_policy_name值

400

AS.3032

伸缩策略数量达到限制

The number of AS policies exceeds the upper limit.

删除不使用的伸缩策略或者申请扩大配额

400

AS.3033

周期策略的触发时间不包含在策略的生效时间内

The triggering time of the periodic policy is not included in the effective time of the policy.

请确保周期策略的触发时间包含在策略的起始时间到结束时间的范围内

400

AS.3034

伸缩策略告警ID正在被其它伸缩组使用

The alarm ID in the AS policy is being used by another AS group.

参考错误码说明,告警ID同一时间只能被一个伸缩组的伸缩策略使用

400

AS.3035

伸缩策略操作的实例百分比非法

The percentage of instances which action in the AS policy operates on is invalid.

使用正确的instance_percentage值

400

AS.3036

伸缩策略操作实例的方式不唯一

The action in the AS policy operates is not unique.

instance_percentage和instance_number互斥

400

AS.3042

伸缩策略中的伸缩资源不存在

The scaling resource in the AS policy does not exist.

请在伸缩策略中传入有效的伸缩资源ID

400

AS.3045

批量删除策略失败

Failed to delete policies in a batch.

出现该错误码时,可通过Message字段获取失败的策略ID和失败原因。

400

AS.3046

批量启用策略失败

Failed to resume policies in a batch.

出现该错误码时,可通过Message字段获取失败的策略ID和失败原因。

400

AS.3047

批量停用策略失败

Failed to pause policies in a batch.

出现该错误码时,可通过Message字段获取失败的策略ID和失败原因。

400

AS.3048

是否强制删除策略的值非法

The value of the parameter that specifies whether to forcibly delete the policy is invalid.

使用正确的force_delete值

400

AS.3049

待批量操作的伸缩策略列表信息为空

The list of AS policies to be batched is empty.

添加需要批量操作的伸缩策略ID

400

AS.3050

伸缩策略中的告警ID格式错误

The alarm ID in the AS policy is illegal.

使用格式正确的告警ID

400

AS.3054

伸缩策略中伸缩资源类型为空

The scaling resource type in the AS policy is null.

添加scaling_resource_type参数

400

AS.3055

伸缩策略中的伸缩资源ID非法

The scaling resource ID in the AS policy is format wrong.

请在伸缩策略中传入有效的伸缩资源ID

400

AS.3056

是否删除伸缩策略使用的告警规则的值非法

The value of the parameter that specifies whether to delete the alarm in the AS policy is invalid.

请使用合法的delete_alarm值

400

AS.3057

请求参数中sort_by值非法

The value of parameter sort_by in the request is invalid.

请使用合法的sort_by值

400

AS.3058

请求参数中order值非法

The value of parameter order in the request is invalid.

请使用合法的order值

400

AS.4000

伸缩实例请求参数中start_number值非法

The value of parameter start_number in the request for the instance is invalid.

请使用合法的start_number值

400

AS.4001

伸缩实例请求参数中limit值非法

The value of parameter limit in the request for the instance is invalid.

请使用合法的limit值

400

AS.4003

伸缩实例请求参数中life_cycle_state值非法

The value of parameter life_cycle_state in the instance request is invalid.

使用正确的life_cycle_state值

400

AS.4004

伸缩实例请求参数中health_status值非法

The value of parameter health_status in the request for the instance is invalid.

使用正确的health_status值

400

AS.4005

伸缩实例请求参数中scaling_group_id不存在

Parameter scaling_group_id in the request for the instance does not exist.

使用正确的scaling_group_id

400

AS.4006

伸缩实例不存在

The instance does not exist.

使用正确的实例ID

400

AS.4007

是否删除虚拟机的值非法

The value of the parameter that specifies whether to delete the instance is invalid.

使用正确的参数值

400

AS.4008

期望日志起始时间格式错误

The start time format of the log about the expected number of the instances is incorrect.

使用正确的参数值

400

AS.4009

期望日志结束时间格式错误

The the end time format of the log about expected number of the instances is incorrect.

使用正确的参数值

400

AS.4010

期望日志请求参数start_number非法

Parameter start_number in the request for the log about the expected number of instances is invalid.

使用正确的参数值

400

AS.4011

期望日志请求参数中limit值非法

The value of parameter limit in the request for the log about the expected number of instances is invalid.

使用正确的参数值

400

AS.4012

期望日志请求参数中logId值非法

The value of parameter logId in the request for the log about the expected number of instances is invalid.

使用正确的参数值

400

AS.4013

待删除伸缩实例列表信息为空

The list of instances to be deleted is null.

添加待删除的伸缩实例信息

400

AS.4014

实例不属于同一个组

The instances do not belong to the same AS group.

选择同一伸缩组内的实例

400

AS.4015

伸缩实例不是inservice状态

The instance is not in the inservice status.

选择inservice状态的实例

400

AS.4016

伸缩实例是包年包月虚拟机,不能被直接删除

Failed to delete the instance because the instance is charged by month or year.

参考错误码说明

400

AS.4017

伸缩实例查询为空

The requested instance is null.

传入有效伸缩实例

400

AS.4018

批量操作实例请求体action参数值不合法

The action of the body in the request to operate the instance is invalid.

使用正确的参数值

400

AS.4019

待添加伸缩实例列表信息为空

The list of instances to be added to the AS group is null.

传入有效的伸缩实例

400

AS.4020

实例所属AZ不在伸缩组的AZ中

The AZ to which the instance belongs is not within the AZ in the AS group.

选择AZ合适的实例

400

AS.4021

实例所属VPC与伸缩组VPC不同

The VPC to which the instance belongs is different from the VPC in the AS group.

选择VPC合适的实例

400

AS.4022

添加实例个数超出限制

The number of instances added to the AS group exceeds the upper limit.

添加合适数量的实例

400

AS.4023

添加的实例已经存在

The added instance has already existed.

请选择其他有效实例

400

AS.4024

添加的实例为非active状态

The instance is not in the active status.

请选择active状态实例

400

AS.4025

将实例移入备用状态时,是否补充新的云服务器的值非法

The value of the parameter that specifies whether to append new instance(s) is invalid.

使用正确的参数值

400

AS.4026

删除实例个数超出限制

The number of instances deleted exceeds the upper limit.

删除合适数量实例

400

AS.4027

添加的实例已经被加入到其它伸缩组中

The added instance has already existed in other AS group.

请选择其他有效实例

400

AS.4028

实例ID不能为空

The AS instance ID cannot be null.

使用正确的实例ID

400

AS.4029

批量添加云服务器失败。

Failed to add instances in a batch.

出现该错误码时,可通过Message字段获取失败的ID和失败原因。

400

AS.4030

批量删除失败。

Failed to delete instances in a batch.

出现该错误码时,可通过Message字段获取失败的ID和失败原因。

400

AS.4032

伸缩实例列表信息为空

The list of instances is null.

参考错误码说明

400

AS.4033

批量更新实例的实例保护属性失败。

Failed to set instance protection in a batch.

出现该错误码时,可通过Message字段获取失败的ID和失败原因。

400

AS.4043

批量操作实例个数超出限制

The number of instances exceeds the upper limit.

单次最多批量操作实例个数为10

400

AS.7012

弹性负载均衡监听器不存在

lblistener doesnot exist.

修改伸缩组的监听器信息

400

AS.7019

子网下私有ip不足

The number of private IP addresses in the subnet is insufficient.

修改伸缩组的子网信息,之后重新启用伸缩组

400

AS.7022

伸缩配置SSH秘钥不存在

Keypair doesnot exist.

为伸缩组更换伸缩配置

400

AS.7025

通知主题不合法

The topic urn is not valid.

使用正确的通知主题

400

AS.7045

标签个数超过限制

The number of tags exceeded.

最多允许添加10个。

400

AS.7047

标签的value过长

The value of tag in the resource is too long.

使用正确的参数值。

400

AS.7048

标签资源类型不合法

The resource type in this operation with tag is invalid.

使用正确的参数值。

400

AS.7049

标签执行动作不合法

The action in this operation with tag is invalid.

使用正确的参数值。

400

AS.7050

标签的key重复

The key of tag cannot be duplicate.

使用正确的参数值。

400

AS.7051

伸缩组中的后端云服务器组不存在

The backend ECS group in the AS group does not exist.

使用正确的参数值,更换负载均衡的pool。

400

AS.7052

matches非法

The matches in the resource is invalid.

请使用合法的matches值。

400

AS.7055

生命周期挂钩metadata包含非法字符

The metadata of the lifecycle hook has special character.

使用正确的参数值。

400

AS.7061

标签的value为空

The value of scaling tag is null.

使用正确的参数值。

400

AS.7063

标签的key过长

The key of scaling tag is too long.

使用正确的参数值。

400

AS.7111

配额不足

Insufficient instance quota.

释放不使用的云服务器资源或者申请扩大配额。

400

AS.7112

云硬盘配额不足

Insufficient volume quota.

释放不使用的资源或者申请扩大卷配额。

400

AS.7113

弹性IP配额不足

Insufficient elastic ip quota.

释放不使用的弹性IP或者申请扩大弹性IP配额。

400

AS.7114

内存配额不足

Insufficient ram quota.

释放不使用的资源或者申请扩大内存配额。

400

AS.7115

CPU配额不足

Insufficient cpu quota.

释放不使用的资源或者申请扩大CPU配额

400

AS.9001

伸缩活动日志起始时间格式错误

The format of the start time of the scaling activity log is incorrect.

使用正确的参数值

400

AS.9002

伸缩活动日志结束时间格式错误

The format of the end time of the scaling activity log is incorrect.

使用正确的参数值

400

AS.9003

伸缩活动日志请求参数start_number非法

The value of parameter start_number in the request for the scaling activity log is invalid.

使用正确的参数值

400

AS.9004

伸缩活动日志请求参数中limit值非法

The value of parameter limit in the request for the scaling activity log is invalid.

使用正确的参数值。

400

AS.9005

伸缩活动日志请求参数中logId值非法

The value of parameter log_id in the request for the scaling log is invalid.

使用正确的参数值

400

AS.9012

伸缩活动日志请求参数中type值非法

The value of parameter type in the request for the scaling activity log is invalid.

使用正确的参数值

400

AS.9013

伸缩活动日志请求参数中status值非法

The value of parameter status in the request for the scaling activity log is invalid.

使用正确的参数值