检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
resource_type_code String 资源类型编码,例如ECS的VM为“hws.resource.type.vm”。您可以调用查询资源类型列表接口获取。 当请求消息中不传递“cloud_service_type_code”参数时,此值返回“null”。
请求消息 请求参数 无 请求示例 POST https://bss.myhuaweicloud.com/v2/payments/free-resources/usages/query HTTP/1.1 Content-Type: application/json X-Auth-Token
响应示例: HTTP/1.1 204 No Content Content-Type: application/json;charset=UTF-8 Content-Length: length Date: response time 状态码 状态码4xx:由于明显的客户端错误(例如
响应示例 HTTP/1.1 200 OK Content-Type: application/json;charset=UTF-8 Content-Length: length Date: response time { "actual_days": "0.1",
响应示例 HTTP/1.1 204 No Content Content-Type: application/json;charset=UTF-8 Content-Length: length Date: response time 状态码 状态码4xx:由于明显的客户端错误(例如
bill_cycle=2021-07&service_type_code=hws.service.type.cdn&resource_type_code=hws.resource.type.cdn&usage_type=95Peak&offset=0&limit=10 Content-Type: application
请求消息 请求参数 无 请求示例 GET https://bss.myhuaweicloud.com/v2/bases/measurements HTTP/1.1 Content-Type: application/json X-Auth-Token:MIIPAgYJKoZIhvcNAQcCo
1:元 响应示例 HTTP/1.1 200 OK Content-Type: application/json;charset=UTF-8 Content-Length: length Date: response time { "account_balances":
请求示例 GET https://bss.myhuaweicloud.com/v1.0/{domain_id}/common/order-mgr/orders/CS*****O7 HTTP/1.1 Content-Type: application/json X-Auth-Token
调用接口后,如果某个主资源ID有对应的从资源ID,系统会将主资源ID和从资源ID一起续订,存在主从资源关系的资源为: 云主机为主资源,对应的从资源为云硬盘 共享带宽的情况下,带宽为主资源,对应的从资源为弹性IP(可能包含多个IP) 独享带宽的情况下,弹性IP为主资源,对应的从资源为带宽
recursive_query=1&parent_id=392 HTTP/1.1 Content-Type: application/json X-Auth-Token:MIIPAgYJKoZIhvcNAQcCo...ggg1BBIINPXsidG9rZ 响应消息 响应参数 参数
响应示例 HTTP/1.1 200 OK Content-Type: application/json;charset=UTF-8 Content-Length: length Date: response time { "error_code": "CBC.0000",
offset=0&limit=10 HTTP/1.1 Content-Type: application/json X-Auth-Token:MIIPAgYJKoZIhvcNAQcCo...ggg1BBIINPXsidG9rZ 响应消息 响应参数 参数 参数类型 取值范围 描述
province_code=CN-13 HTTP/1.1 Content-Type: application/json X-Auth-Token:MIIPAgYJKoZIhvcNAQcCo...ggg1BBIINPXsidG9rZ 响应消息 响应参数 参数 参数类型 取值范围 描述
measure_type=3 HTTP/1.1 Content-Type: application/json X-Auth-Token:MIIPAgYJKoZIhvcNAQcCo...ggg1BBIINPXsidG9rZ 响应消息 响应参数 参数 参数类型 取值范围 描述 error_code
响应示例 HTTP/1.1 200 OK Content-Type: application/json;charset=UTF-8 Content-Length: length Date: response time { "count": 31, "provinces
city_code=CN-13-001 HTTP/1.1 Content-Type: application/json X-Auth-Token:MIIPAgYJKoZIhvcNAQcCo...ggg1BBIINPXsidG9rZ 响应消息 响应参数 参数 参数类型 取值范围 描述
响应示例 HTTP/1.1 204 No Content Content-Type: application/json;charset=UTF-8 Content-Length: length Date: response time 状态码 状态码4xx:由于明显的客户端错误(例如
响应示例 HTTP/1.1 200 OK Content-Type: application/json;charset=UTF-8 Content-Length: length Date: response time { "real_retrieve_amout": "
响应示例 HTTP/1.1 200 OK Content-Type: application/json;charset=UTF-8 Content-Length: length Date: response time { "total_count": 1, "amount_infos