云服务器内容精选

  • 配置流程 消息订阅的配置流程,如图1所示。 图1 消息订阅配置流程图 创建消息主题:在 消息通知 服务控制台新建消息主题,用于消息发送和订阅通知。 添加订阅:将消息主题添加到订阅中接收发布至主题的消息,在订阅主题且确认订阅后,终端节点能够接收到向该主题发布的所有消息。 设置主题策略:授权直播服务可对该主题发布消息。 配置直播消息订阅:在直播控制台配置消息订阅,在直播推流开始和结束,以及录制时收到对应的消息通知。
  • 录制通知消息模板 录制通知的消息模板如下所示,消息中各字段说明如表3所示。 Live Record Notify, domain: {domain}, app_name: {app_name}, stream_name: {stream_name}, download_url: {download_url}, filename: {filename},asset_id: {asset_id}, duration: {duration}, event: {event}, timestamp: {timestamp} 表3 RecordNotifyTemplate字段说明 字段 描述 domain 推流 域名 。 app_name 应用名称,与推流地址中的AppName保持一致。 stream_name 直播流名称。 download_url 录制文件的下载地址,当event的值不为RECORD_NEW_FILE时,该字段为空。 filename 录制文件的名称,当event的值不为RECORD_NEW_FILE时,该字段为空。 asset_id 录制文件的媒资ID,点播服务分配给该录制文件的唯一标识,当event的值不为RECORD_NEW_FILE时,该字段为空。 duration 录制文件的时长,当event的值不为RECORD_NEW_FILE时,该字段为0。 event 录制事件,包括: RECORD_START: 录制任务开始。 RECORD_NEW_FILE:产生新的录制文件。 RECORD_OVER:录制任务结束。 RECORD_FAIL:录制任务失败。 timestamp 录制时间戳。
  • 调用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": "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" } }
  • 状态码 状态码如表1所示: 表1 状态码 状态码 编码 错误码说明 100 Continue 继续请求。 这个临时响应用来通知客户端,它的部分请求已经被服务器接收,且仍未被拒绝。 101 Switching Protocols 切换协议。只能切换到更高级的协议。 例如,切换到HTTP的新版本协议。 200 OK 请求成功。 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": "65382450e8f64ac0870cd180d...", "is_domain": false, "parent_id": "65382450e8f64ac0870cd180d1...", "name": "cn-north-4", "description": "", "links": { "next": null, "previous": null, "self": "https://www.example.com/v3/projects/a4a5d4098fb4474fa22cd0..." }, "id": "a4a5d4098fb4474fa22cd05f897xxxx", "enabled": true } ], "links": { "next": null, "previous": null, "self": "https://www.example.com/v3/projects" } }
  • 状态码 状态码如表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协议的版本,无法完成处理。 父主题: 附录
  • 创建桶 如果合作伙伴的客户购买中国站的产品,需要实名认证,过程中需要把客户的实名认证附件上传给华为云审核,此时伙伴需创建桶用于存放伙伴上传的实名认证附件。 您可以通过OBS(Object Storage Service,即 对象存储服务 )管理控制台创建桶。桶是OBS中存储对象的容器。您需要先创建一个桶,然后才能在OBS中存储数据。如何创建桶请参见创建桶。 因合作伙伴账号无法购买资源,创建桶时请使用普通华为云账号登录后创建桶。 如果伙伴想更换桶,需要先进入修改配置页面,关闭实名认证附件上传开关和取消所有文件订阅,然后再修改配置页面增加新桶的配置。 不同的伙伴不能共用同一个桶。 仅支持使用在华为云中国站点购买的OBS桶。 创建桶时请勿开启默认加密。若勾选开启,上传到桶中的对象都会被加密,KMS密钥会默认选中“obs/default”,桶内存储文件将无法下载。 父主题: 附录
  • 错误码说明 表1 错误码 状态码 错误码 错误码信息 错误码描述 200 CBC.0000 Success. 成功。 403 CBC.0150 Access denied. The customer does not belong to the website you are now at. 访问拒接,不是本站点客户。 400 CBC.18000016 Insufficient permissions. Contact your associated partner. 权限不足,请联系您的合作伙伴。 400 CBC.18000048 Too many independent accounting members. Specify a member account for query. 您名下的财务独立子,超过系统可支持查询的数量,请指定企业子账号查询。 200 CBC.3002 The resource has been locked. 资源被锁定。 200 CBC.3006 Unsupported cloud service type. 云服务类型不支持。 200 CBC.3016 Expired resources exist. 存在过期资源。 200 CBC.30050007 It is not a primary resource, and the renewal quotation is not allowed. 资源非主资源,不允许续费询价。 200 CBC.30050008 The period type or number of periods for the resource does not exist. 资源不存在对应的的周期类型或周期数。 200 CBC.30050009 The resources do not exist or has been deleted due to expiration. 资源已过期删除或不存在。 200 CBC.30050010 This operation is not allowed because some resources are included in the unpaid orders. 当前操作的资源中,有资源包含在您的待支付的订单,不能进行当前操作。 200 CBC.30050011 The resources are being unsubscribed from or changed. 资源正在退订或者变更。 200 CBC.30050013 The product cannot be renewed. 该产品不支持续费。 200 CBC.3106 The order status has changed and no payment can be made. 订单状态已发生变更,不能进行支付操作。 200 CBC.3112 The coupon or stored-value card has been used. 优惠券或储值卡已被使用。 200 CBC.3124 Resources have been unsubscribed from. 资源已经退订。 200 CBC.3144 Operation not supported. There is an order in progress for this resource. 资源有处理中的订单,不能进行当前操作。 200 CBC.3128 The resource does not have renewed periods or its renewed periods have taken effect, and the renewal periods cannot be unsubscribed from. 资源无已续费周期或续费周期已生效,不支持退订续费周期。 200 CBC.3141 Cloud service quota or capacity is insufficient, or the resource specifications have changed. 云服务配额或容量不足或规格发生变化。 200 CBC.3155 Insufficient enterprise project fund quota, or invalid project. 企业项目资金配额不足/项目不可用。 200 CBC.3162 The add-on package you purchased does not meet payment requirements. 您购买的加油包不满足支付条件。 200 CBC.3185 The cloud service can only be unsubscribed from as a whole. 云服务必须整体退订。 200 CBC.3605 Automaticrenewal has been canceled and you cannnot perform the current operation. 自动续费已取消,不可进行当前操作。 200 CBC.3638 Subscription to bandwidth add-on packages cannot be renewed. 带宽加油包不能续费。 200 CBC.3640 Bandwidth add-on packages cannot be unsubscribed from. 有加油包的资源,不能退订。 200 CBC.5005 The customer is being authenticated by HUAWEI CLOUD. 该客户正在华为云系统认证。 200 CBC.50000034 Coupons cannot be issued to the enterprise member account. 无法给财务托管企业子发券。 200 CBC.50000045 No frequent operations are allowed for the same coupon quota. 不能对同一个代金券额度进行频繁操作。上一次的代金券额度划拨正在进行中,不允许并行划拨,待结束后再进行下一次操作。 200 CBC.5006 The customer type (individual/enterprise) is different from the customer type stored in HUAWEI CLOUD. 客户类型(个人/企业)和华为云系统存储的客户类型不同。 200 CBC.5007 The subscribed products must belong to the same region. 订购产品必须属于同一个区域。 200 CBC.5008 The quota value exceeds the limit that can be set by the partner. quota值超出合作伙伴可设置的限额。 200 CBC.5009 The partner does not have the permission to modify or query the quota. 合作伙伴无修改和查询quota的权限。 200 CBC.5020 Partial failure. 部分失败。 200 CBC.5021 Coupons cannot be issued or recycled to customers associated to the partner in Referral mode. 顾问销售模式下不能给客户调账和回收。 200 CBC.5023 The account type does not match the association type. 账户类型与合作伙伴关联类型不匹配。 200 CBC.5024 This API cannot be invoked because the association type of the customer is incorrect. 客户的关联类型不允许调用该接口。 200 CBC.5041 Resources in this order have been unsubscribed. 该订单中的资源已经退订。 200 CBC.5042 Resources cannot be found. 资源无法找到。 200 CBC.6001 Required param resource id or riInstanceId is null or empty. 资源ID或者预留实例ID为空。 200 CBC.6055 Calculate result exceeds max value. 询价结果超过金额最大限制。 200 CBC.6006 The required product cannot be found. 找不到您询价的产品。 400 CBC.0100 parameter error. 输入参数校验失败。 400 CBC.0101 Invalid parameter. 参数无效。 400 CBC.18000014 Inactive Cost Management. 未开通成本中心。 400 CBC.18000053 Insufficient permissions. Contact your enterprise master. 权限不足,请联系您的企业主。 500 CBC.30000010 Invalid order (maybe the order does not exist), unable to operate. 无效订单(可能是订单不存在),不能进行操作。 400 CBC.30000067 Unsubscription not supported. This resource has been deleted or the subscription to this resource has not been synchronized to CBC. 资源已被删除或者资源未被纳管,不支持退订。 400 CBC.30000052 The resource or account has been already frozen. 已冻结,不能执行此操作。 400 CBC.30010001 Auto-renewal not supported. Selected resources no longer available. 您所购买的产品已下架,不支持自动续费。 400 CBC.30010035 resource deleted. 资源已被删除。 400 CBC.30010036 Renewal is only supported for primary resources. 续费的资源非主资源,不允许续费。 400 CBC.30010069 The renewal period does not exist. 不存在的续费周期。 400 CBC.30050006 Automatic order payment failed. 订单自动支付失败。 400 CBC.30050012 Duplicate resource ID. 存在重复的资源ID。 400 CBC.5001 You has not been a partner. 非合作伙伴。 400 CBC.5002 The customer does not exist. 合作伙伴的客户不存在。 400 CBC.5003 Insufficient balance. 余额不足。 400 CBC.5004 You do not have the operation permission to the customer. 无对该客户的操作权限。 400 CBC.5037 The invoice amount is zero. 无可开票金额。 400 CBC.50000020 The coupon can only be allocated to the specified recipient. 该代金券只适用于指定客户。 400 CBC.50000021 The recipient specified for the quota is not a customer of the tier-2 reseller. 此额度的指定客户不是该二级经销商的子客户。 200 CBC.50000053 Unfreezing customer account failed. Selected object and the frozen object do not match. 解冻类型与客户实际的冻结类型不一致,解冻客户账号失败。 400 CBC.50010059 Customer association not supported for distributors. 一级经销商不允许关联子客户。 400 CBC.50010065 Customer association not allowed. This partner is a Huawei Cloud reseller, and its associated distributor has already been disenrolled. 该伙伴是云经销商,其关联的总经销商已经摘牌退出,无法拓客创建关联关系。 400 CBC.50010085 Customer association not allowed. The account of this partner has been restricted. 该伙伴企业目前处于受限状态,无法拓客创建关联关系。 400 CBC.50010086 Customer association not allowed. This partner is a Huawei Cloud reseller, and the account of its associated distributor has been restricted. 该伙伴是云经销商,其关联的总经销商企业目前处于受限状态,无法拓客创建关联关系。 400 CBC.50010105 Failed to allocate a coupon quota to the reseller who is withdrawing from the Distribution Partner Program. 无法给退出中的云经销商发放代金券额度 200 CBC.70300007 Account frozen. To change the frozen scope, unfreeze the account first. 已冻结账号,想更改冻结类型,需先解冻,再重新进行冻结操作。 400 CBC.70600026 Huawei Cloud cannot review the information you submitted for real-name authentication. Contact your account manager. 抱歉,华为云暂无法审核您提交的实名认证信息,请联系您的客户经理协助。 400 CBC.7151 Expired verification code. 验证码失效。 400 CBC.7152 Incorrect verification code. 验证码错误。 400 CBC.7188 The customer has passed real-name authentication or is being reviewed. 该客户已经实名认证或者实名认证在审核中。 400 CBC.7191 The number of real-name authentication times of the customer exceeds the upper limit. 客户实名认证次数超过最大配置值。 400 CBC.7202 Real-name authentication failed. 实名认证校验失败。 400 CBC.7219 Real-name authentication information does not match the facial image. 实名认证信息与人脸不匹配。 400 CBC.7253 The picture of the ID card is invalid or blurred. 无效的证件照或者证件照模糊。 400 CBC.7255 The ID information or mobile number is incorrect. 持卡人身份信息或手机号输入不正确。 400 CBC.7256 The legal entity information is incorrect. 法人信息不正确。 400 CBC.7257 The enterprise information is incorrect. 企业信息不正确。 400 CBC.7258 The bank card status is incorrect. The bank card may be frozen or expired. 银行卡状态不正确(可能是冻结或过期的银行卡)。 400 CBC.7259 If you use a card issued by the Bank of Communications, Beijing Bank, Bank of Shanghai, Guangdong Development Bank, Shanghai Pudong Development Bank, or Ping An Bank to perform real-name authentication, you must subscribe to UnionPay online payment for the card first. 银行卡未开通认证支付(若您使用交通银行、北京银行、上海银行、广发银行、浦发银行或平安银行的银行卡进行个人实名认证,需要先开通此银行卡的银联在线支付)。 400 CBC.7261 The bank card is not supported. Try another bank card. 不支持该银行卡,请尝试其他银行卡。 400 CBC.7265 You are a partner and cannot be authenticated as an individual using your real name. 您是合作伙伴,不允许实名实名认证为个人。 400 CBC.7267 The member account is being associated with a master account and cannot perform real-name authentication again. 企业子账号正在被邀请关联,不允许重新实名认证。 400 CBC.8003 The customer has a negative consumption bill cycle or order is not included in the billing bill cycle or order set. 客户有负向消费的账期或订单未包含在本次开票账期或订单集合内。 400 CBC.8007 Marketplace does not support billing by bill cycle. 云商店开票不支持按账期开票。 400 CBC.8008 Invoices are issued based on orders. The request contains multiple same orders (reserved). 按订单开票,请求中存在多个相同的订单(预留)。 400 CBC.8009 Invoices are issued by bill cycle. The request contains multiple same bill cycles. 按账期开票,请求中存在多个相同的账期。 400 CBC.8012 The invoice remarks or enterprise registration address contains characters that cannot be parsed by the GBK. 发票备注或企业注册地址中包含gbk无法解析的字符。 400 CBC.8016 The billing amount of an electronic invoice cannot exceed US$1 million. 电子票的开票金额不得高于100万。 400 CBC.8202 The invoice cloud is not interconnected. Electronic invoices cannot be issued. 未对接发票云,暂不支持开具电子发票。 400 CBC.8207 Inaccurate billed amount 开票金额不正确。 400 CBC.8210 The actual invoicing amount cannot be greater than the permitted invoicing amount. 开票金额不能大于实际可开票金额。 400 CBC.8211 The actual invoicing account cannot be greater than the permitted invoicing account. 开票金额小于最低可开票金额。 400 CBC.8214 The subscriber account is locked. 用户账号已被冻结。 400 CBC.8215 3: Real-name authentication failed. 用户实名认证失败。 400 CBC.8216 Individual invoices cannot be issued as special invoices. 个人发票不允许开专票。 400 CBC.8217 * Lessor Taxpayer Identification Number (Uniform Social Credit Code) 纳税人识别号或统一社会信用代码校验失败。 400 CBC.8218 Invoices are issued by order. The order list is empty or the number of orders exceeds the maximum (reserved). 按订单开票,订单列表为空或者超过最大条数(预留)。 400 CBC.8224 Postpaid users cannot be billed by order on HUAWEI CLOUD. 后付费用户华为云开票不支持按订单开票。 400 CBC.8232 Value added tax (VAT) special invoices cannot be issued for E-invoices. 电子发票不可开具增值税普通发票。 400 CBC.99000000 You do not have the operation permission to the customer. 无对该客户的操作权限。 400 CBC.99000004 An exception occurred when the customer authorized rights to the partner. 客户向伙伴授权时发生异常。 400 CBC.99000006 The record ID of the record to be updated does not exist. 要查询/更新的记录ID不存在。 400 CBC.99000011 Set commercial discounts 设置折扣失败。 400 CBC.99000012 The quota does not exist or the quota status is incorrect. 额度不存在或者额度状态不正确。 400 CBC.99000013 Specifies the preference amount. 优惠券额度不足。 400 CBC.99000014 The coupon cannot be sent to customers of this cooperation type. 该券不能发给该合作类型的客户。 400 CBC.99000015 Issue coupons failed. The status of the quota does not support coupon allocation. 此状态的额度不支持发放。 400 CBC.99000016 The customer does not exist or is not a customer of the partner. 该子客户不存在或者不是该伙伴子客户。 400 CBC.99000017 The quota has not taken effect or has expired. 额度未生效或者已过期。 400 CBC.99000018 The maximum value cannot be smaller than the minimum value. 券面值不得小于最小值。 400 CBC.99000019 The minimum value cannot be greater than the maximum value. 券面值不得大于最大值。 200 CBC.99000020 The number of customers exceeds the license limit. 券数量超过最大限制。 200 CBC.99000021 The total face value of coupons cannot exceed the total face value. 券总面值不允许超过总面值。 400 CBC.99000022 The coupon can be sent only to the associated customer for the first time. 该券只能发给首次关联的子客户。 400 CBC.99000023 The cloud service limit or product limit of the coupon exceeds the limit. 券的云服务限制、产品限制超出额度的限制。 400 CBC.99000024 The coupon usage limit (subscription type list) is not within the limit range. 券的使用限制条件配置(订购类型列表),不在额度配置的限制条件范围内。 400 CBC.99000025 This type of partners cannot issue coupons to themselves. 该类伙伴不能给自己发券。 400 CBC.99000026 Incorrect verification code. 验证码错误。 400 CBC.99000027 Expired verification code. 验证码过期。 400 CBC.99000029 The mobile number already exists. 手机号码已存在。 400 CBC.99000030 The mobile number exceeds the limit. 手机号码超出限制。 400 CBC.99000031 Invalid DomainName. DomainName无效。 400 CBC.99000034 Currently, registration with HUAWEI CLOUD is not available to users in this country. 目前不支持该国家客户注册华为云。 400 CBC.99000035 This customer has not been associated with you. 非合作伙伴子客户。 400 CBC.99000036 Invalid password. 客户密码格式不合法。 400 CBC.99000037 You do not have the permission to operate this Huawei Cloud reseller. 您没有操作该云经销商的权限。 400 CBC.99000038 The account name already exists. 客户登录名已经存在。 400 CBC.99000039 xAccountId exists. xaccountId重复。 400 CBC.99000041 Only the unified discount can be queried. 只支持查询统一折扣。 400 CBC.99000043 Business owner fails to grant/recover to business subcustomer. 企业主账号向企业子账号拨款/回收失败。 400 CBC.99000045 Coupons sent to referral customers cannot be reclaimed. 不能回收发给顾问销售子客户的券。 400 CBC.99000046 Insufficient budget. 预算不足。 400 CBC.99000047 Balances account not exist 账户不存在。 400 CBC.99000048 The coupon has expired or has been recycled. 该券已经过期或者已经被回收。 400 CBC.99000049 BindType can not be resale. 转售子客户无账户余额。 400 CBC.99000051 Customer creation failed because this mobile number or email address has been preregistered by Huawei. 该手机号/邮箱已被华为报备,无法创建客户。 400 CBC.99000082 You have exceeded the maximum verification code requests allowed. 客户发送验证码次数超过限制。 400 CBC.99000088 We have received your payment and it is currently being processed. Please do not attempt to make the payment again. 抱歉,支付处理中,请勿重复操作。 400 CBC.99000089 The current operation can only be performed on combined orders. 抱歉,当前订单号不能操作,请使用组合交易单号操作。 400 CBC.99000092 Incorrect subscription period. 订购周期校验失败。 400 CBC.99003004 The resource has dependencies. 资源存在依赖。 400 CBC.99003012 The resource ID does not exist. 资源ID不存在。 400 CBC.99003016 The resources have expired and been deleted or do not exist. 资源已过期删除或不存在。 400 CBC.99003100 This operation is not allowed because some resources are included in your orders to be paid. 当前操作的资源中,有资源包含在您的待支付的订单,不能进行当前操作。 400 CBC.99003106 The order status has changed and no payment can be made. 订单状态已发生变更,不能进行支付操作。 400 CBC.99003108 Unavailable discount. 您选择的折扣不可用。 400 CBC.99003110 The order has not been paid before the expiration time. Please re-submit the order. 订单已经过了支付截止时间,请重新提交订单。 400 CBC.99003112 The coupon or stored-value card has been used. 优惠券或储值卡已被使用。 400 CBC.99003115 An error occurred. Try again later. 抱歉,当前操作出现异常,请稍后再试。 400 CBC.99003116 The restriction to selected coupon regulates that the coupon cannot be used with the discount at the same time. 选择的优惠券限制不能和折扣同时使用。 400 CBC.99003117 The selected discount is less than the minimum discount rate configured for the selected coupon. Note: For example, if the minimum discount rate configured for a coupon is 90% and the selected discount is less than 90% in all order lines, the discount cannot be used. 选择的优惠券配置了最小折扣比例,而选择的折扣小于这个折扣比例。 例如:优惠券配置的最小折扣比例为90%,而选择的折扣在所有订单行上都小于90%,则该折扣不可使用。 400 CBC.99003124 Resources have been unsubscribed from. 资源已经退订。 400 CBC.99003128 The resource does not have renewed periods or its renewed periods have taken effect, and the renewal periods cannot be unsubscribed from. 资源无已续费周期或续费周期已生效,不支持退订续费周期。 400 CBC.99003141 Cloud service quota or capacity is insufficient, or the resource specifications have changed. 云服务配额或容量不足或规格发生变化。 400 CBC.99003144 Operation not supported. There is an order in progress for this resource. 资源有处理中的订单,不能进行当前操作。 400 CBC.99003147 Discounts and cash coupons cannot be used together. 代金券和折扣券不能同时使用。 400 CBC.99003151 This discount cannot be used together with other discounts. 您选择的折扣不可与其他折扣一起使用。 400 CBC.99003154 The sum of the existing and renewal durations has exceeded the maximun. Select another renewal duration. 资源已购买时长加本次续费时长后已超过最大值,请重新选择续费时长。 400 CBC.99003155 Insufficient enterprise project fund quota, or invalid project. 企业项目资金配额不足/项目不可用。 400 CBC.99003156 Coupons applicable to Marketplace products cannot be used together with dedicated coupons. 云商店券和专用代金券不能同时使用。 400 CBC.99003162 The payment time must be earlier than the specified effective time. 支付时间超过设定的生效时间。 400 CBC.99003185 The cloud service can only be unsubscribed from as a whole. 云服务必须整体退订。 400 CBC.99003198 Insufficient organization budget. 企业组织预算不足。 400 CBC.99003602 Automatic renewal is not supported for expired or frozen resources. 资源已过期或被冻结,不允许自动续费。 400 CBC.99003605 Theautomatic renewal has been canceled. The current operation cannot be performed. 自动续费已取消,不可进行当前操作。 400 CBC.99003608 Select products cannot be changed to pay-per-use. 严选产品不能设置转按需。 400 CBC.99003609 The billing mode of this product type cannot be converted into pay-per-use. 该产品类型不支持转按需。 200 CBC.99003610 The billing mode of resources in the grace or retention period cannot be converted into pay-per-use. 宽限期、保留期资源不能转按需。 400 CBC.99003611 The billing mode of pay-per-usage packages cannot be converted into pay-per-use. 按需套餐包不能设置转按需。 400 CBC.99003622 The billing mode of solutions cannot be converted into pay-per-use. 解决方案产品不能设置转按需。 400 CBC.99003623 Cannot be converted into the pay-per-use billing mode because there are transactions being processed. 存在其他处理中交易不能转按需。 400 CBC.99003624 Cannot be converted into the pay-per-use billing mode because the resource has been frozen due to security reasons. 违规冻结资源不允许设置转按需。 400 CBC.99003625 Freeze resources cannot be changed to pay-per-use. 公安冻结资源不允许设置转按需。 400 CBC.99003626 Cannot be converted into the pay-per-use billing mode because this account has been frozen. 账号已经被冻结,不允许设置转按需。 400 CBC.99003631 Unsubscribed,deleted, and released resources cannot be renewed. 退订中/删除中/释放中的资源不能续费。 400 CBC.99003634 Resources in discount packages must be renewed as a whole and cannot be renewed together with other resources. 参与优惠套餐活动的资源需要整体续费,不能和其他资源一起续费。 400 CBC.99003638 Subscription to bandwidth add-on packages cannot be renewed. 带宽加油包资源不能续费。 400 CBC.99003643 Unsubscriptionis not allowed for cloud services that have been invoiced. 已开发票的云服务不允许退订 400 CBC.99003645 Unsubscription not supported for the service type of the resource. 该类型的云服务不支持退订。 400 CBC.99003647 Unsubscription not supported for this pay-per-use package. 该按需套餐包不支持退订。 400 CBC.99003649 Unsubscription not supported for cloud services in trial use. 试用云服务不支持退订。 400 CBC.99003650 Unsubscription not supported for this cloud service from the KooGallery. 云市场中的该云服务不允许退订。 400 CBC.99003651 Unsubscription not supported. An operation associated with this instance is in progress. 交易正在进行中,不可以退订。 400 CBC.99003652 Unsubscription is not supported for DevCloud packages. 软开云套餐不能退订。 400 CBC.99003654 This renewal period cannot be canceled because it includes an add-on bandwidthpackage. 存在带宽加油包,不允许退订续费周期。 400 CBC.99003656 Frozen. Cannot perform this operation. 已冻结,不能执行此操作。 400 CBC.99004001 The template does not exist. 模板不存在。 400 CBC.99004002 Failed to generate the verification code. 生成验证码失败。 400 CBC.99004003 The verification code is successfully generated but fails to be sent. 验证码生成成功但发送失败。 400 CBC.99004004 Empty email address./Invalid format. 邮箱为空/格式不合法。 400 CBC.99004005 Empty mobile number./Invalid format. 手机号为空/格式不合法。 400 CBC.99004006 Failed to verify the mobile number. 手机号校验失败。 400 CBC.99004008 Invalid verification code. 有验证码,但是已经失效。 400 CBC.99004009 The verification code is available, but the number of verification failures is greater than 3. 有验证码,但是校验失败次数已经大于3。 400 CBC.99004010 The verification code entered is incorrect. 校验客户端输入的验证码错误。 400 CBC.99004015 The number of verification code sending times has reached the upper limit (15 times per hour, 60 times per day). 发送验证码次数已达到上限(15次/小时,60次/天)。 400 CBC.99005001 You has not been a partner. 非合作伙伴。 400 CBC.99005003 Your balance is insufficient. 余额不足。 400 CBC.99005010 Orders in this state cannot be canceled. 订单状态不允许取消。 400 CBC.99005036 The customer does not support payment via interface. 该客户不支持使用接口支付。 400 CBC.99005026 The order is not a degrade or unsubscription order. 该订单不是降配或者退订订单。 400 CBC.99005030 The partner did not complete real-name authentication or bucket authentication. 伙伴未开通实名认证功能或者桶鉴权失败。 400 CBC.99005035 This API cannot be used by a sandbox account. 测试伙伴账号不能使用该接口。 400 CBC.99005042 The resource cannot be found or unsubscribed from. 资源无法找到或者不能退订。 400 CBC.99006006 Product not found. 产品未发现。 400 CBC.99006016 Failed to query coupon information. 查询优惠券信息失败。 400 CBC.99006017 Failed to query customer details. 查询客户信息失败。 400 CBC.99006024 Failed to query product information. 查询产品信息失败。 400 CBC.99006050 Incorrect usage measurement unit. 使用量单位错误。 400 CBC.99006055 The queried amount exceeds the upper limit. 询价结果超过金额最大限制。 400 CBC.99006066 An error occurred during the query of the fee information. 查询费用信息错误。 400 CBC.99006073 项目不存在。 Project not found. 400 CBC.99006074 The billing item does not exist. 计费因子不存在。 400 CBC.99006093 Failed to obtain tax rate information. 获取不到税率信息。 400 CBC.99007000 Can not find customer. 客户不存在。 400 CBC.99007004 The initiated service operation does not meet the service check item requirement. 发起的业务操作存在不满足的业务检查项。 400 CBC.99007009 The transaction ID is duplicated. 交易事务ID重复。 400 CBC.99007181 The validity period of the transferred or recovered credit line has expired. 划拨或回收的信用额度的有效期已过期。 400 CBC.99007188 The customer has passed real-name authentication or is being reviewed. 该客户已经实名认证或者实名认证在审核中。 400 CBC.99007189 The number of users who used the certificate ID for real-name authentication has reached the maximum limit. 使用该证件号进行实名认证的客户数已经超过系统规定。 400 CBC.99007191 The number of real-name authentication times of the customer exceeds the upper limit. 客户实名认证次数超过最大配置值。 400 CBC.99007193 The certificate ID is from an invalid certificate and cannot be used for real-name authentication. 该证件号属于违规证件号,不允许进行实名认证。 400 CBC.99007197 Your IP has been throttled. 您的IP已经被限流。 400 CBC.99007202 Real-name authentication valid fail. 实名认证校验失败。 400 CBC.99007219 Real-name authentication information does not match face. 实名认证信息与人脸不匹配。 400 CBC.99007253 The picture of the ID card is invalid or blurred. 无效的证件照或者证件照模糊。 400 CBC.99007255 Cardholder's identity information or mobile phone number incorrect. 持卡人身份信息或手机号输入不正确。 400 CBC.99007256 The legal entity information is incorrect. 法人信息不正确。 400 CBC.99007257 The enterprise information is incorrect. 企业信息不正确。 400 CBC.99007258 Bank card status is incorrect. 银行卡状态不正确(可能是冻结或过期的银行卡)。 400 CBC.99007259 Bank card certified payment is unopened. 银行卡未开通认证支付(若您使用交通银行 、北京银行、上海银行、广发银行、浦发银行或平安银行的银行卡进行个人实名认证,需要先开通此银行卡的银联在线支付)。 400 CBC.99007260 Failed to invoke the UnionPay interface with the card issuing bank. Try again later or use another bank card. 银联与发卡行之间调用失败,请稍后重试或使用其它银行卡。 400 CBC.99007261 Access denied. 访问拒绝。 400 CBC.99007262 A network exception of the bank system occurs. 银行系统异常,网络异常。 400 CBC.99007265 Other errors. 其他错误。 400 CBC.99007267 The member account is being associated with a master account and cannot perform real-name authentication again. 企业子账号正在被邀请关联,不允许重新实名认证。 400 CBC.99007490 You are not allowed to develop customers or create enterprise member accounts because you are now withdrawing from the Distribution Partner Program. 您的账号关联的是退出中的云经销商,禁止创建企业子。 400 CBC.99008040 Too many attempts. 操作频繁。 400 CBC.50000010 Coupon issuance not supported. Your coupon quota has been converted. 您已是伙伴用券模式,无法发放代金券。 401 CBC.0154 Invalid or expired token. token非法/过期。 403 CBC.0150 Invalid operation. 非法操作。 403 CBC.0151 Access denied. 访问拒绝。 403 CBC.0155 The request was a valid request, but the server is refusing to respond to it. 不允许执行当前请求。 404 CBC.0160 This user is not allowed to perform this request. 请求的资源没有找到。 403 CBC.8225 Billing by received amount can only be initiated by CBC (reserved). 按到款开票只允许从CBC发起(预留)。 429 CBC.0250 Connection request control triggered. 消息流量控制。 500 CBC.0999 Other errors. 其他错误。 500 CBC.4001 The template does not exist. 模板不存在。 500 CBC.4002 Failed to generate the verification code. 生成验证码失败。 500 CBC.4003 The verification code is successfully generated but fails to be sent. 验证码生成成功但发送失败。 500 CBC.4005 Empty mobile number./Invalid format. 手机号为空/格式不合法。 500 CBC.4006 Failed to verify the mobile number. 手机号校验失败。 500 CBC.4008 Invalid verification code. 有验证码,但是已经失效。 500 CBC.4009 The verification code is available, but the number of verification failures is greater than 3. 有验证码,但是校验失败次数已经大于3。 500 CBC.4015 The number of verification code sending times has reached the upper limit. 发送验证码次数已达到上限。 500 CBC.5012 The account name already exists. 客户登录名已经存在。 500 CBC.5014 The mobile number already exists. 客户手机号已经存在。 500 CBC.5015 Invalid account name. 客户登录名格式不合法。 400 CBC.5017 Invalid mobile number. 客户手机号格式不合法。 500 CBC.5018 Duplicate xAccountId. xAccountId重复。 500 CBC.5019 The number of customers exceeds the license limit. 客户数量超过license限制。 500 CBC.5025 An exception occurred when the customer authorized rights to the partner. 客户向伙伴授权时发生异常。 500 CBC.7001 Failed to allocate money to the member account because the primary account is not associated with the sub-account. 企业主账号与子账号不存在关联,不能直接向企业子账号拨款。 500 CBC.7004 The initiated service operation does not meet the service check item requirement. 发起的业务操作存在不满足的业务检查项。 500 CBC.7181 the validity period of the credit line allocated or recovered has expired. 划拨或回收的信用额度的有效期已过期。 500 CBC.7189 The number of users who used the certificate ID for real-name authentication has reached the maximum limit. 使用该证件号进行实名认证的客户数已经超过系统规定。 500 CBC.7193 The certificate ID is from an invalid certificate and cannot be used for real-name authentication. 该证件号属于违规证件号,不允许进行实名认证。 500 CBC.7209 The number of registered mobile numbers exceeds the upper limit. 手机号注册数量超过上限。 500 CBC.7228 Invalid password. 客户密码格式不合法。 500 CBC.7260 Failed to invoke the UnionPay interface with the card issuing bank. Try again later or use another bank card. 银联与发卡行之间调用失败,请稍后重试或使用其它银行卡。 500 CBC.7262 A network exception of the bank system occurs. 银行系统异常,网络异常。 500 CBC.8005 No report data. 消费子表数据为空。 500 CBC.8006 Failed to obtain the subscription entity of the subscriber. 获取用户所在签约主体失败。 500 CBC.8203 Value added tax (VAT) special invoices cannot be issued for E-invoices. 电子发票不可开具增值税专用发票。 500 CBC.8209 The bill cycle list is empty or the number of bill cycles exceeds the maximum. 按账期开票,账期列表为空或者超过最大条数。 500 CBC.8231 Outstanding amount. 欠费金额错误。 500 CBC.99000050 Query for the result of associating partner and its sub-customer timed out. Use the API for querying customers to check the association result. 伙伴和子客户关联结果查询超时,请使用查询客户列表确认最终关联结果。
  • 错误码说明 表1 错误码 状态码 错误码 错误码信息 错误码描述 200 CBC.0000 Success. 成功。 403 CBC.0150 Access denied. The customer does not belong to the website you are now at. 访问拒接,不是本站点客户。 400 CBC.18000016 Insufficient permissions. Contact your associated partner. 权限不足,请联系您的合作伙伴。 400 CBC.18000048 Too many independent accounting members. Specify a member account for query. 您名下的财务独立子,超过系统可支持查询的数量,请指定企业子账号查询。 200 CBC.3002 The resource has been locked. 资源被锁定。 200 CBC.3006 Unsupported cloud service type. 云服务类型不支持。 200 CBC.3016 Expired resources exist. 存在过期资源。 200 CBC.30050007 It is not a primary resource, and the renewal quotation is not allowed. 资源非主资源,不允许续费询价。 200 CBC.30050008 The period type or number of periods for the resource does not exist. 资源不存在对应的的周期类型或周期数。 200 CBC.30050009 The resources do not exist or has been deleted due to expiration. 资源已过期删除或不存在。 200 CBC.30050010 This operation is not allowed because some resources are included in the unpaid orders. 当前操作的资源中,有资源包含在您的待支付的订单,不能进行当前操作。 200 CBC.30050011 The resources are being unsubscribed from or changed. 资源正在退订或者变更。 200 CBC.30050013 The product cannot be renewed. 该产品不支持续费。 200 CBC.3106 The order status has changed and no payment can be made. 订单状态已发生变更,不能进行支付操作。 200 CBC.3112 The coupon or stored-value card has been used. 优惠券或储值卡已被使用。 200 CBC.3124 Resources have been unsubscribed from. 资源已经退订。 200 CBC.3144 Operation not supported. There is an order in progress for this resource. 资源有处理中的订单,不能进行当前操作。 200 CBC.3128 The resource does not have renewed periods or its renewed periods have taken effect, and the renewal periods cannot be unsubscribed from. 资源无已续费周期或续费周期已生效,不支持退订续费周期。 200 CBC.3141 Cloud service quota or capacity is insufficient, or the resource specifications have changed. 云服务配额或容量不足或规格发生变化。 200 CBC.3155 Insufficient enterprise project fund quota, or invalid project. 企业项目资金配额不足/项目不可用。 200 CBC.3162 The add-on package you purchased does not meet payment requirements. 您购买的加油包不满足支付条件。 200 CBC.3185 The cloud service can only be unsubscribed from as a whole. 云服务必须整体退订。 200 CBC.3605 Automaticrenewal has been canceled and you cannnot perform the current operation. 自动续费已取消,不可进行当前操作。 200 CBC.3638 Subscription to bandwidth add-on packages cannot be renewed. 带宽加油包不能续费。 200 CBC.3640 Bandwidth add-on packages cannot be unsubscribed from. 有加油包的资源,不能退订。 200 CBC.5023 The account type does not match the association type. 账户类型与合作伙伴关联类型不匹配。 200 CBC.5041 Resources in this order have been unsubscribed. 该订单中的资源已经退订。 200 CBC.5042 Resources cannot be found. 资源无法找到。 200 CBC.6001 Required param resource id or riInstanceId is null or empty. 资源ID或者预留实例ID为空。 200 CBC.6055 Calculate result exceeds max value. 询价结果超过金额最大限制。 200 CBC.6006 The required product cannot be found. 找不到您询价的产品。 400 CBC.0100 parameter error. 输入参数校验失败。 400 CBC.0101 Invalid parameter. 参数无效。 400 CBC.18000014 Inactive Cost Management. 未开通成本中心。 400 CBC.18000030 Cost data query is not supported when associated accounts are unbound. 不支持查询未与主客户关联的账号的成本数据。 400 CBC.18000053 Insufficient permissions. Contact your enterprise master. 权限不足,请联系您的企业主。 500 CBC.30000010 Invalid order (maybe the order does not exist), unable to operate. 无效订单(可能是订单不存在),不能进行操作。 400 CBC.30000067 Unsubscription not supported. This resource has been deleted or the subscription to this resource has not been synchronized to CBC. 资源已被删除或者资源未被纳管,不支持退订。 400 CBC.30000052 The resource or account has been already frozen. 已冻结,不能执行此操作。 400 CBC.30010001 Auto-renewal not supported. Selected resources no longer available. 您所购买的产品已下架,不支持自动续费。 400 CBC.30010035 resource deleted. 资源已被删除。 400 CBC.30010036 Renewal is only supported for primary resources. 续费的资源非主资源,不允许续费。 400 CBC.30010069 The renewal period does not exist. 不存在的续费周期。 400 CBC.30050006 Automatic order payment failed. 订单自动支付失败。 400 CBC.30050012 Duplicate resource ID. 存在重复的资源ID。 400 CBC.5003 Insufficient balance. 余额不足。 400 CBC.5037 The invoice amount is zero. 无可开票金额。 400 CBC.50000020 The coupon can only be allocated to the specified recipient. 该代金券只适用于指定客户。 400 CBC.50000021 The recipient specified for the quota is not a customer of the tier-2 reseller. 此额度的指定客户不是该二级经销商的子客户。 400 CBC.50010085 Customer association not allowed. The account of this partner has been restricted. 该伙伴企业目前处于受限状态,无法拓客创建关联关系。 400 CBC.50010086 Customer association not allowed. This partner is a Huawei Cloud reseller, and the account of its associated distributor has been restricted. 该伙伴是云经销商,其关联的总经销商企业目前处于受限状态,无法拓客创建关联关系。 400 CBC.50010105 Failed to allocate a coupon quota to the reseller who is withdrawing from the Distribution Partner Program. 无法给退出中的云经销商发放代金券额度 400 CBC.70300008 Only an enterprise master account can send SMS verification codes. 非企业主不能发送短信验证码。 400 CBC.70600026 Huawei Cloud cannot review the information you submitted for real-name authentication. Contact your account manager. 抱歉,华为云暂无法审核您提交的实名认证信息,请联系您的客户经理协助。 400 CBC.70900002 You can only create an enterprise member account through the HIS platform. 您的账号需要通过华为云HIS平台创建企业子账号。 400 CBC.8003 The customer has a negative consumption bill cycle or order is not included in the billing bill cycle or order set. 客户有负向消费的账期或订单未包含在本次开票账期或订单集合内。 400 CBC.8007 Marketplace does not support billing by bill cycle. 云商店开票不支持按账期开票。 400 CBC.8008 Invoices are issued based on orders. The request contains multiple same orders (reserved). 按订单开票,请求中存在多个相同的订单(预留)。 400 CBC.8009 Invoices are issued by bill cycle. The request contains multiple same bill cycles. 按账期开票,请求中存在多个相同的账期。 400 CBC.8012 The invoice remarks or enterprise registration address contains characters that cannot be parsed by the GBK. 发票备注或企业注册地址中包含gbk无法解析的字符。 400 CBC.8016 The billing amount of an electronic invoice cannot exceed US$1 million. 电子票的开票金额不得高于100万。 400 CBC.8202 The invoice cloud is not interconnected. Electronic invoices cannot be issued. 未对接发票云,暂不支持开具电子发票。 400 CBC.8207 Inaccurate billed amount 开票金额不正确。 400 CBC.8210 The actual invoicing amount cannot be greater than the permitted invoicing amount. 开票金额不能大于实际可开票金额。 400 CBC.8211 The actual invoicing account cannot be greater than the permitted invoicing account. 开票金额小于最低可开票金额。 400 CBC.8214 The subscriber account is locked. 用户账号已被冻结。 400 CBC.8215 3: Real-name authentication failed. 用户实名认证失败。 400 CBC.8216 Individual invoices cannot be issued as special invoices. 个人发票不允许开专票。 400 CBC.8217 * Lessor Taxpayer Identification Number (Uniform Social Credit Code) 纳税人识别号或统一社会信用代码校验失败。 400 CBC.8218 Invoices are issued by order. The order list is empty or the number of orders exceeds the maximum (reserved). 按订单开票,订单列表为空或者超过最大条数(预留)。 400 CBC.8224 Postpaid users cannot be billed by order on HUAWEI CLOUD. 后付费用户华为云开票不支持按订单开票。 400 CBC.8232 Value added tax (VAT) special invoices cannot be issued for E-invoices. 电子发票不可开具增值税普通发票。 400 CBC.99000004 An exception occurred when the customer authorized rights to the partner. 客户向伙伴授权时发生异常。 400 CBC.99000011 Set commercial discounts 设置折扣失败。 400 CBC.99000012 The quota does not exist or the quota status is incorrect. 额度不存在或者额度状态不正确。 400 CBC.99000013 Specifies the preference amount. 优惠券额度不足。 400 CBC.99000014 The coupon cannot be sent to customers of this cooperation type. 该券不能发给该合作类型的客户。 400 CBC.99000015 Issue coupons failed. The status of the quota does not support coupon allocation. 此状态的额度不支持发放。 400 CBC.99000016 The customer does not exist or is not a customer of the partner. 该子客户不存在或者不是该伙伴子客户。 400 CBC.99000017 The quota has not taken effect or has expired. 额度未生效或者已过期。 400 CBC.99000018 The maximum value cannot be smaller than the minimum value. 券面值不得小于最小值。 400 CBC.99000019 The minimum value cannot be greater than the maximum value. 券面值不得大于最大值。 200 CBC.99000020 The number of customers exceeds the license limit. 券数量超过最大限制。 200 CBC.99000021 The total face value of coupons cannot exceed the total face value. 券总面值不允许超过总面值。 400 CBC.99000022 The coupon can be sent only to the associated customer for the first time. 该券只能发给首次关联的子客户。 400 CBC.99000023 The cloud service limit or product limit of the coupon exceeds the limit. 券的云服务限制、产品限制超出额度的限制。 400 CBC.99000024 The coupon usage limit (subscription type list) is not within the limit range. 券的使用限制条件配置(订购类型列表),不在额度配置的限制条件范围内。 400 CBC.99000025 This type of partners cannot issue coupons to themselves. 该类伙伴不能给自己发券。 400 CBC.99000026 Incorrect verification code. 验证码错误。 400 CBC.99000027 Expired verification code. 验证码过期。 400 CBC.99000029 The mobile number already exists. 手机号码已存在。 400 CBC.99000030 The mobile number exceeds the limit. 手机号码超出限制。 400 CBC.99000031 Invalid DomainName. DomainName无效。 400 CBC.99000034 Currently, registration with HUAWEI CLOUD is not available to users in this country. 目前不支持该国家客户注册华为云。 400 CBC.99000036 Invalid password. 客户密码格式不合法。 400 CBC.99000037 You do not have the permission to operate this Huawei Cloud reseller. 您没有操作该云经销商的权限。 400 CBC.99000038 The account name already exists. 客户登录名已经存在。 400 CBC.99000039 xAccountId exists. xaccountId重复。 400 CBC.99000041 Only the unified discount can be queried. 只支持查询统一折扣。 400 CBC.99000043 Business owner fails to grant/recover to business subcustomer. 企业主账号向企业子账号拨款/回收失败。 400 CBC.99000046 Insufficient budget. 预算不足。 400 CBC.99000047 Balances account not exist 账户不存在。 400 CBC.99000049 BindType can not be resale. 转售子客户无账户余额。 400 CBC.99000082 You have exceeded the maximum verification code requests allowed. 客户发送验证码次数超过限制。 400 CBC.99000084 Querying account statements not supported for resellers or authorized distributors. 不支持伙伴的代售类、转售类客户查询收支明细。 400 CBC.99000086 Ensure that you are associated with the member account for the independent accounting and your account has the same legal person with that of the member account. 不存在正常的企业主子关系,需企业主子同一法人且企业子财务独立模式。 400 CBC.99000087 An error occurred. Try again later. 抱歉,当前操作出现异常,请稍后再试。 400 CBC.99000088 We have received your payment and it is currently being processed. Please do not attempt to make the payment again. 抱歉,支付处理中,请勿重复操作。 400 CBC.99000089 The current operation can only be performed on combined orders. 抱歉,当前订单号不能操作,请使用组合交易单号操作。 400 CBC.99000092 Incorrect subscription period. 订购周期校验失败。 400 CBC.99003004 The resource has dependencies. 资源存在依赖。 400 CBC.99003012 The resource ID does not exist. 资源ID不存在。 400 CBC.99003016 The resources have expired and been deleted or do not exist. 资源已过期删除或不存在。 400 CBC.99003100 This operation is not allowed because some resources are included in your orders to be paid. 当前操作的资源中,有资源包含在您的待支付的订单,不能进行当前操作。 400 CBC.99003106 The order status has changed and no payment can be made. 订单状态已发生变更,不能进行支付操作。 400 CBC.99003108 Unavailable discount. 您选择的折扣不可用。 400 CBC.99003110 The order has not been paid before the expiration time. Please re-submit the order. 订单已经过了支付截止时间,请重新提交订单。 400 CBC.99003112 The coupon or stored-value card has been used. 优惠券或储值卡已被使用。 400 CBC.99003115 An error occurred. Try again later. 抱歉,当前操作出现异常,请稍后再试。 400 CBC.99003116 The restriction to selected coupon regulates that the coupon cannot be used with the discount at the same time. 选择的优惠券限制不能和折扣同时使用。 400 CBC.99003117 The selected discount is less than the minimum discount rate configured for the selected coupon. Note: For example, if the minimum discount rate configured for a coupon is 90% and the selected discount is less than 90% in all order lines, the discount cannot be used. 选择的优惠券配置了最小折扣比例,而选择的折扣小于这个折扣比例。 例如:优惠券配置的最小折扣比例为90%,而选择的折扣在所有订单行上都小于90%,则该折扣不可使用。 400 CBC.99003124 Resources have been unsubscribed from. 资源已经退订。 400 CBC.99003128 The resource does not have renewed periods or its renewed periods have taken effect, and the renewal periods cannot be unsubscribed from. 资源无已续费周期或续费周期已生效,不支持退订续费周期。 400 CBC.99003141 Cloud service quota or capacity is insufficient, or the resource specifications have changed. 云服务配额或容量不足或规格发生变化。 400 CBC.99003144 Operation not supported. There is an order in progress for this resource. 资源有处理中的订单,不能进行当前操作。 400 CBC.99003147 Discounts and cash coupons cannot be used together. 代金券和折扣券不能同时使用。 400 CBC.99003151 This discount cannot be used together with other discounts. 您选择的折扣不可与其他折扣一起使用。 400 CBC.99003154 The sum of the existing and renewal durations has exceeded the maximun. Select another renewal duration. 资源已购买时长加本次续费时长后已超过最大值,请重新选择续费时长。 400 CBC.99003155 Insufficient enterprise project fund quota, or invalid project. 企业项目资金配额不足/项目不可用。 400 CBC.99003156 Coupons applicable to Marketplace products cannot be used together with dedicated coupons. 云商店券和专用代金券不能同时使用。 400 CBC.99003162 The payment time must be earlier than the specified effective time. 支付时间超过设定的生效时间。 400 CBC.99003185 The cloud service can only be unsubscribed from as a whole. 云服务必须整体退订。 400 CBC.99003198 Insufficient organization budget. 企业组织预算不足。 400 CBC.99003602 Automatic renewal is not supported for expired or frozen resources. 资源已过期或被冻结,不允许自动续费。 400 CBC.99003605 Theautomatic renewal has been canceled. The current operation cannot be performed. 自动续费已取消,不可进行当前操作。 400 CBC.99003608 Select products cannot be changed to pay-per-use. 严选产品不能设置转按需。 400 CBC.99003609 The billing mode of this product type cannot be converted into pay-per-use. 该产品类型不支持转按需。 200 CBC.99003610 The billing mode of resources in the grace or retention period cannot be converted into pay-per-use. 宽限期、保留期资源不能转按需。 400 CBC.99003611 The billing mode of pay-per-usage packages cannot be converted into pay-per-use. 按需套餐包不能设置转按需。 400 CBC.99003622 The billing mode of solutions cannot be converted into pay-per-use. 解决方案产品不能设置转按需。 400 CBC.99003623 Cannot be converted into the pay-per-use billing mode because there are transactions being processed. 存在其他处理中交易不能转按需。 400 CBC.99003624 Cannot be converted into the pay-per-use billing mode because the resource has been frozen due to security reasons. 违规冻结资源不允许设置转按需。 400 CBC.99003625 Freeze resources cannot be changed to pay-per-use. 公安冻结资源不允许设置转按需。 400 CBC.99003626 Cannot be converted into the pay-per-use billing mode because this account has been frozen. 账号已经被冻结,不允许设置转按需。 400 CBC.99003631 Unsubscribed,deleted, and released resources cannot be renewed. 退订中/删除中/释放中的资源不能续费。 400 CBC.99003634 Resources in discount packages must be renewed as a whole and cannot be renewed together with other resources. 参与优惠套餐活动的资源需要整体续费,不能和其他资源一起续费。 400 CBC.99003638 Subscription to bandwidth add-on packages cannot be renewed. 带宽加油包资源不能续费。 400 CBC.99003643 Unsubscriptionis not allowed for cloud services that have been invoiced. 已开发票的云服务不允许退订 400 CBC.99003645 Unsubscription not supported for the service type of the resource. 该类型的云服务不支持退订。 400 CBC.99003647 Unsubscription not supported for this pay-per-use package. 该按需套餐包不支持退订。 400 CBC.99003649 Unsubscription not supported for cloud services in trial use. 试用云服务不支持退订。 400 CBC.99003650 Unsubscription not supported for this cloud service from the KooGallery. 云市场中的该云服务不允许退订。 400 CBC.99003651 Unsubscription not supported. An operation associated with this instance is in progress. 交易正在进行中,不可以退订。 400 CBC.99003652 Unsubscription is not supported for DevCloud packages. 软开云套餐不能退订。 400 CBC.99003654 This renewal period cannot be canceled because it includes an add-on bandwidthpackage. 存在带宽加油包,不允许退订续费周期。 400 CBC.99003656 Frozen. Cannot perform this operation. 已冻结,不能执行此操作。 400 CBC.99004006 Failed to verify the mobile number. 手机号校验失败。 400 CBC.99004008 Invalid verification code. 有验证码,但是已经失效。 400 CBC.99004009 The verification code is available, but the number of verification failures is greater than 3. 有验证码,但是校验失败次数已经大于3。 400 CBC.99004010 The verification code entered is incorrect. 校验客户端输入的验证码错误。 400 CBC.99005001 You has not been a partner. 非合作伙伴。 400 CBC.99005003 Your balance is insufficient. 余额不足。 400 CBC.99005010 Orders in this state cannot be canceled. 订单状态不允许取消。 400 CBC.99005036 The customer does not support payment via interface. 该客户不支持使用接口支付。 400 CBC.99005026 The order is not a degrade or unsubscription order. 该订单不是降配或者退订订单。 400 CBC.99005042 The resource cannot be found or unsubscribed from. 资源无法找到或者不能退订。 400 CBC.99006006 Product not found. 产品未发现。 400 CBC.99006016 Failed to query coupon information. 查询优惠券信息失败。 400 CBC.99006017 Failed to query customer details. 查询客户信息失败。 400 CBC.99006024 Failed to query product information. 查询产品信息失败。 400 CBC.99006050 Incorrect usage measurement unit. 使用量单位错误。 400 CBC.99006055 The queried amount exceeds the upper limit. 询价结果超过金额最大限制。 400 CBC.99006066 An error occurred during the query of the fee information. 查询费用信息错误。 400 CBC.99006073 项目不存在。 Project not found. 400 CBC.99006074 The billing item does not exist. 计费因子不存在。 400 CBC.99006093 Failed to obtain tax rate information. 获取不到税率信息。 400 CBC.99007000 Can not find customer. 客户不存在。 400 CBC.99007004 The initiated service operation does not meet the service check item requirement. 发起的业务操作存在不满足的业务检查项。 400 CBC.99007009 The transaction ID is duplicated. 交易事务ID重复。 400 CBC.99007181 The validity period of the transferred or recovered credit line has expired. 划拨或回收的信用额度的有效期已过期。 400 CBC.99007197 Your IP has been throttled. 您的IP已经被限流。 400 CBC.99007490 You are not allowed to develop customers or create enterprise member accounts because you are now withdrawing from the Distribution Partner Program. 您的账号关联的是退出中的云经销商,禁止创建企业子。 400 CBC.99008040 Too many attempts. 操作频繁。 400 CBC.50000010 Coupon issuance not supported. Your coupon quota has been converted. 您已是伙伴用券模式,无法发放代金券。 401 CBC.0154 Invalid or expired token. token非法/过期。 403 CBC.0150 Invalid operation. 非法操作。 403 CBC.0151 Access denied. 访问拒绝。 403 CBC.0155 The request was a valid request, but the server is refusing to respond to it. 不允许执行当前请求。 403 CBC.8225 Billing by received amount can only be initiated by CBC (reserved). 按到款开票只允许从CBC发起(预留)。 429 CBC.0250 Connection request control triggered. 消息流量控制。 500 CBC.0999 Other errors. 其他错误。 500 CBC.7001 Failed to allocate money to the member account because the primary account is not associated with the sub-account. 企业主账号与子账号不存在关联,不能直接向企业子账号拨款。 500 CBC.7004 The initiated service operation does not meet the service check item requirement. 发起的业务操作存在不满足的业务检查项。 500 CBC.7181 the validity period of the credit line allocated or recovered has expired. 划拨或回收的信用额度的有效期已过期。 500 CBC.7228 Invalid password. 客户密码格式不合法。 500 CBC.8005 No report data. 消费子表数据为空。 500 CBC.8006 Failed to obtain the subscription entity of the subscriber. 获取用户所在签约主体失败。 500 CBC.8203 Value added tax (VAT) special invoices cannot be issued for E-invoices. 电子发票不可开具增值税专用发票。 500 CBC.8209 The bill cycle list is empty or the number of bill cycles exceeds the maximum. 按账期开票,账期列表为空或者超过最大条数。 500 CBC.8231 Outstanding amount. 欠费金额错误。 500 CBC.99007461 You have unfinished allocation or withdrawal tasks. Please try again later. 您当前存在尚未完成的拨款或回收任务,请稍后再试。
  • 实例支持的APIG特性 专享版实例支持的APIG特性。 若当前实例中无相关特性,可提交工单申请升级实例解决。 特性名称 特性描述 特性是否可配置 特性配置示例 特性配置参数 参数描述 参数默认值 参数范围 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 是否支持设置请求体大小上限。 是 {"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 API网关到后端服务的超时时间上限。 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的有效时间。 3600s 1-72000s refresh_token_expire_time refresh token的有效时间。 7200s 1-72000s app_token_uri 获取token的uri。 /v1/apigw/oauth2/token - app_token_key token的加密key。 - - app_api_key 是否开启app_api_key认证方式。 是 {"name":"app_api_key","enable":true,"config": "on"} - - off on/off 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 app_jwt 是否支持app_jwt认证方式。 是 {"name":"app_jwt","enable":true,"config": "{\"enable\": \"on\", \"auth_header\": \"Authorization\"}"} enable 是否开启app_jwt认证方式。 off on/off auth_header app_jwt认证头。 Authorization - public_key 是否支持public_key类型的后端签名。 是 {"name":"public_key","enable":true,"config": "{\"enable\": \"on\", \"public_key_uri_prefix\": \"/apigw/authadv/v2/public-key/\"}"} enable 是否开启public_key认证方式。 off on/off public_key_uri_prefix 获取public key的uri前缀。 /apigw/authadv/v2/public-key/ - backend_token_allow 是否支持普通租户透传token到后端。 是 {"name":"backend_token_allow","enable":true,"config": "{\"backend_token_allow_users\": [\"user_name\"]}"} 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 route 是否支持自定义路由。 否 - - - - - cors 是否支持API使用插件功能。 否 - - - - - 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。 -1 int32有效值 app_route 是否支持ip访问。 是 {"name":"app_route","enable":true,"config": "on"} - - off on/off vpc_name_modifiable 是否支持修改负载通道名称。 是 {"name":"vpc_name_modifiable","enable":true,"config": "on"} - - on on/off default_group_host_trustlist DEFAULT分组是否支持配置非本实例IP访问。 是 {"name":"default_group_host_trustlist","enable": true,"config": "{\"enable\":\"on\",\"hosts\":[\"123.2.2.2\",\"202.2.2.2\"]}"} enable 是否开启。 - on/off hosts 非本实例IP列表。 - - throttle_strategy 是否启用流控模式。 是 {"name":"throttle_strategy","enable":true,"config": "{\"enable\": \"on\",\"strategy\": \"local\"}"} enable 是否开启。 off on/off strategy 流控模式。 - cluster/local custom_log 是否支持用户自定义API请求中的HEADER、QUERY、COOKIE参数值打印到日志。 是 {"name":"custom_log","enable":true,"config": "{\"custom_logs\":[{\"location\":\"header\",\"name\":\"a1234\"}]}"} custom_logs 自定义日志。 - 数量不超过10个 location 位置。 header/query/cookie name 名称。 - real_ip_header_getter 是否开启通过用户自定义的Header获取用户源IP地址。 是 {"name":"real_ip_header_getter","enable":true,"config": "{\"enable\": \"on\",\"header_getter\": \"header:testIP\"}"} enable 是否开启。 off on/off header_getter 获取用户源IP地址的自定义Header。 - - policy_cookie_param 是否开启策略后端条件支持cookie类型。 是 {"name":"policy_cookie_param","enable":true,"config": "on"} - - off on/off app_quota 是否支持客户端配额策略。 否 - - - - - app_acl 是否支持流控策略。 否 - - - - - set_resp_headers 是否支持响应header插件。 否 - - - - - vpc_backup 是否支持VPC通道的主备配置。 否 - - - - - sign_aes 签名密钥是否支持AES加密方式。 否 - - - - - kafka_log 是否支持增删改查kafka日志插件。 否 - - - - - backend_retry_count 是否支持API配置重试次数。 否 - - - - - policy_sys_param 策略后端条件来源是否支持系统参数。 否 - - - - - breaker 是否支持断路器。 否 - - - - - content_type_configurable 获取API列表的接口返回信息中是否存在API的请求参数类型信息(Content-Type)。 否 - - - - - rate_limit_plugin 是否支持流控插件。 否 - - - - - breakerv2 是否支持断路器,能够实现过载情况下服务能力降级。 否 - - - - - sm_cipher_type 加密本地敏感数据时,是否支持应用商密加密算法。 否 - - - - - rate_limit_algorithm 是否支持切换流控算法。 否 - - - - - gzip 是否对响应请求使用gzip压缩。 是 { "name" : "gzip", "config" : {\"comp_level\":6}, "enable" : true } comp_level gzip压缩级别或压缩水平。值为介于1到9之间的整数,表示压缩的程度,数字越大表示压缩得越好但耗费的时间也越多。 6 1-9 sse_strategy 是否支持sse传输策略开关。 是 { "name": "sse_strategy", "enable": true, "config": "on" } - - off on/off authorizer_context_support_num_bool 自定认证返回的context里键值对的值是否支持number类型和boolean类型。 否 - - - - - custom_auth_header APP认证和签名密钥策略是否支持认证头域自定义配置。 是 1:{ "name": "custom_auth_header", "enable": true, "config": "{\"app_auth_header\":\"app-header\", \"backend_sign_header\":\"back-header\"}" } app_auth_header 请求头中的APP认证的签名信息的头域可以由此处的配置项承载。 - 支持英文、数字、中划线、下划线,以英文开头,3-64个字符,可以为空,不能以x-apig、x-sdk开头,不区分大小写,不能是x-stage、authorization,不区分大小写 backend_sign_header 签名密钥策略(BASIC、AUTH和HMAC)传到后端的签名信息的头域可以由此处的配置项承载。 - 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 客户端请求体超时时间。 8s 1-60s gateway_responses_support_header 分组自定义响应支持自定义响应头。 否 - - - - - api_uri_no_escape API中请求path的请求参数是否支持不转义。 是 {"name":"api_uri_no_escape","enable":true,"config":""} enable 是否开启。 false true/false ip_control 是否开启访问控制。 是 {"enable": true,"name":"ip_control","config":"{\"control_type\":\"white\",\"white_ip_list\":\"\",\"black_ip_list\":\"\"}"} control_type 控制类型。 black black/white white_ip_list 白名单IP列表。 - - black_ip_list 黑名单IP列表。 - - 父主题: 附录
  • LP格式的关键字 LP格式中的关键字不区分大小写 关键词(指示词) 可选项 含义 `minimize` `min、minimum` 最小化问题 `maximize` `max、maxmum` 最大化问题 `subject to` `s.t.、such that、st` 约束满足 `bounds` `bound` 表达式的界 `generals` `gen、general` 整数变量 `binaries` `bin、binary` 0-1变量 `inf` `infinity` 无穷 `free` 自由变量 `end` 结束 问题最小(大)化关键词实际上是格式的第一行有效字段有时该行也可以省略,如果省略则默认为最小化问题;End关键词是问题描述的结束,End之后即便还存在字段也不会被解析。
  • OBJECTIVE FUNCTION节 目标函数可采用 `maximize`或 `minimize`关键词开始,关键词后不能再出现其它字符,形式为: minimize -x1 + x2 + -x3 + 0.5 x1 + 100 + x4 + 20 如上形式可以看出: `minmize` 单独一行。 变量可以直接与负号(`-`)连接,如 ` x1,x3`。 变量可以多次出现,我们采用聚合多次系数,本例中为 `x1`的系数终于为 `0.5(-1+0.5)`。 偏移量可以出现在表达式中间或结尾,如 100 和 20。 在实际使用中目标函数可以提供一个名字,并且可以多行书写,但需注意一些细节,如 minimize obj:-x1 + x2 + -x3 + 0.5 x1 100 + x4 + x5 + 1.5 + 2.0 x6
  • GENERALS和BINARIES节(可选) LP 文件的 generals 和 binaries 节用于指示在可行解中必须具有整数值的变量。这两节由于形式相似,我们将其放在同一个部分介绍,实际上他们是否同时存在互不影响。注册在这两节的变量将具有的默认边界的定义。对于在generals 部分注册的变量,默认范围是 0 和$10^{20}$。对于在 binaries 部分注册的变量,默认边界是 0 和 1。 变量注册的方式是通过将变量罗列到对应节,如 Generals x4 x5 x6 x7 x8 x9 Binaries x1 x2 x3 x4 可见,不同变量之间通过空格分割,允许多行书写, 同时我们允许变量注册到不同节,如变量 `x4`,最终的变量类型为其可行区间最小的类型。 注:现阶段我们求解器仅支持线性问题,对于非线性字段和半连续、半整型暂不支持。
  • 调用API获取项目ID 项目ID可以通过调用查询指定条件下的项目列表API获取。 获取项目ID的接口为“GET https://{Endpoint}/v3/projects”,其中{Endpoint}为IAM的终端节点。接口的认证鉴权请参见认证鉴权章节。 响应示例如下,其中projects下的“id”即为项目ID。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 { "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" } }
  • 附录使用说明 本节所附为调优表实践中使用到的SQL测试语句,推荐您将每节的SQL语句拷贝并另存为.sql文件。例如,创建一个包含“初始表创建”SQL语句的create_table_fir.sql文件。创建后使用SQL客户端工具执行.sql文件效率更高,且利于统计用例的总耗费时间。使用gsql运行.sql文件的方法如下: 1 gsql -d database_name -h dws_ip -U username -p port_number -W password -f XXX.sql 示例中的部分信息请替换成您所用 GaussDB (DWS)集群的实际值: 1 gsql -d postgres -h 10.10.0.1 -U dbadmin -p 8000 -W password -f create_table_fir.sql 如示例中涉及的以下信息可根据实际情况替换: postgres:所要连接的数据库名称。 10.10.0.1:集群连接地址。 dbadmin:集群数据库的用户名。默认管理员用户为“dbadmin”。 8000:创建集群时设置的“数据库端口”。 password:创建集群时设置的密码。 父主题: 附录:表创建语法