云服务器内容精选

  • 迁移方法详细介绍 SAP系统迁移常用的方法如表1所示。 表1 迁移工具和方法 迁移工具和方法 说明 主机迁移服务 SMS 主机迁移 服务(Server Migration Service, SMS )是一种P2V/V2V迁移服务,可以帮您把X86物理服务器,或者私有云、公有云平台上的虚拟机迁移到华为云弹性云服务器(E CS ),从而帮助您轻松地把服务器上的应用和数据迁移到华为云。 关于主机迁移服务的使用详情,请参考主机迁移服务快速入门。 说明: 华为云还提供主机迁移工具SMT(Server Migration Tool),SMS是SMT服务化后的产品,但是SMT功能更强。如有SMS无法满足的需求,可以联系华为云技术支持工程师。 SMS与SMT主要区别: 支持操作系统不同(SMS兼容操作系统列表),SMT支持更多操作系统。 SMS要求源端能够连接华为云SMS服务端(能访问互联网),如果源端与目的端是云专线或VPN打通,需要保证要迁移的源端服务器能访问SMS服务端。 镜像导出/导入 如果客户的服务器可以转换成镜像文件,且镜像文件的类型和操作系统符合外部镜像文件的镜像格式和操作系统类型,可以将源端服务器的镜像文件创建为云平台上的私有镜像,并使用该镜像快速在华为云上部署新的服务器。 更多详情请参考通过外部镜像文件创建Linux系统盘镜像与通过外部镜像文件创建Windows系统盘镜像。 数据库备份/恢复 此方法使用数据库的备份功能现将数据从源系统导出,将备份文件转移到目的系统后,再使用数据库的恢复功能使用备份进行恢复。 合理使用数据库备份恢复特性,可以降低迁移停机时间。 数据同步复制 数据库复制功能包括HANA系统复制(HANA System Replication),Oracle Data Guard,SQL Server AlwaysOn和DB2的Q复制(Q Replication)等。他们都有相似的功能,可以将数据库从一个节点复制到另一个节点。如果对停机时间有较高要求,可以考虑采用数据库复制作为数据迁移的工具。 SAP系统复制(R3load) SAP的SWPM(Software Provisioning Manager)中的系统复制(System Copy)可以通过Export/Import将SAP系统复制到一个新的系统。本文档中不会对该方案做详细描述,但是可以该方案可以用来将SAP系统迁移到华为云。 详情请查看SAP网站相关描述System Copy以及System Copy and Migration。 DMO DMO(Data Migration Option)是集成到SAP的SUM(Software Update Manager)中的数据库迁移选项,它可以执行SAP的版本升级、SAP数据库平台迁移等。本文档中不会对该方案做详细描述,但是可以该方案可以用来将SAP系统迁移到华为云。 详情请查看SAP网站相关描述Database Migration Option (DMO) of SUM。 SAP HANA经典迁移 SAP HANA经典迁移方案是使用一系列包括异构System Copy在内的过程与工具将数据库迁移到HANA的方案。本文档中不会对该方案做详细描述,但是可以该方案可以用来将SAP系统迁移到华为云。 详情请查看SAP网站相关描述Classical Migration to SAP HANA。 OMS 对象存储迁移 服务(Object Storage Migration Service,OMS)是一种线上数据迁移服务,帮助用户把对象存储数据从其他云服务商的公有云轻松、平滑地迁移到华为云。 关于对象存储迁移服务的使用详情,请参考对象存储迁移服务快速入门。 DES 数据快递服务(Data Express Service,DES)是一种海量数据传输解决方案,支持TB到PB级数据上云,通过Teleport设备或硬盘(外置USB接口、SATA接口、SAS接口类型)向华为云传输大量数据,致力于解决海量数据传输网络成本高、传输时间长等难题。 关于数据快递服务的使用详情,请参考数据快递服务快速入门。 父主题: 附录
  • 规格约束 事务 使用DATABASE LINK的时候本地和远程事务的关系如下: 本地事务会同步控制远程事务的提交/回滚状态。 隔离级别的对应关系为: 本地隔离级别 远程隔离级别 Read Uncommitted Repeatable Read Read Committed Repeatable Read Repeatable Read Repeatable Read Serializable Serializable 本地事务提交过程中会向远端发送事务提交请求,如果远端事务提交成功后出现异常情况导致本地的事务提交失败,如连接异常,本地集群实例异常等情况,远端的事务提交无法被撤回,可能出现本地事务与远端事务不一致的情况。 本地用户对DATABASE LINK的使用权限 如果使用了public关键词,就是公有的DATABASE LINK,可以被所有用户/schema使用。 如果没有使用public关键词,就是私有的DATABASE LINK,仅能被当前用户/schema使用(包括sysadmin用户也无法跨schema使用DATABASE LINK)。 通过DATABASE LINK访问远程数据库对象的权限 对远程数据库对象的访问权限与DATABASE LINK绑定的远程连接用户的权限保持一致。 支持SQL范围 DATABASE LINK相关语句支持情况见表1。 DATABASE LINK相关表类型支持情况见表2。 DATABASE LINK函数调用 DATABASE LINK调用远程函数不支持OUT/INOUT参数、聚集函数、窗口函数、以及返回set函数。 PLSQL_BODY内通过DATABASE LINK调用远程数据库的存储过程或函数不支持OUT/INOUT参数、重载函数、聚集函数、窗口函数、以及返回set函数。 PLSQL_BODY内调用远程数据库的存储过程或函数时,应使用[CALL | SELECT] [ schema. ] { func_name@dblink | procedure_name@dblink } ( param_expr )语法格式调用。 PLSQL_BODY内调用远程数据库的无参存储过程或函数时,应使用[CALL | SELECT] [ schema. ] { func_name@dblink | procedure_name@dblink } ( )语法格式调用。 同义词 不支持将DATABASE LINK名创建为一个同义词的使用方法。 不支持通过DATABASE LINK调用远端数据库中指向一个DATABASE LINK对象的同义词。例如如下场景: 步骤一:在DB1上创建表TABLE1。 步骤二:在DB2上创建连接DB1的DBLINK1,并创建同义词"CREATE SYNONYM T1 FOR TABLE1@DBLINK1"。 步骤三:在DB3上创建连接DB2的DBLINK2,通过DBLINK2调用DB2上的同义词T1,"SELECT * FROM T1@DBLINK2"。 表类型约束 HASHBUCKET:不支持通过DATABASE LINK对远端Hash bucket表进行查询或DML操作。 SLICE:不支持通过DATABASE LINK对远端slice表进行查询或DML操作。 复制表:不支持通过DATABASE LINK对远端复制表进行查询或DML操作。 TEMPORARY:不支持通过DATABASE LINK对远端临时表进行查询或DML操作。 视图 目前支持对DATABASE LINK的远端表创建视图,但是当远端表本身的结构发生变化时,该视图使用时可能会发生异常。例如: 步骤一:在DB1上创建表TABLE1。 步骤二:在DB2上创建连接DB1的DBLINK,并创建视图"CREATE VIEW V1 AS SELECT * FROM TABLE1@DBLINK。 步骤三:在DB1上删除TABLE1的一列,在DB2上查询该视图会产生报错。 其他场景: DATABASE LINK表不支持TRIGGER,包括TRIGGER调用函数内使用DATABASE LINK场景、trigger调用函数为DATABASE LINK函数、在DATABASE LINK上定义TRIGGER情况。 暂不支持UPSERT、MERGE语法。 不支持current cursor语法。 不支持查询表的隐藏字段。 dump与备份 不支持DATABASE LINK相关数据库对象的dump,备机不支持DATABASE LINK调用,也不支持被DATABASE LINK连接。 不支持DATABASE LINK相关数据库对象的集群备份后恢复使用。因为不同集群的密钥文件不同,在使用 DATABASE LINK 时需要使用集群密钥文件进行解密。 谓词下推约束 仅支持WHERE子句使用的数据类型、操作符和函数是内置的,并且使用的函数是IMMUTABLE类型。 聚集函数下推约束 仅支持单表且没有GROUP、ORDER BY、HAVING、LIMIT子句的SELECT语句,并且不支持窗口函数。 hint下推 支持针对DATABASE LINK表对象的hint条件下推,仅限scan方式的hint下推,语法格式如下: [no] tablescan|indexscan|indexonlyscan(table [index]) 并要求在一个 queryblock 中的表名或表别名不能重复。 表1 支持SQL范围 SQL类型 操作对象 支持选项说明 执行上下文 创建DATABASE LINK DATABASE LINK NA 普通事务块 修改DATABASE LINK DATABASE LINK 仅支持用户名、密码的修改 普通事务块 删除DATABASE LINK DATABASE LINK NA 普通事务块 SELECT语句 普通表、普通视图、全量物化视图 WHERE子句 DATABASE LINK表和内部表JOIN DATABASE LINK表和DATABASE LINK表JOIN 聚集函数 LIMIT子句 ORDER BY子句 GROUP BY子句、HAVING子句 UNION子句 WITH子句 FOR UPDATE子句 Rownum使用 普通事务块、存储过程、函数、高级包、逻辑视图 INSERT语句 普通表 多VALUE插入 普通事务块、存储过程、函数、高级包 UPDATE语句 普通表 LIMIT子句 ORDER BY子句 WHERE子句 普通事务块、存储过程、函数、高级包 DELETE语句 普通表 LIMIT子句 ORDER BY子句 WHERE子句 普通事务块、存储过程、函数、高级包 LOCK TABLE语句 普通表 LOCKMODE子句 NOWAIT子句 普通事务块 表2 表类型支持情况 维度 GaussDB 表类型 DATABASE LINK支持情况 TEMP选项 临时表 不支持 全局临时表 不支持 UN LOG GED选项 非日志表 支持 存储特性 行存 Astore 支持 Ustore 不支持 分区表 不支持 二级分区表 不支持 视图 DATABASE LINK访问远程视图 支持dql,不支持dml 本地视图通过 DATABASE LINK 关联远程表 支持dql,不支持dml
  • 注意事项 DATABASE LINK特性只在ORA兼容版本下可以使用。 DATABASE LINK连接的远端数据库仅支持503.1及之后版本。 用户需要保证本地和远端数据库的兼容性参数DBCOMPATIBILITY和guc参数behavior_compat_options、a_format_dev_version、a_format_version取值一致。 DATABASE LINK连接开启session时会设置如下guc参数: set search_path=pg_catalog, '$user', 'public'; set datestyle=ISO; set intervalstyle=postgres; set extra_float_digits=3; 其余参数为远端设置的参数,远端参数与本地参数不同时,可能会出现数据显示格式不一致等情况,使用时应尽量保证远端与本地参数相同。 使用前置准备:使用gs_guc在pg_hba.conf文件中添加白名单允许客户端连接。 示例:gs_guc reload -I all -N all -Z coordinator -Z datanode -h "host all all 192.168.11.11/32 sha256" 详细配置参数信息参考gs_guc客户端认证策略设置。 某些情况集群白名单中也需要添加DN的IP。 创建DATABASE LINK权限需要使用GRANT语法赋予,新建用户默认无权限,系统管理员拥有权限。详见GRANT相关说明。 使用DATABASE LINK对远端表操作时,会在本地创建与远端对应的Schema,若本地不存在该表的元数据信息,会将元数据信息写入本地系统表中,此时会使用7级锁保证写入的一致性,持续到事务结束放锁,删除DATABASE LINK时会将相应的元数据信息删除。 使用DATABASE LINK时在本地创建的表仅用于存储远端表的元数据信息,无法通过\d或pg_get_tabledef函数查询到表结构。 如果业务中有长事务首次使用dblink操作远端对象,会持续持锁直到事务结束,其他首次使用dblink的事务会被阻塞。可通过一条快速执行的语句先对要使用的远端对象做查询操作使其元数据落盘来规避这种情况,如 "select * from t1@dblink where 1=2;"。另外,远端表结构发生变化时本地要更新存储的元数据信息,也会有类似情况。 在本地创建与远端对应的SCHEMA时会使用“USERNAME(私有DATABASE LINK才有)#远端SCHEMA@DBLINK名作为SCHEMA名,名称长度上限为63。 如果本地与远端字符集不同,可能会出现无法转换的报错,报错信息为远端返回报错。当本地数据库字符编码为gb18030_2022时,发送到远端会被转换为gb18030。因此,若本地数据库的字符集为GB18030_2022时,远程数据库字符集只能是GB18030或GB18030_2022。 如果在创建DATABASE LINK对象后重新生成密钥文件,使用DATABASE LINK时将会报错。因为创建DATABASE LINK时使用的密钥文件与后续解密时使用的密钥文件不一致。 使用DATABASE LINK对远端表操作时,会创建一个单节点的NODE GROUP随机绑定一个DN。 当赋予用户创建DATABASE LINK权限时,相当于许可用户使用服务端DATABASE的IP对远端进行访问。若不希望有此效果,应不要使用GRANT对用户赋权。
  • 功能描述 在本地数据库利用DATABASE LINK与远程数据库建立连接,并通过DATABASE LINK对远程数据库进行访问。 DATABASE LINK可以分为public或private,private DATABASE LINK仅能被创建者访问,而当DATABASE LINK为public时则所有用户都能访问。 所有已创建的DATABASE LINK信息都存在本地数据库的系统视图gs_db_links中。
  • 错误码说明 当您调用API时,如果遇到“APIGW”开头的错误码,请参见API网关错误码进行处理。 状态码 错误码 错误信息 描述 处理措施 500 AS.0001 System error. 系统错误 请稍后重试或联系技术支持 500 AS.0049 Call IAM failed. 调用IAM接口失败 请稍后重试或联系技术支持 400 AS.0002 Request body is null. 消息体为空 请传入有效消息体 401 AS.0005 The token of the header in the request is null. 请求消息头未携带token或者token为空 请传入有效token 401 AS.0006 The token of the header in the request is incorrect. 请求消息头携带的token不正确、非法或已过期 请传入有效token 404 AS.0007 The requested resource [%s] could not be found. 请求的资源未找到 请使用正确的参数值 400 AS.0008 Incorrect ProjectID. URL中携带的project id和从token中解析到的project id不一致 检查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. 细粒度鉴权失败,缺少指定的授权项 添加对应的授权项 404 AS.0033 The api version is illegal, only v1,v2. 查询指定版本API信息版本id非法 请输入正确版本id 400 AS.0034 Failed to execute the policy because the AS group is in active state. 伸缩组正在进行活动,策略无法触发 伸缩策略在伸缩组非活动状态才能被自动触发,请稍后重试 400 AS.0050 Scaling action failed. Max. instances reached. 伸缩组当前实例数与最大实例数相等,无法扩容 修改最大实例数 400 AS.1001 The value of parameter Start number is invalid. start number非法 请输入合法的start_number值 400 AS.1002 The value of parameter Limit is invalid. limit非法 请输入合法的limit值 400 AS.1003 The AS configuration ID is null. 伸缩配置ID为空 添加伸缩配置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 The AS group ID is null. 伸缩组ID为空 添加伸缩组ID 400 AS.1011 The instance configuration information is null. instance_config字段为空 请确保instance_config字段不为空 400 AS.1014 The image ID in the AS configuration is null. 伸缩配置镜像ID为空 添加镜像ID 400 AS.1015 The image in the AS configuration does not exist. 伸缩配置镜像不存在 使用正确的镜像ID 400 AS.1016 The specification ID in the AS configuration cannot be null. 伸缩配置规格ID为空 添加规格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 The ECS type [%s] in the AS configuration do not support 24 disks. 伸缩配置磁盘数量超过24个 请确保磁盘个数不超过限制 400 AS.1033 Parameter volumeType in the AS configuration is invalid. 伸缩配置磁盘volumeType非法 使用正确的volume_type值 400 AS.1034 Parameter diskType in the AS configuration is invalid. 伸缩配置diskType非法 使用正确的disk_type值 400 AS.1035 Parameter adminPass in the AS configuration is invalid. 伸缩配置密码复杂度不符合要求 使用复杂度符合要求的密码 400 AS.1036 32-bit operating system (OS) does not support the specification [%s] with 4G memory. 伸缩配置32位系统内存超过4G 请更换镜像或者规则 400 AS.1037 The flavorRef in the AS configuration is not available. 规格不可用,详细原因请查看错误详情 请更换规格 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 The eip info of scaling config is null. 伸缩配置public_ip字段中eip字段为空 当传入public_ip字段时,请确保eip字段不为空 400 AS.1042 The bandwidth size of eip is invalid. 伸缩配置带宽大小非法 使用正确的带宽值 400 AS.1043 The eip type of scaling config is invalid. 伸缩配置弹性IP类型非法 使用正确的弹性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 The bandwidth id of eip is null. 伸缩配置共享带宽ID为空 添加共享带宽ID 400 AS.1049 Parameter userdata in the AS configuration is invalid. 伸缩配置userdata参数非法 使用正确的userdata值 400 AS.1050 The user login mode in the AS configuration is illegal. 伸缩配置用户登录方式非法 使用正确的登录方式 400 AS.1052 Parameter metadata in the AS configuration is invalid. 伸缩配置metadata参数非法 使用正确的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 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. 伸缩配置中含快照ID的磁盘个数应当与整机镜像中的磁盘个数保持一致 参考错误码说明 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 The AS configuration contains EVS disks with invalid snapshot IDs. 伸缩配置中含快照ID无效的磁盘 使用正确的快照ID 400 AS.1067 The value of parameter Offset number is invalid. offset参数非法 使用正确的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 Parameter tenancy in the AS configuration is invalid. 伸缩配置中的tenancy参数非法 使用正确的tenancy值 400 AS.1072 The server group ID is invalid. 伸缩配置中的云服务器组ID非法 更换正确的云服务器组ID 400 AS.1073 The dedicated host id does not exist. 伸缩配置中的专属主机ID不存在 使用存在的专属主机ID 400 AS.1074 The value of parameter Marker is invalid. marker参数非法 使用正确的marker值 400 AS.1075 The image ID is invalid. 伸缩配置中的镜像ID非法 更换正确的镜像ID 400 AS.1076 The bandwidth id of eip is invalid. 伸缩配置中的共享带宽ID非法 更换正确的共享带宽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 This specification [%s] does not support IPv6. 伸缩配置flavor不支持开启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.1097 Parameter iops in the AS configuration is invalid 伸缩配置中iops参数不合法 请传入合法的iops参数 400 AS.1098 Parameter throughput in the AS configuration is invalid 伸缩配置中throughput参数不合法 请传入合法的throughput参数 400 AS.1099 Can not create AS configuration with exist instance that volume_type is GPSSD2,ESSD2 使用已有云服务器为模板创建伸缩配置时,磁盘类型不允许为GPSSD2和ESSD2 使用其他磁盘类型的虚拟机为模板创建伸缩配置 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 The AS group ID is null. 伸缩组ID为空 添加伸缩组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 The VPC of the AS group does not exist. 伸缩组中的VPC不存在 使用正确的参数值 400 AS.2013 Parameter networks in the AS group is invalid. 伸缩组中的networks参数非法 使用正确的参数值 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 The listener of the AS group does not belong to the vpc. 伸缩组中负载均衡监听器所属VPC与伸缩组中的VPC不一致 更换VPC ID或者更换监听器ID 400 AS.2017 The ID of the VPC in the AS group is null. 伸缩组中的VPC为空 添加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 The current number of instances in the AS group is not 0. 伸缩组当前实例数不为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 The subnet of the AS group does not belong to the vpc. 伸缩组的某些子网所在VPC与伸缩组中的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 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. 伸缩组实例数不为0、处于伸缩活动中或者伸缩组为Inservice状态,不允许修改可用区、子网、安全组信息。 请确认伸缩组内实例数,伸缩组状态或稍后再试 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 Parameter protocolPort in the AS group is invalid. 伸缩组统一负载均衡protocolPort非法 配置正确的protocolPort参数 400 AS.2040 Parameter weight in the AS group is invalid. 伸缩组统一负载均衡weight非法 配置正确的weight参数 400 AS.2042 Parameter pool of lbaas in the AS group is invalid. 伸缩组统一负载均衡pool非法 配置正确的pool参数 400 AS.2043 There is not avalid volume in the AZ [%s] you selected. 伸缩组的可用区下该类型存储资源已售罄或者不存在 参考错误码说明,修改伸缩组的可用区信息,或者为伸缩组更换伸缩配置 400 AS.2044 The AZ in the AS group is not available. 伸缩组的AZ不可用 参考错误码说明,修改伸缩组的可用区信息 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 The AS group is in active status. 伸缩组处于活动状态无法修改lb参数 等待伸缩组活动结束后再执行修改lb操作 400 AS.2048 This subnet does not support IPv6. 伸缩组子网不支持开启IPv6 更换支持IPv6的子网或者不启用IPv6 400 AS.2049 The AZ in the AS group does not support IPv6. 伸缩组AZ不支持开启IPv6 更换支持IPv6的AZ或者不启用IPv6 400 AS.2050 IPv6 shared bandwidth can be used only after IPv6 is enabled. IPv6启用后才可以使用IPv6共享带宽 请启用IPv6后再使用IPv6带宽 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 Invalid multi az priority policy. 伸缩组多AZ优先级策略类型不合法 请更换伸缩组多AZ优先级策略类型 400 AS.2054 The AS group is in active status. 伸缩组处于活动状态,无法修改AZ 等待伸缩组活动结束后再执行修改AZ操作 400 AS.3002 Invalid AS policy type. 伸缩策略类型非法 使用正确的scaling_policy_type值 400 AS.3003 The information about the AS policy is null. 伸缩策略类型为定时或周期时,scheduled_policy相关信息为空 添加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 The AS group ID in the AS policy cannot be null. 伸缩策略中伸缩组ID为空 添加伸缩组ID 400 AS.3020 The AS policy does not exist. 伸缩策略不存在 使用正确的伸缩策略ID 400 AS.3021 The AS policy ID cannot be null. 伸缩策略ID为空 添加伸缩策略ID 400 AS.3022 The action of the AS policy request body is invalid. 伸缩策略请求体action非法 使用正确的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 The alarm ID in the AS policy is null. 伸缩策略告警ID为空 添加告警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 The alarm ID in the AS policy is being used by another AS group. 伸缩策略告警ID正在被其它伸缩组使用 参考错误码说明,告警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.3037 The scaling resource type in the AS policy is invalid. 伸缩策略资源类型非法 使用正确的scaling_resource_type值 400 AS.3038 The AS policy is in execting status. 伸缩策略正在执行中无法再次执行 请稍后再试 400 AS.3040 The adjustment by policy reached the limit 伸缩策略中的伸缩资源已达到修改上限 参考错误码说明 400 AS.3041 The scaling resource ID in the AS policy is null. 伸缩策略中的伸缩资源ID为空 请在伸缩策略中传入有效的伸缩资源ID 400 AS.3042 The scaling resource in the AS policy does not exist. 伸缩策略中的伸缩资源不存在 请在伸缩策略中传入有效的伸缩资源ID 400 AS.3043 The limit which action in the AS policy operates on is invalid. 伸缩策略中的limits参数值非法 请在伸缩策略中使用合法limits值 400 AS.3044 Parameter limits in the AS policy is invalid. 包年包月带宽不支持动态调整 请选择合法的带宽伸缩资源 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 The alarm ID in the AS policy is illegal. 伸缩策略中的告警ID格式错误 使用格式正确的告警ID 400 AS.3054 The scaling resource type in the AS policy is null. 伸缩策略中伸缩资源类型为空 添加scaling_resource_type参数 400 AS.3055 The scaling resource ID in the AS policy is format wrong. 伸缩策略中的伸缩资源ID非法 请在伸缩策略中传入有效的伸缩资源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 The value of parameter sort_by in the request is invalid. 请求参数中sort_by值非法 请使用合法的sort_by值 400 AS.3058 The value of parameter order in the request is invalid. 请求参数中order值非法 请使用合法的order值 400 AS.4000 The value of parameter start_number in the request for the instance is invalid. 伸缩实例请求参数中start_number值非法 请使用合法的start_number值 400 AS.4001 The value of parameter limit in the request for the instance is invalid. 伸缩实例请求参数中limit值非法 请使用合法的limit值 400 AS.4003 The value of parameter life_cycle_state in the instance request is invalid. 伸缩实例请求参数中life_cycle_state值非法 使用正确的life_cycle_state值 400 AS.4004 The value of parameter health_status in the request for the instance is invalid. 伸缩实例请求参数中health_status值非法 使用正确的health_status值 400 AS.4005 Parameter scaling_group_id in the request for the instance does not exist. 伸缩实例请求参数中scaling_group_id不存在 使用正确的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 Parameter start_number in the request for the log about the expected number of instances is invalid. 期望日志请求参数start_number非法 使用正确的参数值 400 AS.4011 The value of parameter limit in the request for the log about the expected number of instances is invalid. 期望日志请求参数中limit值非法 使用正确的参数值 400 AS.4012 The value of parameter logId in the request for the log about the expected number of instances is invalid. 期望日志请求参数中logId值非法 使用正确的参数值 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 The instance is not in the inservice status. 伸缩实例不是inservice状态 选择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 The action of the body in the request to operate the instance is invalid. 批量操作实例请求体action参数值不合法 使用正确的参数值 400 AS.4019 The list of instances to be added to the AS group is null. 待添加伸缩实例列表信息为空 传入有效的伸缩实例 400 AS.4020 The AZ to which the instance belongs is not within the AZ in the AS group. 实例所属AZ不在伸缩组的AZ中 选择AZ合适的实例 400 AS.4021 The VPC to which the instance belongs is different from the VPC in the AS group. 实例所属VPC与伸缩组VPC不同 选择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 The instance is not in the active status. 添加的实例为非active状态 请选择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 The AS instance ID cannot be null. 实例ID不能为空 使用正确的实例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.4036 Failed to set instance enter standby in a batch. 批量将实例转入备用状态失败。 出现该错误码时,可通过Message字段获取失败的云服务器ID和失败原因。 400 AS.4037 Failed to set instance exit standby in a batch. 批量将实例移出备用状态失败。 出现该错误码时,可通过Message字段获取失败的云服务器ID和失败原因。 400 AS.4038 The instance is not in the standby status. 伸缩实例不是备用状态 请选择备用状态的实例 400 AS.4039 After adding new instances equal to the number of standby instances, the expected number cannot be larger than the max instance number of group. 加入与备用实例等量的新实例后,期望实例数不能大于伸缩组的最大实例数 修改伸缩组的最大实例数 400 AS.4043 The number of instances exceeds the upper limit. 批量操作实例个数超出限制 单次最多批量操作实例个数为10 400 AS.7003 called interface of VPC service failed 调用VPC服务的接口异常 请稍后再试或联系技术支持人员 400 AS.7011 This DeC does not support ECSs of this type [%s]. DeC不支持该类型云服务器 使用其他类型云服务器规格 400 AS.7012 lblistener doesnot exist. 弹性负载均衡监听器不存在 修改伸缩组的监听器信息 400 AS.7016 This DeC does not support the AZ [%s] you selected. DeC不支持该AZ 修改伸缩组的可用区信息 400 AS.7019 The number of private IP addresses in the subnet is insufficient. 子网下私有ip不足 修改伸缩组的子网信息,之后重新启用伸缩组 400 AS.7022 Keypair doesnot exist. 伸缩配置SSH密钥不存在 为伸缩组更换伸缩配置 400 AS.7025 The topic urn is not valid. 通知主题不合法 使用正确的通知主题 400 AS.7026 The topic scene is not valid. 通知场景不合法 使用正确的通知场景 400 AS.7027 The topic of notification is null. 通知主题不能为空 添加通知主题 400 AS.7028 The number of topics in the AS group exceeds the upper limit. 通知个数超过限制 最多允许添加5个 400 AS.7029 The topic of notification is duplicate. 通知主题重复 使用正确的通知主题 400 AS.7030 Invalid lifecycle hook default timeout. 生命周期挂钩超时时间不合法 使用正确的参数值 400 AS.7031 Invalid lifecycle hook name. 生命周期挂钩名称不合法 使用正确的参数值 400 AS.7032 The name of the lifecycle hook is empty. 生命周期挂钩名称不能为空 添加生命周期挂钩名称 400 AS.7033 Invalid lifecycle hook type. 生命周期挂钩类型不合法 使用正确的参数值 400 AS.7034 Invalid lifecycle hook callback action result. 生命周期挂钩操作不合法 使用正确的参数值 400 AS.7035 The metadata of the lifecycle hook is too long. 生命周期挂钩metadata过长 使用正确的参数值 400 AS.7036 The lifecycle hook is null. 生命周期挂钩不能为空 使用正确的参数值 400 AS.7037 The type of the lifecycle hook is empty. 生命周期挂钩类型不能为空 使用正确的参数值 400 AS.7038 The number of hooks in the AS group exceeds the upper limit. 生命周期挂钩个数超过限制 最多允许添加5个 400 AS.7039 The lifecycle hook callback action result is empty. 生命周期挂钩回调操作不能为空 使用正确的参数值 400 AS.7040 The lifecycle hook callback object is empty. 生命周期挂钩回调对象不能为空 使用正确的参数值 400 AS.7041 The lifecycle hook callback object is empty. 生命周期挂钩名称重复 使用正确的参数值 400 AS.7042 The lifecycle hook callback object does not exist. 生命周期挂钩回调对象不存在 使用正确的参数值。 400 AS.7043 The lifecycle hook topic urn does not exist. 生命周期挂钩使用的通知主题不存在 使用正确的参数值,检查生命周期挂钩使用的通知主题。 400 AS.7044 The tag of this resource is null 标签为空 使用正确的参数值。 400 AS.7045 The number of tags exceeded. 标签个数超过限制 最多允许添加10个。 400 AS.7046 The tags in the resource is invalid. tag非法 请使用正确的参数值 400 AS.7047 The value of tag in the resource is too long. 标签的value过长 使用正确的参数值。 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 The key of tag cannot be duplicate. 标签的key重复 使用正确的参数值。 400 AS.7051 The backend ECS group in the AS group does not exist. 伸缩组中的后端云服务器组不存在 使用正确的参数值,更换负载均衡的pool。 400 AS.7052 The matches in the resource is invalid. matches非法 请使用合法的matches值。 400 AS.7054 The value of tag cannot be duplicate. tag中一个key下value重复 对tag下对应的value进行检查,避免重复。 400 AS.7055 The metadata of the lifecycle hook has special character. 生命周期挂钩metadata包含非法字符 使用正确的参数值。 400 AS.7059 The enterprise project does not exist. 企业项目不存在 请使用存在的企业项目 400 AS.7060 The enterprise project is unavailable. 企业项目不可用 请使用可用的企业项目 400 AS.7061 The value of scaling tag is null. 标签的value为空 使用正确的参数值。 400 AS.7062 The key of scaling tag is null. 标签的key为空 使用正确的参数值。 400 AS.7063 The key of scaling tag is too long. 标签的key过长 使用正确的参数值。 400 AS.7065 The value of parameter enterprise_project_id in the request is invalid. 请求参数enterprise_project_id非法 使用合法的enterprise_project_id。 400 AS.7078 Failed to get the security group. Try again later or contact customer service. 调用VPC服务的接口,获取安全组异常 稍后重试或者联系技术支持人员 400 AS.7079 Failed to get the image. Try again later or contact customer service. 查询镜像接口,IMS响应异常 稍后重试或者联系技术支持人员 400 AS.7081 The enterprise project is disabled and cannot be bound to resources. 企业项目不可用,不能绑定资源 检查企业项目是否为启用状态 400 AS.7100 The tag policy does not allow the specified value for the following tag key: %s. 标签不允许为以下键指定值:%s。 修正对应的tag信息或联系技术支持。 400 AS.7111 Insufficient instance quota. 云服务器配额不足 释放不使用的云服务器资源或者申请扩大云服务器配额。 400 AS.7112 Insufficient volume quota. 云硬盘配额不足 释放不使用的云服务器资源或者申请扩大卷配额。 400 AS.7113 Insufficient elastic ip quota. 弹性IP配额不足 释放不使用的弹性IP或者申请扩大弹性IP配额。 400 AS.7114 Insufficient ram quota. 云服务器内存配额不足 释放不使用的云服务器资源或者申请扩大云服务器内存配额。 400 AS.7115 Insufficient cpu quota. 云服务器CPU配额不足 释放不使用的云服务器资源或者申请扩大云服务器CPU配额 400 AS.7118 The maximum number of EIPs bounded to this shared bandwidth has been reached. 共享带宽绑定的EIP个数超过最大限制 更换共享带宽 400 AS.8004 User resources are frozen. 用户资源被冻结,无法进行操作 需要充值,非欠费状态自动解冻 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 The value of parameter start_number in the request for the scaling activity log is invalid. 伸缩活动日志请求参数start_number非法 使用正确的参数值 400 AS.9004 The value of parameter limit in the request for the scaling activity log is invalid. 伸缩活动日志请求参数中limit值非法 使用正确的参数值。 400 AS.9005 The value of parameter log_id in the request for the scaling log is invalid. 伸缩活动日志请求参数中logId值非法 使用正确的参数值 400 AS.9007 The format of the execute time in the request is incorrect. 策略执行日志时间格式错误 使用正确的参数值 400 AS.9008 The value of parameter start_number in the request is invalid. 策略执行日志请求参数start_number非法 使用正确的参数值 400 AS.9009 The value of parameter limit in the request is invalid. 策略执行日志请求参数中limit值非法 使用正确的参数值 400 AS.9010 The value of parameter log_id in the request is invalid. 策略执行日志请求参数中logId值非法 使用正确的参数值 400 AS.9011 The value of parameter scaling_resource_id in the request is invalid. 策略执行日志请求参数中资源Id值非法 使用正确的参数值 400 AS.9012 The value of parameter type in the request for the scaling activity log is invalid. 伸缩活动日志请求参数中type值非法 使用正确的参数值 400 AS.9013 The value of parameter status in the request for the scaling activity log is invalid. 伸缩活动日志请求参数中status值非法 使用正确的参数值
  • distance_direction 用于触发条件object_distance和point_distance。 distance_direction list ENUM_DISTANCE_DIRECTION = ("longitudinal", "lateral", "euclidianDistance") longitudinal:在x坐标中测量距离。正表示引用位于参考实体的前面。 lateral:在y坐标中测量距离,正表示引用位于参考实体的左侧。 euclidianDistance:欧氏距离。
  • lane_change_side 用于动作change_lane。 lane_change_side list ENUM_LANE_CHANGE_SIDE = ("left", "right", "inside", "outside", "same") left:参考实体左侧的车道 right:参考实体右侧的车道 inside:参考实体内侧的车道 outside:参考实体外侧的车道 same:与参考实体相同的车道
  • dynamics_shape 表示给定变量随时间或距离的变化,用于动作change_speed,change_lane。 dynamics_shape list ENUM_DYNAMICS_SHAPE = ("linear", "cubic", "sinusoidal", "step") linear:变化曲线是一个线性linear函数f(x) = f_0 +变化速率*x。 cubic:变化曲线是一个三次变迁Cubical transition函数f(x)=Ax3+B*x2+Cx+D,约束梯度在开始和结束时必须为零。 sinusoidal:变化曲线是一个正弦变迁Sinusoidal transition函数f(x)=A*正弦(x)+B,约束梯度在开始和结束时必须为零。 step:变化曲线是一个阶段变迁Step transition函数。
  • catalog 目录catalog可使一些元素得以重复使用,在目录catalog中参数化类型是可维护的。 catalog list ENUM_CATALOG = ("vehicle_catalog", "controller_catalog", "pedestrian_catalog", "misc_object_catalog") vehicle_catalog:场景中可复用的车辆类型列表。 controller_catalog:场景中可复用的控制器类型列表。 pedestrian_catalog:场景中可复用的行人类型列表。 misc_object_catalog:场景中可复用的杂项对象类型列表。
  • 性能数据 数据类型为enodeb-pmmrf、gnodeb-pmmrf。 配置示例 配置说明 可以配置多个事件的字段,同步抽取保存到结果集合中。 表1 参数配置说明 参数 说明 Counter 一个字段抽取的配置信息。 name 结果集合中对应别名(csv中的列名)。 type 固定值为“string”。 value 原始值。 Value取值和配置模板中保持一致,如下图所示: 父主题: 附录 配置抽取文件模板
  • 错误码 接口响应消息的错误样例如下: { "error_code": xxxx,//错误码 "error_msg": xxxxx//错误说明} 错误码详情如表1所示。 表1 错误码详情 状态码 错误码 错误信息 描述 处理措施 400 CSBS.0001 Service over limit 备份策略数量达到上限。 请删除其他备份策略后重试。 400 CSBS.6000 server do not exist 云服务器不存在。 请确认云服务器是否存在。 400 CSBS.6001 The ECS has stopped 云服务器已终止。 请确认云服务器是否已终止。 400 CSBS.6003 Resource (%s) type (%s) is not support protection. 当前仅支持云服务器备份。 请选择云服务器加入备份策略。 400 CSBS.6005 Server (%s) is already in service. 云服务器在当前状态下不支持备份。 请确保云服务器状态正确后重试。 400 CSBS.6006 Server (%s) status (%s) is not allowed to protect. 该类型云服务器不支持备份。 请选择正确类型的云服务器。 400 CSBS.6007 No volume attached to the server (%s) for protect. 没有云硬盘的云服务器不支持备份。 请确认云服务器是否挂载硬盘。 400 CSBS.6010 Volume (%s) attached to server (%s) is shareable volume. 云服务器含有共享云硬盘,不支持备份。 请移除共享磁盘再执行备份。 400 CSBS.6013 Resource (%s) type (%s) is not support restoration. 当前仅支持云服务器恢复。 请选择云服务器执行恢复操作。 400 CSBS.6014 Volume(s) (%s) not found in target server. 指定的云硬盘没有挂载在待恢复云服务器下。 请选择挂载在待恢复云服务器中的盘执行恢复操作。 400 CSBS.6015 The server is restoring. 云服务器在当前状态下不支持恢复。 请确保云服务器状态正确后重试。 400 CSBS.9001 provider invalid 参数校验失败。 请检查输入的参数是否正确。 403 CSBS.9009 User is unverified. 用户未实名认证,请实名认证后重试。 请实名认证后重试。 400 CSBS.9009 The backup or replication space after reduction cannot be less than the used space. 申请减少后的备份或复制空间小于已使用空间。 请保持减少后的空间大于已使用空间。 500 CSBS.9998 System not support 服务暂不支持。 请等待一段时间后重试或联系技术支持。 500 CSBS.9999 %s failed 系统内部错误。 请等待一段时间后重试或联系技术支持。 400 CSBS.0002 Volume of services from different storagetype 服务器的卷来自于不同的存储类型。(目前已未使用) 请使用同一种类型的卷。 400 BackupService.4003 Your data has been migrated successfully. Go to the CBR console page for further operations. The current page will no longer provide services. 您已完成数据迁移,请前往新服务页面进行操作,当前页面将不再提供服务。 请前往CBR服务页面使用备份功能。 400 BackupService.4008 This service is available for existing users only. If you are new users, go to CBR Console to use Cloud Backup and Recovery. 该服务仅提供给存量用户使用,非本服务存量用户请前往云备份控制台使用云备份服务。 请前往CBR服务页面使用备份功能。 500 CSBS.1001 The policy is executing backup. 备份策略中有手动备份任务正在执行,无法执行本次备份任务。 请等待手动备份任务完成后,重新执行备份任务。 400 CSBS.2003 item in executing 所选备份副本正在备份、恢复或删除中。 请等待任务完成后重试。 400 CSBS.2004 item in plan executing 所选备份策略正在执行备份操作,请等待任务完成后重试。 请等待任务完成后重试。 404 CSBS.3001 Checkpoint_item (%s) is not found. 备份不存在。 请确认该备份是否存在。 500 CSBS.5001 copy executing 复制正在执行。 请等待复制完成后再执行。 400 CSBS.6027 The AZ where the resource (%s) is located does not support backup. 云服务器所在的可用分区不支持备份。 请联系管理员重新配置可用分区。 500 CSBS.6030 auto plan executing 备份策略中有自动备份任务正在执行,无法执行本次备份任务。 请等待自动备份任务完成后,重新执行备份任务。 400 CSBS.6031 manual copy executing 备份策略中有手动复制任务正在执行,无法执行本次复制任务。 请等待手动复制任务完成后,重新执行复制任务。 500 CSBS.6032 plan has no resource backup 备份策略中无可执行备份的云服务器。 请绑定云服务器,或等待已绑定的云服务器恢复可备份状态。 400 CSBS.6033 Service type of volume %s(belong to server %s) is dss. 不支持对挂载了专属存储类型磁盘的云服务器进行备份。 请确定云服务器是否挂载专属存储类型的磁盘。 400 CSBS.6034 Service type of volume %s(belong to server %s) is dess. 不支持对挂载了专属企业存储类型磁盘的云服务器进行备份。 请确定云服务器是否挂载专属企业存储类型的磁盘。 400 CSBS.6061 volume of server in this pod does not support backup 当前服务器不支持备份/恢复。 排除不支持备份的磁盘,再重新备份。 500 CSBS.8001 The backup status is not allowed to create image 备份在当前状态下不支持创建镜像。 请等待一段时间后重试或联系服务技术支持。 400 CSBS.8007 The backup {checkpoint_item_id} has register to image, can't be delete 当前备份已创建为镜像,无法删除。 请先删除对应的镜像后再删除备份。 500 CSBS.8008 The backup {checkpoint_item_id}'s status is not allowed query 备份状态无法查询。 备份状态无法查询,请确保该备份是否存在。 500 CSBS.8009 The backup has not system disk backup is not allowed to create image 备份没有系统盘,无法创建镜像。 请确认备份是否含有系统盘。 500 CSBS.8012 The destination region %(destination_region) is not supported. 不支持使用复制副本进行恢复。 请确认该副本是否为复制副本。 500 CSBS.8014 The policy is replicating to {region}. 当前策略正在执行复制,请稍候再试。 当前策略正在执行复制,请稍候再试。 500 CSBS.8015 Backup %(backup_id)s no need to replicate to %(region)s, the replication record status is: %(record_status)s. 当前备份正在复制或已经复制到目标区域。 当前备份正在复制或已经复制到目标区域,请确认。 400 CSBS.8017 Do not support replicate to the given project. 目标项目不具备复制权限,不支持复制到该项目。 目标项目不具备复制权限,不支持复制到该项目,请确认。 400 CSBS.8021 The checkpoint item %(backup_id)s not support replicate. item status: %(backup_status)s. 当前备份不是可用状态,不支持复制。 请确认当前备份状态。 500 CSBS.8022 The type of %(image_type)s for backup %(backup_id)s is not support replicate. 当前备份是复制而来,不支持复制。 请确认该备份是否由来自于复制。 500 CSBS.8023 Replication is not allowed, because the backup's resource type is not support. 当前备份的服务器不是弹性云服务器,不支持复制。 请确认该备份是否为弹性云服务器备份。 500 CSBS.8024 Replication is not allowed, because the resource of the backup does not contain any system disk. 当前备份的弹性云服务器不包含系统盘,不支持复制。 请确认当前备份云服务器是否含有系统盘。 500 CSBS.8025 Can not check replication of backup is exist in region or not. 无法检测当前备份是否已复制到目标区域,不支持复制。 请确认当前备份是否已复制到目标区域。 500 CSBS.8026 The project %s dec used capacity is %s, dec capacity is %s. 专属备份容量不足,不支持备份。 请确认专属备份容量是否充足。 500 CSBS.8026 volume backup is not supported replication. 云硬盘备份不支持跨区域复制 请确认该备份是否为云硬盘备份。 400 CSBS.9006 Quota exceeded for resources: %s 配额不足。 请联系管理员更改配额或删除不再使用的备份。 500 CSBS.1002 resource_in_protecting 所选云服务器正在备份中。(目前已未使用) 请等待备份任务完成后重试。 500 CSBS.2001 item in plan is executing 该备份策略中有正在执行的任务。(目前已未使用) 请等待任务完成后重试。 404 CSBS.3000 plan not found 备份策略不存在。 请确认备份策略是否存在。 500 CSBS.5001 Scheduel operation status can't be set unable 停止策略失败。 请确认备份策略状态。 400 CSBS.6004 Server (%s) is already in service. 云服务器已在备份策略中,不能再次加入备份策略。 请确认该云服务器是否已加入备份策略。 400 CSBS.9007 duplicate service name 备份策略名称已存在,请修改名称后重试。 请修改名称后重试。 500 CSBS.6028 Update backup or replication space failure. 获取配额信息失败。 请检查网络连接或联系技术支持。 400 CSBS.4000 checkpoint item not available 当前备份的状态不支持恢复。 请等待一段时间后重试或联系技术支持。 400 CSBS.6016 can not restore server type is not allow 该类型云服务器不支持恢复。 请选择正确类型的云服务器。 400 CSBS.6017 Can not find backup(s) (%s) in checkpoint item (%s). 指定的备份盘没有在指定的备份副本中。 请选择指定备份副本中的备份盘执行恢复操作。 400 CSBS.6018 Not assign backup(s) (%s) to volume(s), partial restore is not supported." 不支持部分恢复备份副本中的备份盘。 请指定备份副本中的所有备份盘执行恢复操作。 500 CSBS.6019 The source server (%s) type (%s) is not the same as the target server (%s) type (%s). 目标云服务器和原云服务器类型不一致。 请选择类型一致的目标云服务器执行恢复操作。 400 CSBS.6020 No volume attached to the server (%s) for restore. 没有云硬盘的云服务器不支持恢复。 请确认该云服务器是否挂载硬盘。 400 CSBS.6021 Volume (%s) attached to server (%s) is shareable volume. 不能将备份盘恢复到云服务器的共享云硬盘。 请将备份盘恢复到云服务器的非共享盘。 500 CSBS.6023 Can not restore data volume to system volume. server id is (%s). 不支持将备份的数据盘恢复到云服务器的系统盘。 请将备份的数据盘恢复到云服务器的数据盘。 400 CSBS.6024 Target volume (%s) size (%s) small than volume backup (%s) size (%s). 云服务器挂载的云硬盘的容量小于备份盘,不能执行恢复操作。 请将云服务器挂载盘的扩容后重试或将备份盘恢复到容量更大的挂载盘。 400 CSBS.6025 The AZ of local checkpoint item (%s) is not support to restore the resource (%s). 备份副本所在的可用分区和云服务器所在的可用分区之间不支持恢复。 请联系管理员重新配置可用分区。 400 CSBS.9008 Checkpoint Item Status Not Support Create VM 只有“可用”状态的备份才能创建云服务器。 请确认备份是否为可用状态。 404 CSBS.6040 task not found 执行删除操作的备份任务不存在。 请确认备份任务是否存在。 Karbor原生接口参考 http://developer.openstack.org/api-ref/data-protection-orchestration/v1/index.html 父主题: 附录