云服务器内容精选

  • 支持监控的服务列表 分类 服务 命名空间 维度 监控指标参考文档 计算 弹性云服务器 SYS.E CS Key:instance_id Value:云服务器ID 弹性云服务器的基础监控指标 弹性云服务器中操作系统监控 AGT.ECS Key:instance_id Value:云服务器ID Key:disk Value:磁盘 Key:mount_point Value:挂载点 Key:gpu Value:GPU Key:proc Value:进程 弹性云服务器操作系统监控的监控指标(安装Agent) 裸金属服务器 SERVICE.BMS Key:instance_id Value:云服务器ID 裸金属服务器操作系统监控的监控指标(安装Agent) 弹性伸缩 SYS.AS Key:AutoScalingGroup Value:弹性伸缩组的ID 弹性伸缩的监控指标说明 云手机服务器 SYS.CPH Key:instance_id Value:云手机服务器ID Key:cph_id Value:云手机ID Key:disk_name Value:磁盘名称 Key:gpu_index Value:GPU名称 云手机服务器的监控指标说明 函数工作流 服务 SYS.FunctionGraph Key:package-functionname Value:应用名-函数名 函数工作流服务的监控指标说明 存储 云硬盘(仅当挂载到云服务器时) SYS.EVS Key:disk_name Value:云服务器实例ID-盘符名(例如sda为盘符名) 云硬盘的监控指标说明 对象存储服务 SYS.OBS Key:bucket_name Value:桶名 Key:tenant_id Value:租户Id Key:api_name Value:接口 Key:http_code Value:HTTP返回码 Key:domain_name Value: 域名 对象存储服务监控指标说明 弹性文件服务 SYS.SFS Key:share_id Value:文件系统 弹性文件服务监控指标说明 云备份 SYS.CBR Key:instance_id Value:存储库名称/ID 云备份监控指标说明 云存储 网关 SYS.CSG Key:gateway_id Value:网关ID 云存储网关监控指标说明 弹性文件服务Turbo SYS.EFS Key:efs_instance_id Value:实例 SFS Turbo监控指标说明 网络 弹性公网IP和带宽 SYS.VPC Key:publicip_id Value:弹性公网IP ID Key:bandwidth_id Value:带宽ID 虚拟私有云的监控指标说明 弹性负载均衡 SYS.ELB Key:lbaas_pool_id Value:后端服务器组的ID Key:lbaas_instance_id Value:独享/共享型负载均衡器的ID Key:lbaas_listener_id Value:独享/共享型负载均衡监听器的ID 弹性负载均衡的监控指标说明 云专线 SYS.DCAAS Key:direct_connect_id Value:物理连接 Key:history_direct_connect_id Value:历史物理连接 Key:virtual_interface_id Value:虚拟接口 Key:virtual_gateway_id Value:虚拟网关 云专线的监控指标说明 虚拟专用网络 SYS.VPN Key:connection_id Value:VPN连接 虚拟专用网络的监控指标说明 NAT网关 SYS.NAT Key:nat_gateway_id Value:NAT网关实例标识 Key:vpc_nat_gateway_id Value:私网NAT实例标识 NAT网关的监控指标说明 企业路由器 SYS.ER Key:er_instance_id Value:企业路由器实例 Key:er_attachment_id Value:企业路由器连接 企业路由器的监控指标说明 云连接 SYS.CC Key:cloud_connect_id Value:云连接ID Key:bwp_id Value:带宽包ID Key:region_bandwidth_id Value:域间带宽ID 云连接的监控指标说明 全球加速 SYS.GA Key:ga_accelerator_id Value:全球加速实例的ID Key:ga_listener_id Value:全球加速监听器的ID Key:ga_source_pop Value:全球加速实例的接入点 Key:ga_destination_region Value:全球加速实例的目的区域 Key:ga_source_area Value:全球加速实例的接入大区 Key:ga_listener_region Value:全球加速监听器和目的区域 Key:ga_pop_listener Value:全球加速接入点和监听器 Key:ga_pop_region Value:全球加速接入点和目的区域 Key:ga_pop_listener_region Value:全球加速接入点、监听器和目的区域 Key:ga_source_destination_area Vaue:全球加速接入大区和目的大区 全球加速的监控指标说明 应用中间件 分布式消息服务 SYS.DMS 请参考右侧相关文档链接页面。 分布式消息服务Kafka版的监控指标 分布式消息服务RabbitMQ的监控指标 分布式消息服务RocketMQ版的监控指标 API网关 SYS.APIG Key:api_id Value:API API网关的监控指标说明 API专享版网关 SYS.APIC Key:instance_id Value:专享版API网关 Key:api_id Value:API API网关的监控指标说明 分布式缓存服务 SYS.DCS Key:dcs_instance_id Value:Redis实例 Key:dcs_cluster_redis_node Value:数据节点 Key:dcs_cluster_proxy_node Value:Redis3.0 Proxy集群实例Proxy节点 Key:dcs_cluster_proxy2_node Value:Redis4.0/Redis5.0 Proxy集群实例Proxy节点 Key:dcs_memcached_instance_id Value:Memcached实例 分布式缓存服务的监控指标说明 应用与 数据集成平台 SYS.ROMA 请参考右侧相关文档链接页面。 应用与数据集成平台的监控指标说明 数据库 关系型数据库 SYS.RDS 请参考右侧相关文档链接页面。 MySQL的监控指标说明 PostgreSQL的监控指标说明 SQL Server的监控指标说明 文档数据库 SYS.DDS Key:mongodb_node_id Value:文档数据库节点ID Key:mongodb_instance_id Value:文档数据库实例ID 文档数据库的监控指标说明 分布式数据库 中间件 SYS.DDMS Key:node_id Value:DDM节点 分布式数据库中间件的监控指标说明 云数据库 GaussDB NoSQL SYS.NoSQL 请参考右侧相关文档链接页面。 云数据库GaussDB(for Cassandra)的监控指标说明 云数据库GaussDB(for Mongo)的监控指标说明 云数据库GaussDB(for Influx)的监控指标说明 云数据库GaussDB(for Redis)的监控指标说明 云数据库GaussDB(for MySQL) SYS.GAUSSDB Key:gaussdb_mysql_instance_id Value:GaussDB(for MySQL)实例ID Key:gaussdb_mysql_node_id Value:GaussDB(for MySQL)实例节点ID Key:dbproxy_instance_id Value:GaussDB(for MySQL)Proxy实例ID Key:dbproxy_node_id Value:GaussDB(for MySQL)Proxy节点ID 云数据库GaussDB(for MySQL)的监控指标说明 云数据库 GaussDB SYS.GAUSSDBV5 Key:gaussdbv5_instance_id Value:GaussDB实例 Key:gaussdbv5_node_id Value:GaussDB节点 Key:gaussdbv5_component_id Value:GaussDB组件 云数据库 GaussDB的监控指标说明 数据复制服务 SYS.DRS Key:instance_id Value:数据复制服务实例ID 数据复制服务的监控指标说明 迁移 云数据迁移 SYS. CDM Key:instance_id Value:云数据迁移服务实例 云数据迁移的监控指标说明 大数据 数据仓库 服务 SYS.DWS Key:datastore_id Value:数据仓库集群ID Key:dws_instance_id Value:数据仓库节点ID 数据仓库服务的监控指标说明 云搜索服务 SYS.ES Key:cluster_id Value:集群id Key:instance_id Value:实例id 云搜索 服务的监控指标说明 数据湖探索 SYS. DLI Key:queue_id Value:队列 Key:flink_job_id Value:Flink作业 Key:elastic_resource_pool_id Value:弹性资源池 数据湖 探索的监控指标说明 数据接入服务 SYS.DAYU Key:stream_id Value:实时数据接入 数据接入服务的监控指标说明 表格存储服务 SYS.CloudTable Key:cluster_id Value:CloudTable集群ID Key:instance_name Value:CloudTable集群节点名称 HBase集群的监控指标说明 Doris集群的监控指标说明 ClickHouse集群的监控指标说明 人工智能 ModelArts SYS.ModelArts Key:service_id Value:在线服务ID Key:model_id Value:模型负载ID ModelArts的监控指标说明 图像搜索 服务 SYS.IS Key:instanceName Value:实例名称 图形搜索服务的监控指标说明 图像识别 SYS.IRS Key:call_of_interface Value:接口 图像识别的监控指标说明 人脸识别 SYS.FRS Key:call_of_api Value:接口 Key:face_set Value:人脸库 人脸识别的监控指标说明 自然语言处理 SYS.NLP Key:call_of_interface Value:接口 自然语言处理的监控指标说明 文字识别 SYS.OCR Key:call_of_interface Value:接口 文字识别的监控指标说明 图引擎服务 SYS.GES Key:instance_id Value:图引擎服务实例 图引擎服务的监控指标说明 语音交互 服务 SYS.SIS Key:interface Value:接口 语音交互服务的监控指标说明 人证核身 SYS.IVS Key:call_of_api Value:接口 人证核身的监控指标说明 安全与合规 Web应用防火墙 SYS.WAF Key:instance_id Value:独享引擎实例 Key:waf_instance_id Value:云模式实例 WAF监控指标说明 数据库安全服务 SYS.DBSS Key:audit_id Value:实例 数据库安全服务的监控指标说明 云防火墙 SYS.CFW Key:fw_instance_id Value:云防火墙实例 云防火墙的监控指标说明 DDoS防护 SYS.DDOS Key:zone_ip Value:防护IP Key:instance_id Value:实例ID DDoS防护的监控指标说明 云堡垒机 SYS.CBH Key:server_id Value:CBH实例ID 云 堡垒机 的监控指标说明 企业应用 应用与数据集成平台 ROMA Connect SYS.ROMA Key:kafka_groups Value:消费组 Key:kafka_groups_topics Value:队列 Key:kafka_groups_partitions Value:分区 应用与数据集成平台的监控指标说明 CDN与智能边缘 智能边缘小站 SYS.IES Key:site_id Value:边缘小站ID 智能边缘小站的监控指标说明 视频 视频直播 SYS.Live Key:domain Value:域名 视频直播的监控指标说明 管理与监管 消息通知 服务 SYS. SMN Key:topic_id Value:主题的ID 消息通知服务的监控指标说明 父主题: 附录
  • 错误码 当您调用API时,如果遇到“APIGW”开头的错误码,请参见API网关错误码进行处理。 错误码列表: 表1 v3错误码说明 状态码 错误码 说明 400 DBS.01010220 当前实例不是只读状态。 500 DBS.01010221 解除节点只读状态失败。 500 DBS.108000 服务器错误。 500 DBS.108002 服务器错误。 500 DBS.108005 服务器错误。 400 DBS.200001 参数错误。 404 DBS.200002 RDS实例不存在。 400 DBS.200004 参数错误。 500 DBS.200005 服务器错误。 400 DBS.200006 请求为空,请输入请求参数。 404 DBS.200008 请检查数据库,确认实例的虚拟机信息,找不到该实例的虚拟机信息。 403 DBS.200010 实例ID和用户ID可能为空,或者操作越权。 409 DBS.200011 该实例正在进行其它操作或该实例故障,无法执行该操作,请稍后重试。 404 DBS.200013 源实例不存在。 409 DBS.200019 该实例正在进行其他操作或该实例故障,无法执行该操作,请稍后重试。 400 DBS.200021 实例名非法。 409 DBS.200022 实例名称已存在。 400 DBS.200023 卷大小超出允许范围。 400 DBS.200024 Region非法。 400 DBS.200025 可用区取值非法。 400 DBS.200026 卷类型非法。 400 DBS.200027 卷大小不是10的整数倍。 400 DBS.200037 实例引擎版本不一致。 400 DBS.200038 当前实例数据库主备同步关系异常,无法执行该操作。 400 DBS.200039 当前实例主备同步延时大于5分钟,不允许此操作。 400 DBS.200040 不支持的数据库类型或版本。 400 DBS.200041 数据库版本非法。 400 DBS.200042 Datastore不存在。 400 DBS.200043 HA同步模式非法。 403 DBS.200044 访问资源不存在,或者无访问权限。 404 DBS.200045 RDS实例不存在。 413 DBS.200046 实例数量达到配额。 409 DBS.200047 该实例正在进行其它操作或该实例故障,无法执行该操作,请稍后重试。 400 DBS.200048 VPC id非法。 400 DBS.200049 子网的网络id非法。 404 DBS.200050 安全组不存在,或不属于该VPC。 400 DBS.200051 不合法的ha模式 400 DBS.200052 数据库root密码非法。 400 DBS.200053 所选规格不存在。 400 DBS.200054 所选规格非法。 400 DBS.200055 replica_of_id非法。 400 DBS.200056 节点个数达到最大值。 400 DBS.200062 数据库用户名非法。 400 DBS.200063 集群模式非法。 400 DBS.200076 实例或节点非正常状态。 400 DBS.200080 主备节点正在进行数据同步,请稍后重试。 400 DBS.200086 实例状态不允许做该操作。 400 DBS.200087 单个实例标签数量达到最大配额。 400 DBS.200098 该资源标签已存在。 400 DBS.200121 请选择不同于备机的可用区做迁移。 400 DBS.200203 查询实例失败。 500 DBS.200208 服务器错误。 400 DBS.200302 磁盘大小不是10的整数倍。 400 DBS.200303 扩容次数达到最大限制。 400 DBS.200306 扩容参数不合法。 400 DBS.200308 备机扩容后的大小不能超过主机。 400 DBS.200311 节点状态异常, 不允许扩容, 请联系技术服务处理。 409 DBS.200316 当前实例状态为存储空间满,不能进行该操作 409 DBS.200402 操作不合法。 400 DBS.200405 参数错误。 404 DBS.200408 节点信息填写错误。 400 DBS.200461 参数值超出范围。 404 DBS.200470 Region或可用区不存在。 404 DBS.200501 子网不存在,或不属于该VPC。 404 DBS.200503 VPC不存在,或不属于该用户。 400 DBS.200504 数据库版本非法。 400 DBS.200506 KMS非法。 400 DBS.200507 密钥失效或已删除。 400 DBS.200543 任务不存在。 404 DBS.200602 该实例不存在。 403 DBS.200604 实例ID和用户ID可能为空,或者操作越权。 403 DBS.200810 不能在只读实例中创建数据库。 403 DBS.200819 不能在只读实例中删除数据库用户。 500 DBS.200821 修改数据库用户权限失败 400 DBS.200823 数据库不存在 400 DBS.200824 数据库账号不存在 400 DBS.200825 不能在只读实例上修改权限操作。 409 DBS.200826 数据库名称已存在 409 DBS.200827 账号名称已存在。 409 DBS.200828 数据库内置账号,用户不可创建。 500 DBS.200835 删除数据库失败,数据库锁等待超时。 500 DBS.200811 创建数据库失败。 403 DBS.201003 访问资源不存在,或者无访问权限。 400 DBS.201006 参数错误。 404 DBS.201010 备份信息不存在。 400 DBS.201014 实例状态不允许做该操作。 404 DBS.201028 实例不存在或已删除。 400 DBS.201035 输入的数据库名重复或者输入的数据库名与目标库上的重复。 400 DBS.201041 带有外键的表不允许该操作 400 DBS.201101 备份周期非法。 400 DBS.201103 备份开始时间非法。 400 DBS.201106 保留天数非法。 409 DBS.201201 对象已存在。 409 DBS.201202 该实例正在进行其它操作或该实例故障,无法执行该操作,请稍后重试 400 DBS.201203 备份文件不存在。 409 DBS.201205 正在备份中,请稍等。 400 DBS.201207 不支持该数据库引擎或版本。 400 DBS.201208 备份状态不允许该操作。 404 DBS.212001 参数组不存在。 400 DBS.212002 参数组配额错误。 400 DBS.212003 不支持此操作。 400 DBS.212004 参数组更新错误。 400 DBS.212005 节点不属于组。 409 DBS.212006 该实例正在进行其它操作或该实例故障,无法执行该操作,请稍后重试。 400 DBS.212007 引擎不存在。 400 DBS.212008 不支持的引擎。 400 DBS.212009 任务处理失败。 400 DBS.212010 绑定正在执行。 400 DBS.212011 绑定失败。 400 DBS.212012 参数不存在。 404 DBS.212013 对象不存在。 400 DBS.212014 节点没有默认参数组。 400 DBS.212015 部分成功。 400 DBS.212016 参数更新失败。 400 DBS.212017 参数错误。 422 DBS.212019 请求中的参数或对象不能被正确识别。 400 DBS.212025 更新失败。 400 DBS.212030 参数错误。 400 DBS.212032 已被应用。 400 DBS.212037 参数设置不正确。 500 DBS.213002 请求处理失败。 500 DBS.213004 请求处理失败。 400 DBS.216028 内部资源配额不足。 400 DBS.280001 参数错误。 409 DBS.280011 该实例正在进行其它操作或该实例故障,无法执行该操作,请稍后重试。 403 DBS.280015 访问资源不存在,或者无访问权限。 403 DBS.280020 账户受限。 401 DBS.280058 当前用户没有操作权限,请通过 IAM 检查账户权限。 403 DBS.280056 Token非法。 404 DBS.280110 所选实例不存在。 400 DBS.280127 备份描述非法。 400 DBS.280128 数据库名不存在。 400 DBS.280204 输入参数不合法。 400 DBS.280214 备份不存在。 400 DBS.280216 备份开始时间非法。 400 DBS.280235 数据库类型非法 400 DBS.280237 Datastore为空。 400 DBS.280238 不支持的数据库类型或版本。 400 DBS.280239 所选规格非法。 400 DBS.280241 卷类型非法。 400 DBS.280242 卷大小超出允许范围。 400 DBS.280246 数据库root密码非法 400 DBS.280250 备份保留期非法。 400 DBS.280251 备份周期不合法。 400 DBS.280253 备份开始时间非法。 400 DBS.280262 Ha同步模式非法。 400 DBS.280270 参数不存在。 400 DBS.280271 参数值超出范围。 400 DBS.280272 新增tag存在重复的key。 404 DBS.280275 源实例不存在。 400 DBS.280277 备份名称非法。 400 DBS.280285 可用区取值非法 400 DBS.280288 规格非法 400 DBS.280311 存储空间大小非法 400 DBS.280325 硬盘信息不合法 400 DBS.280328 当前实例类型不支持此操作。 400 DBS.280342 集群模式非法 400 DBS.280364 数据库端口号无效 400 DBS.280402 Ha模式非法。 400 DBS.280404 实例ID非法。 409 DBS.280406 实例类型或状态受限,操作不允许。 400 DBS.280434 所选规格码非法。 400 DBS.280448 当前卷类型已售罄。 400 DBS.280449 不能对冻结的对象执行该操作。 400 DBS.280450 当前规格已售罄。 400 DBS.280457 协调节点数量非法。 400 DBS.280458 分片数量非法 400 DBS.280461 扩容分片数非法 400 DBS.280489 实例已关联DDM组件,请先在DDM界面删除。 400 DBS.280490 备份已关联DDM组件,请先在DDM界面删除。 400 DBS.280649 实例名长度非法。 400 DBS.280810 设置数据库用户读写权限失败,用户可能不存在,请检查配置。 400 DBS.280812 实例已处于该状态,请勿重复点击。 400 DBS.280813 当前实例存在大事务或DDL等场景,不能进行该操作。 400 DBS.280816 当前实例处于DRS迁移任务中,请稍后重试。 400 DBS.290000 参数错误。 400 DBS.290001 参数错误。 404 DBS.290002 所选规格不存在。 413 DBS.290003 实例数量达到配额。 404 DBS.290005 该实例不存在。 500 DBS.290006 请求处理失败。 404 DBS.290011 RDS实例不存在。 404 DBS.290013 未找到资源。 500 DBS.290015 请求处理失败。 400 DBS.301051 该实例不存在容灾关系。 400 DBS.301132 实例已经是停止状态。 400 DBS.301133 实例已经是开启状态。 父主题: 附录
  • 错误码说明 当您调用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值非法 使用正确的参数值
  • 错误码 当您调用API时,如果遇到“APIGW”开头的错误码,请参见API网关错误码进行处理。 状态码 错误码 错误信息 描述 处理措施 400 RTC.00001001 OperationUnauthorized: get DomainID fail please check X-Auth-Token or AK/SK SparkRTC服务收到的token中解析不到domainID,无法确认租户身份 检查调用API时使用的账号是否正确:如使用了错误的token 400 RTC.00001002 MalformedRequestBody: json parsing failed 请求体(json)解析错误 查看API文档,检查参数值填写是否符合规则 400 RTC.00001003 InvalidParameterValue 参数校验异常 查看API文档,检查参数值填写是否符合规则 400 RTC.00001004 InvalidParameterCombination 字段的组合错误 查看API文档,检查参数值填写是否符合规则 400 RTC.00001005 MissingParameter 参数未携带 查看API文档,检查参数值填写是否符合规则 400 RTC.00001006 JobRunning: job exists and is not over 任务存在且并未结束,外部携带的job_uniq_id重复 等待任务结束 400 RTC.00001007 JobExceed 任务数超过限制 请提交工单申请提升任务数上限 400 RTC.00001009 JobDone: task canceled or completed 任务已取消或者已完成 请检查携带参数是否正确 400 RTC.00001010 LayoutTemplateNotExist: layout template not exist under your app 合流的模板在该appid下不存在 请携带的布局模板ID是否正确 400 RTC.00001012 UnsupportRegion: rtc does not provide services in the region SparkRTC增值业务在该region不提供服务 请填写正确的region 400 RTC.00001013 RuleForbidenDelete: rule is associated with backup rule 该录制规则被关联了备份规则,禁止删除 请先提交工单申请解除备份规则的关联关系 400 RTC.00001016 AppDeactivation: app is stopped 应用已经被停止 请确认使用的RTC服务是否欠费 400 RTC.00001017 AppsExceed: app num exceed 可创建的应用数已达上限,默认最大支持20个应用 请提交工单申请提升应用数目上限 400 RTC.00001018 UrlUnaviailable: callback url is unaviailable URL地址不通,如租户设置的回调地址等 请携带正确的回调URL地址 400 RTC.00001019 RecordRuleExist: record rule of the app exists 录制规则已经存在 需要删除相关录制规则再进行后续操作 400 RTC.00001020 AppExist: app exists 此应用名已存在 账号下已存在此应用名的app,修改app_name创建新的应用 400 RTC.00001021 NoPermission: policy doesn't allow action to be performed 没有权限调用此API 请检查生成鉴权信息的账号是否配置了访问此API的权限 400 RTC.00001022 job is not initialized 任务未完成初始化,无法进行操作 请等待任务初始化完成 404 RTC.00001008 JobNotExist: job does not exist 任务不存在 请检查携带参数是否正确 404 RTC.00001011 RecordRuleNotExist: record rule not exist under your app 录制规则在该appid下不存在 请检查携带参数是否正确 404 RTC.00001014 BucketNotExisted: bucket does not exist 桶不存在 请检查携带参数是否正确 404 RTC.00001015 AppNotExist:app does not exist under your account 应用ID在该账号下不存在 请检查调用API时使用的账号是否正确;如使用了错误的token。 500 RTC.00002001 InternalError.GeneratorIDError ID生成组件故障 请提交工单联系运维人员处理 500 RTC.00002002 InternalError.DbErr 数据库操作故障 请提交工单联系运维人员处理 500 RTC.00002003 InternalError.Transcode4xxError 媒体处理 组件输入故障 请提交工单联系运维人员处理 500 RTC.00002004 InternalError.Transcode5xxError 媒体处理组件内部故障 请提交工单联系运维人员处理 500 RTC.00002005 InternalError.Live4xxError 录制组件输入故障 请提交工单联系运维人员处理 500 RTC.00002006 InternalError.Live5xxError 录制组件内部故障 请提交工单联系运维人员处理 父主题: 附录
  • 调用API获取项目ID 项目ID可通过调用查询项目列表API获取。 获取项目ID的接口为“GET https://{Endpoint}/v4/projects/”,其中{Endpoint}为需求管理的终端节点,可以从地区和终端节点获取。接口的认证鉴权请参见认证鉴权。 响应示例如下,其中projects下的“project_id”即为项目ID。 { "projects" : [ { "project_num_id" : 3183801, "project_id" : "41bd3eab86544863b8fc92ffcd35e3c8", "project_name" : "demo_project", "description" : "demo", "created_time" : 1576114296000, "updated_time" : 1576114296000, "project_type" : "xboard", "creator" : { "user_num_id" : 4097, "user_id" : "c4bd39f0573a436589714bedbcca8536", "user_name" : "modile_user", "domain_id" : "2489d8cbba804db8bcd35384685ff3ac", "domain_name" : "modile_user", "nick_name" : "Tom.M.Riddle" } } ], "total" : 10 }
  • 操作场景 登录Windows操作系统的弹性云服务器时,需使用密码方式登录。因此,用户需先根据创建弹性云服务器时使用的密钥文件,获取该弹性云服务器初始安装时系统生成的管理员密码(Administrator帐户或Cloudbase-init设置的帐户)。该密码为随机密码,安全性高,请放心使用。 请根据您的个人需求,通过管理控制台或API方式获取Windows弹性云服务器的初始密码,获取方法请参见本节内容。
  • 通过API方式获取密码 获取创建弹性云服务器时使用的私钥文件(.pem文件)。 设置调用接口的环境。 具体方法请参见《弹性云服务器接口参考》的“接口调用方法”。 获取密文密码。 调用获取密码的接口,获取密钥的公钥加密后的密文密码。该密文密码是通过RSA算法加密的。其中,URI格式为“GET /v2/{tenant_id}/servers/{server_id}/os-server-password”。 调用接口的具体方法请参见《弹性云服务器接口参考》的“Windows弹性云服务器获取密码(OpenStack)”章节。 解密密文密码。 通过创建云服务器时使用的密钥的私钥文件对4中获取的密文密码进行解密。 使用OpenSSL工具,执行以下命令,将密文密码转换为.key -nocrypt格式。 openssl pkcs8 -topk8 -inform PEM -outform DER -in rsa_pem.key -out pkcs8_der.key -nocrypt 调用Java类库org.bouncycastle.jce.provider.BouncyCastleProvider,使用密钥文件,编写代码解密密文。
  • 华为云用户授权书 作为华为云合作伙伴(以下简称“我们”),为了更好地向您提供代客操作服务(以下简称“服务”),需要您在华为云用户授权书(以下简称“本授权书”)项下就您账户的相关权限对我们进行授权。在最终同意本授权书前,请仔细阅读并理解华为云网站协议及本授权书内容。线上勾选“我已阅读并同意《华为云用户授权书》”选项将视为您对本授权书的同意,如您不同意授权,您将无法开通代客下单及运维等授权服务。如您后续需撤销授权或操作授权,可随时访问华为云账号中心。 本授权书仅适用于您和我们之间就您名下账户相关操作权限的授予,您对我们做出如下授权并同意如下事项: 一、授权范围及影响。 我们将可以以您的身份登录华为云客户账号中心、费用中心、资源中心、工单管理、消息中心、云服务控制台等模块。 您对我们授予如下您账户项下的操作权限: 管理您购买的华为云云资源。 新购、续订、退订、变更云服务等操作。 进行开机、关机、重启、删除云资源等操作。 重置云服务密码、修改云服务策略等操作。 查看您的账户、消费、订单、优惠和折扣、合同信息等操作。 您知悉并同意,上述所列授权的权限类型可能并不能完全涵盖我们出于为您提供服务之需求所需要的操作授权范围。 本授权书并不能取代或改变您基于华为云网站协议的相关权利义务,本授权书由您直接向我们做出,华为云不参与及承担您在本授权书项下的各项授权行为及后续影响。 您与我们之间因本授权书项下的各项授权行为产生的任何争议与纠纷,将依据我们之间的合同约定自行处理,华为云不承担任何责任。 二、授权更新及撤销。 本授权书可能适时更新,更新后的授权书您可以登录华为云账号中心查看。请您及时查看新的授权内容并了解最新的变化。如果您并未同意新的授权,请及时在华为云账号中心线上终止授权。 三、授权期限。 本授权书项下的授权期限从您确认并点击同意本授权书时开始,直至您在华为云账号中心线上终止该授权为止。 四、如何联系我们。 如果您有任何关于本授权书的疑问,可通过华为云账号中心联系我们。 父主题: 附录
  • 状态码 表1 状态码 状态码 编码 错误码说明 100 Continue 继续请求。 这个临时响应用来通知客户端,它的部分请求已经被服务器接收,且仍未被拒绝。 101 Switching Protocols 切换协议。只能切换到更高级的协议。 例如,切换到HTTP的新版本协议。 201 Created 创建类的请求完全成功。 202 Accepted 已经接受请求,但未处理完成。 203 Non-Authoritative Information 非授权信息,请求成功。 204 NoContent 请求完全成功,同时HTTP响应不包含响应体。 在响应OPTIONS方法的HTTP请求时返回此状态码。 205 Reset Content 重置内容,服务器处理成功。 206 Partial Content 服务器成功处理了部分GET请求。 300 Multiple Choices 多种选择。请求的资源可包括多个位置,相应可返回一个资源特征与地址的列表用于用户终端(例如:浏览器)选择。 301 Moved Permanently 永久移动,请求的资源已被永久的移动到新的URI,返回信息会包括新的URI。 302 Found 资源被临时移动。 303 See Other 查看其它地址。 使用GET和POST请求查看。 304 Not Modified 所请求的资源未修改,服务器返回此状态码时,不会返回任何资源。 305 Use Proxy 所请求的资源必须通过代理访问。 306 Unused 已经被废弃的HTTP状态码。 400 BadRequest 非法请求。 建议直接修改该请求,不要重试该请求。 401 Unauthorized 在客户端提供认证信息后,返回该状态码,表明服务端指出客户端所提供的认证信息不正确或非法。 402 Payment Required 保留请求。 403 Forbidden 请求被拒绝访问。 返回该状态码,表明请求能够到达服务端,且服务端能够理解用户请求,但是拒绝做更多的事情,因为该请求被设置为拒绝访问,建议直接修改该请求,不要重试该请求。 404 NotFound 所请求的资源不存在。 建议直接修改该请求,不要重试该请求。 405 MethodNotAllowed 请求中带有该资源不支持的方法。 建议直接修改该请求,不要重试该请求。 406 Not Acceptable 服务器无法根据客户端请求的内容特性完成请求。 407 Proxy Authentication Required 请求要求代理的身份认证,与401类似,但请求者应当使用代理进行授权。 408 Request Time-out 服务器等待请求时发生超时。 客户端可以随时再次提交该请求而无需进行任何更改。 409 Conflict 服务器在完成请求时发生冲突。 返回该状态码,表明客户端尝试创建的资源已经存在,或者由于冲突请求的更新操作不能被完成。 410 Gone 客户端请求的资源已经不存在。 返回该状态码,表明请求的资源已被永久删除。 411 Length Required 服务器无法处理客户端发送的不带Content-Length的请求信息。 412 Precondition Failed 未满足前提条件,服务器未满足请求者在请求中设置的其中一个前提条件。 413 Request Entity Too Large 由于请求的实体过大,服务器无法处理,因此拒绝请求。为防止客户端的连续请求,服务器可能会关闭连接。如果只是服务器暂时无法处理,则会包含一个Retry-After的响应信息。 414 Request-URI Too Large 请求的URI过长(URI通常为网址),服务器无法处理。 415 Unsupported Media Type 服务器无法处理请求附带的媒体格式。 416 Requested range not satisfiable 客户端请求的范围无效。 417 Expectation Failed 服务器无法满足Expect的请求头信息。 422 UnprocessableEntity 请求格式正确,但是由于含有语义错误,无法响应。 429 TooManyRequests 表明请求超出了客户端访问频率的限制或者服务端接收到多于它能处理的请求。建议客户端读取相应的Retry-After首部,然后等待该首部指出的时间后再重试。 500 InternalServerError 表明服务端能被请求访问到,但是不能理解用户的请求。 501 Not Implemented 服务器不支持请求的功能,无法完成请求。 502 Bad Gateway 充当网关或代理的服务器,从远端服务器接收到了一个无效的请求。 503 ServiceUnavailable 被请求的服务无效。 建议直接修改该请求,不要重试该请求。 504 ServerTimeout 请求在给定的时间内无法完成。客户端仅在为请求指定超时(Timeout)参数时会得到该响应。 505 HTTP Version not supported 服务器不支持请求的HTTP协议的版本,无法完成处理。 父主题: 附录
  • 状态码 状态码如表1所示 表1 状态码 状态码 编码 错误码说明 100 Continue 继续请求。 这个临时响应用来通知客户端,它的部分请求已经被服务器接收,且仍未被拒绝。 101 Switching Protocols 切换协议。只能切换到更高级的协议。 例如,切换到HTTP的新版本协议。 201 Created 创建类的请求完全成功。 202 Accepted 已经接受请求,但未处理完成。 203 Non-Authoritative Information 非授权信息,请求成功。 204 NoContent 请求完全成功,同时HTTP响应不包含响应体。 在响应OPTIONS方法的HTTP请求时返回此状态码。 205 Reset Content 重置内容,服务器处理成功。 206 Partial Content 服务器成功处理了部分GET请求。 300 Multiple Choices 多种选择。请求的资源可包括多个位置,相应可返回一个资源特征与地址的列表用于用户终端(例如:浏览器)选择。 301 Moved Permanently 永久移动,请求的资源已被永久的移动到新的URI,返回信息会包括新的URI。 302 Found 资源被临时移动。 303 See Other 查看其它地址。 使用GET和POST请求查看。 304 Not Modified 所请求的资源未修改,服务器返回此状态码时,不会返回任何资源。 305 Use Proxy 所请求的资源必须通过代理访问。 306 Unused 已经被废弃的HTTP状态码。 400 BadRequest 非法请求。 建议直接修改该请求,不要重试该请求。 401 Unauthorized 在客户端提供认证信息后,返回该状态码,表明服务端指出客户端所提供的认证信息不正确或非法。 402 Payment Required 保留请求。 403 Forbidden 请求被拒绝访问。 返回该状态码,表明请求能够到达服务端,且服务端能够理解用户请求,但是拒绝做更多的事情,因为该请求被设置为拒绝访问,建议直接修改该请求,不要重试该请求。 404 NotFound 所请求的资源不存在。 建议直接修改该请求,不要重试该请求。 405 MethodNotAllowed 请求中带有该资源不支持的方法。 建议直接修改该请求,不要重试该请求。 406 Not Acceptable 服务器无法根据客户端请求的内容特性完成请求。 407 Proxy Authentication Required 请求要求代理的身份认证,与401类似,但请求者应当使用代理进行授权。 408 Request Time-out 服务器等候请求时发生超时。 客户端可以随时再次提交该请求而无需进行任何更改。 409 Conflict 服务器在完成请求时发生冲突。 返回该状态码,表明客户端尝试创建的资源已经存在,或者由于冲突请求的更新操作不能被完成。 410 Gone 客户端请求的资源已经不存在。 返回该状态码,表明请求的资源已被永久删除。 411 Length Required 服务器无法处理客户端发送的不带Content-Length的请求信息。 412 Precondition Failed 未满足前提条件,服务器未满足请求者在请求中设置的其中一个前提条件。 413 Request Entity Too Large 由于请求的实体过大,服务器无法处理,因此拒绝请求。为防止客户端的连续请求,服务器可能会关闭连接。如果只是服务器暂时无法处理,则会包含一个Retry-After的响应信息。 414 Request-URI Too Large 请求的URI过长(URI通常为网址),服务器无法处理。 415 Unsupported Media Type 服务器无法处理请求附带的媒体格式。 416 Requested range not satisfiable 客户端请求的范围无效。 417 Expectation Failed 服务器无法满足Expect的请求头信息。 422 UnprocessableEntity 请求格式正确,但是由于含有语义错误,无法响应。 429 TooManyRequests 表明请求超出了客户端访问频率的限制或者服务端接收到多于它能处理的请求。建议客户端读取相应的Retry-After首部,然后等待该首部指出的时间后再重试。 500 InternalServerError 表明服务端能被请求访问到,但是不能理解用户的请求。 501 Not Implemented 服务器不支持请求的功能,无法完成请求。 502 Bad Gateway 充当网关或代理的服务器,从远端服务器接收到了一个无效的请求。 503 ServiceUnavailable 被请求的服务无效。 建议直接修改该请求,不要重试该请求。 504 ServerTimeout 请求在给定的时间内无法完成。客户端仅在为请求指定超时(Timeout)参数时会得到该响应。 505 HTTP Version not supported 服务器不支持请求的HTTP协议的版本,无法完成处理。 父主题: 附录
  • 调用API获取项目ID 项目ID可以通过调用查询指定条件下的项目列表API获取。 获取项目ID的接口为“GET https://{Endpoint}/v3/projects”,其中{Endpoint}为IAM的终端节点,可以从地区和终端节点获取。接口的认证鉴权请参见认证鉴权。 响应示例如下,其中projects下的“id”即为项目ID。 { "projects": [ { "domain_id": "65382450e8f64ac0870cd180d14e684b", "is_domain": false, "parent_id": "65382450e8f64ac0870cd180d14e684b", "name": "project_name", "description": "", "links": { "next": null, "previous": null, "self": "https://www.example.com/v3/projects/a4a5d4098fb4474fa22cd05f897d6b99" }, "id": "a4a5d4098fb4474fa22cd05f897d6b99", "enabled": true } ], "links": { "next": null, "previous": null, "self": "https://www.example.com/v3/projects" } }
  • 实例支持的APIC特性 若当前实例中无相关特性,可提交工单申请升级实例解决。 特性名称 特性描述 特性是否可配置 特性配置示例 特性配置参数 参数描述 参数默认值 参数范围 lts 是否支持SHUBAO访问日志上报功能。 是 {"name":"lts","enable":true,"config": "{\"group_id\": ",\"topic_id\":\"\",\"log_group\":\"\",\"log_stream\":\"\"}"} group_id 日志组ID。 - - topic_id 日志流ID。 - - log_group 日志组名称。 - - log_stream 日志流名称。 - - gateway_responses 是否支持网关自定义响应。 否 - - - - - ratelimit 是否支持自定义流控值。 是 {"name":"ratelimit","enable":true,"config": "{\"api_limits\": 500}"} api_limits API全局默认流控值。注意:如果配置过小会导致业务持续被流控,请根据业务谨慎修改。 200 次/秒 1-1000000 次/秒 request_body_size 是否支持指定最大请求Body大小。 是 {"name":"request_body_size","enable":true,"config": "104857600"} request_body_size 请求中允许携带的Body大小上限。 12 M 1-9536 M backend_timeout 是否支持配置后端API超时时间。 是 {"name":"backend_timeout","enable":true,"config": "{"max_timeout": 500}"} max_timeout APIC到后端服务的超时时间上限。 60000 ms 1-600000 ms app_token 是否开启app_token认证方式。 是 {"name":"app_token","enable":true,"config": "{\"enable\": \"on\", \"app_token_expire_time\": 3600, \"app_token_uri\": \"/v1/apigw/oauth2/token\", \"refresh_token_expire_time\": 7200}"} enable 是否开启。 off on/off app_token_expire_time access token的有效时间。 3600 s 1-72000 s refresh_token_expire_time refresh token的有效时间。 7200 s 1-72000 s app_token_uri 获取Token 的uri。 /v1/apigw/oauth2/token - app_token_key Token的加密Key。 - - app_basic 是否开启app_basic认证方式。 是 {"name":"app_basic","enable":true,"config": "on"} - - off on/off app_secret 是否支持app_secret认证方式。 是 {"name":"app_secret","enable":true,"config": "on"} - - off on/off backend_token_allow 是否支持普通租户透传Token到后端。 是 {"name":"backend_token_allow","enable":true,"config": "{\"backend_token_allow_users\": [\"paas_apig_username_01\"]}"} backend_token_allow_users 透传Token到后端普通租户白名单,匹配普通租户domain name正则表达式。 - - sign_basic 签名秘钥是否支持Basic类型。 否 - - - - - multi_auth API是否支持双重认证方式。 否 - - - - - backend_client_certificate 是否开启后端双向认证。 是 {"name":"backend_client_certificate","enable":true,"config": "{\"enable\": \"on\",\"ca\": \"\",\"content\": \"\",\"key\": \"\"}"} enable 是否开启。 off on/off ca 双向认证信任证书。 - - content 双向认证证书。 - - key 双向认证信任私钥。 - - ssl_ciphers 是否支持https加密套件。 是 {"name":"ssl_ciphers","enable":true,"config": "config": "{\"ssl_ciphers\": [\"ECDHE-ECDSA-AES256-GCM-SHA384\"]}"} ssl_ciphers 支持的加解密套件。ssl_ciphers数组中只允许出现默认值中的字符串,且数组不能为空。 - ECDHE-ECDSA-AES256-GCM-SHA384,ECDHE-RSA-AES256-GCM-SHA384,ECDHE-ECDSA-AES128-GCM-SHA256,ECDHE-RSA-AES128-GCM-SHA256,ECDHE-ECDSA-AES256-SHA384,ECDHE-RSA-AES256-SHA384,ECDHE-ECDSA-AES128-SHA256,ECDHE-RSA-AES128-SHA256 app_config 是否支持应用配置。 否 - - - - - green_tunnel 授权是否支持绿色通道。 否 - - - - - app_route 是否支持IP访问。 是 {"name":"app_route","enable":true,"config": "on"} - - off on/off default_group_hide 是否隐藏默认分组。注意:隐藏默认分组后不支持IP访问,如想使用IP访问,建议开启app_route配置。 是 {"name":"default_group_hide","enable":true,"config": "on"} - - off on/off cascade 是否开启级联功能。 是 {"name":"app_route","enable":true,"config": "{\"enable\": \"on\", \"cascade_auth_key\": \"abcdefabcdefabcdefabcdefabcdef11\", \"cascade_instance_ids\":\"104e4816-1e9c-4345-be3a-14528727d0e3\"}"} enable 是否开启级联功能。 off on/off cascade_auth_key 用于生成级联认证token的加密key。 - - cascade_instance_ids 级联时允许作为上级的实例ID。 - - sandbox 是否支持LDA函数沙箱配置。 是 {"name":"sandbox","enable":true,"config": "{\"max_cpu_time\": 30000, \"max_memory\": 1073741824}"} max_cpu_time 允许函数API中执行的CPU时间占用的最高时长。单位:毫秒。 60000 ms 1-1000000 ms max_memory 允许函数API中执行的内存大小。单位:字节。 256 M 1-9536 M livedata_config 是否支持后端服务自定义配置。同时存在sandbox和livedata_config时,优先使用livedata_config。 是 {"name":"sandbox","enable":true,"config": "{\"max_cpu_time\": 30000, \"max_memory\": 1073741824, \"max_memory\": 1073741824, \"dataapi_return_type\": \"no_string\", \"gw_address_protocol\": \"http\", \"livedata_env\": \"offline\",\"procedure_async\": \"off\"}"} max_cpu_time 允许函数API中执行的CPU时间占用的最高时长。单位:毫秒。 60000 ms 1-1000000 ms max_memory 允许函数API中执行的内存大小。单位:字节。 256 M 1-9536 M livedata_env 自定义后端的运行模式,设置为online时,自定义后端API将会按照线上格式返回。 online online/offline gw_address_protocol DICT:gw_rest_float_addr变量中使用的默认请求协议。 none http/https/none procedure_async 存储过程是否使用异步执行。 off on/off dataapi_return_type 数据API的返回格式。 no_string string/no_string real_ip_from_xff 是否使用X-Forwarded-For头中的IP作为ACL、流控的判断依据。 是 {"name": "real_ip_from_xff","enable": true,"config": {"enable": "on","xff_index": -1}} enable 是否开启。 off on/off xff_index X-Forwarded-For头中IP的排序序号,值允许为正数、负数、0。 值为0或正数时,获取X-Forwarded-For头中对应索引的IP。 值为负数时,按倒序方式从X-Forwarded-For头中获取IP。 例如到达API网关的X-Forwarded-For头中依次有IP1,IP2,IP3三个IP地址,xff_index取0时获取IP1,xff_index取1时获取IP2,xff_index取-1时获取IP3,xff_index取-2时获取IP2。 -1 int32有效值 apiclient_first_use_x_hw_id 自定义后端的ApiClient类是否优先使用X-HW-ID字段进行校验。 是 {"name":"apiclient_first_use_x_hw_id","enable":true,"config": "on"} - - off on/off custom_log 是否支持自定义日志功能。 是 {"name":"custom_log","enable":true,"config": "{\"custom_logs\":[{\"location\":\"header\",\"name\":\"test\"},{\"location\":\"query\",\"name\":\"x-query-test001\"}]}"} custom_logs 自定义日志中要打印参数的集合,数量不超过10个。 - - location 参数位置。 - header/query/cookie name 参数名称。 - - real_ip_header_getter 是否开启用户自定义Header获取源IP地址,作为访问控制、流控策略的源IP生效依据。 是 {"name":"real_ip_header_getter","enable":true,"config": "{\"enable\": \"on\",\"header_getter\": \"header:testIP\"}"} enable 是否开启。 off on/off header_getter 获取用户源IP地址的自定义Header。 - - vpc_name_modifiable 负载通道名称是否支持修改。 是 {"name":"vpc_name_modifiable","enable":true,"config": "on"} - - on on/off default_group_host_trustlist DEFAULT分组中的API是否支持非本实例IP访问。 是 {"name":"default_group_host_trustlist","enable":true,"config": "{\"enable\":\"on\",\"hosts\":[\"123.2.2.2\",\"202.2.2.2\"]}"} enable 是否开启。 off on/off hosts 非本实例IP列表。 - - data_api_column_types_converted_to_string 数据后端是否支持数据列类型转换String类型。 是 {"name": "data_api_column_types_converted_to_string", "enable": true, "config": "{\"enable\":\"on\",\"column_types\":[\"nvarchar2\"]}"} enable 是否开启。 off on/off column_types 数据列类型列表:勾选要转换String类型的数据列类型,当前仅支持nvarchar2类型。 - - sse_strategy 是否支持sse传输策略开关。 是 { "name": "sse_strategy", "enable": true, "config": "on" } - - off on/off request_custom_config 支持自定义配置客户端请求相关参数。 是 { "name": "request_custom_config", "enable": true, "config": "{\"http2\":\"on\",\"client_body_timeout\":10}" } http2 HTTP/2协议的开关。 on on/off client_body_timeout 客户端请求体超时时间。 8 秒 1-60 秒 api_uri_no_escape API中请求path的请求参数是否支持不转义 是 {"name":"api_uri_no_escape","enable":true,"config":""} enable 是否开启 false true/false 父主题: 附录
  • 限制条件 挂载OBS时有如下限制: 创建Pod时需要添加annotations字段:obssidecar-injector-webhook/inject: 'true'。 obssidecar-injector-webhook/inject: 'true' : 表示挂载OBS需要创建obssidecar容器。 挂载obs并行文件系统时,obssidecar容器需预留一定内存以保障业务可靠性,防止容器因资源不足异常退出。当业务容器挂载单个obs并行文件系统时,CPU和内存规格建议配置如下: "obssidecar-injector-webhook/cpu": "500m", "obssidecar-injector-webhook/memory": "1024Mi" 当业务容器挂载多个obs并行文件系统时,相应CPU和内存规格逐倍增加。 obssidecar-injector-webhook/cpu: 表示obssidecar容器cpu规格。 obssidecar-injector-webhook/memory: 表示obssidecar容器memory规格。 挂载obs并行文件系统时,可指定挂载的umask来限制文件或目录权限。 obssidecar-injector-webhook/umask:表示obssidecar容器挂载时的权限掩码。
  • 调用API获取项目ID 项目ID还用通过调用查询指定条件下的项目信息API获取。 获取项目ID的接口为“GET https://{Endpoint}/v3/projects”,其中{Endpoint}为IAM的终端节点,可以从地区和终端节点获取。接口的认证鉴权请参见认证鉴权。 响应示例如下,例如VIS部署的区域为"cn-north-4",相应消息体中查找“name”为"cn-north-4",其中projects下的“id”即为项目ID。 { "projects": [ { "domain_id": "65382450e8f64ac0870cd180d14e684b", "is_domain": false, "parent_id": "65382450e8f64ac0870cd180d14e684b", "name": "cn-north-4", "description": "", "links": { "next": null, "previous": null, "self": "https://www.example.com/v3/projects/a4a5d4098fb4474fa22cd05f897d6b99" }, "id": "a4a5d4098fb4474fa22cd05f897d6b99", "enabled": true } ], "links": { "next": null, "previous": null, "self": "https://www.example.com/v3/projects" } }
  • 从控制台获取项目ID 登录管理控制台。 鼠标移动到右上角的用户名上,在下拉列表中选择“我的凭证”。 在“我的凭证”页面,可以查看用户名、账号名,在项目列表中查看项目ID。 图1 查看账号ID/项目ID 单击“管理访问密钥”,可以查看已添加的访问密钥ID(Access Key ID,AK)。 如果没有AK/SK,可单击“新增访问密钥”来添加。 如果已生成过AK/SK,找到原来已下载的AK/SK文件,文件名一般为:credentials.csv。