reboot HTTP/1.1 HOST: rds.bj.baidubce.com ContentType: application/json Authorization: bce-auth-v1/f81d3b34e48048fbb2634dc7882d7e21/2017-11-21T04:17:29Z/3600/host/74c506f68c65e26c633bfa104c863fffac5190fdec1ec24b7c03eb5d67d2e1de
logshipper/23333-33333 HTTP/1.1 Host: bls-log.bj.baidubce.com Authorization: bce-auth-v1/18717522d39411e9b721df098b0b908c/2019-09-10T07:00:20Z/1800/content-type;host;x-bce-date;x-bce-request-id/6a7cb6c9ac7ec156c805e55e7d0bcfc443b47feee97cf099c1c0d93a0b4c8304
logshipper/23333-33333 HTTP/1.1 Host: bls-log.bj.baidubce.com Authorization: bce-auth-v1/18717522d39411e9b721df098b0b908c/2019-09-10T07:00:20Z/1800/content-type;host;x-bce-date;x-bce-request-id/6a7cb6c9ac7ec156c805e55e7d0bcfc443b47feee97cf099c1c0d93a0b4c8304
返回错误信息格式如下: { code : Unauthorized , message : Check unauthorized: invalid ak/sk , requestId : bb32a6e2-fdb4-4b3e-8ff2-38ac14b24a18 } 下表即为 API 响应中的通用错误码,它们可能会在 API 响应中出现。
您需要先通过该电源线为设备通电,每台设备均使用 850W 110V/220V AC 输入电源。 设备连网 将月光宝盒设备与您IDC的网络环境联通,可通过月光宝盒设备上的千兆电口或万兆光口与机房交换机相连。 您需要自行准备网线和显示器。设备具有 2 个 1 GbE 电口和 2 个 10 GbE 光口。电口需要的网线为普通电脑标准网线插口,光口网线类型为 SFP+AOC 类型通用光缆接口。
switchHA HTTP/1.1 HOST: mongodb.bj.baidubce.com ContentType: application/json Authorization: bce-auth-v1/f81d3b34e48048fbb2634dc7882d7e21/2017-11-21T04:17:29Z/3600/host/74c506f68c65e26c633bfa104c863fffac5190fdec1ec24b7c03eb5d67d2e1de
unbind&clientToken=ac31ef8c-5e41-4k38-9ds0-9de700ds5b20 HTTP/1.1 host: bcc.bj.baidubce.com content-type: application/json authorization: bce-auth-v1/2830b179831d11e8be57233b1de1e808/2018-07-09T02:18
下面的代码基于Python的Flask框架提供API服务,在Linux服务器上使用gunicorn启动3个worker,如果在windows开发环境不能使用gunicorn,直接python命令启动即可。
sqlfilter/allowed HTTP/1.1 HOST: rds.bj.baidubce.com Content-Type: application/json Authorization: bce-auth-v1/f81d3b34e48048fbb2634dc7882d7e21/2017-11-21T04:17:29Z/3600/host/74c506f68c65e26c633bfa104c863fffac5190fdec1ec24b7c03eb5d67d2e1de
errorlogflow HTTP/1.1 HOST: rds.bj.baidubce.com Content-Type: application/json Authorization: bce-auth-v1/f81d3b34e48048fbb2634dc7882d7e21/2017-11-21T04:17:29Z/3600/host/74c506f68c65e26c633bfa104c863fffac5190fdec1ec24b7c03eb5d67d2e1de