接口说明
面向政企版租户开放创建SNAT规则-获取未关联规则的带宽列表接口 限流:根据租户实现用户级别的限流,限制为10次每秒
URL
POST https://ecloud.10086.cn/api/Computer_api/cem_openapi/ccacem/api/v1/ecloud-nat/getCloudbandwidth
请求参数
Body
|
参数名称
|
类型
|
必填
|
描述
|
|
reqDto
|
CcempCreateSNatGetBandwidthReqDto
|
是
|
reqDto |
|
region
|
string
|
是
|
cmdb可用区 |
请求示例
POST https://ecloud.10086.cn/api/Computer_api/cem_openapi/ccacem/api/v1/ecloud-nat/getCloudbandwidth
{
"region":"CIDC-RP-25-AZ2"
}
返回参数
返回码:200
OK
|
参数名称
|
类型
|
描述
|
|
body
|
<CcempCloudBandWidthInfoDto> array
|
|
|
bandwidthFipUid
|
string
|
弹性公网IP带宽Uid |
|
bandwidthMax
|
integer(int32)
|
最大带宽 |
|
billing
|
string
|
计费方式 |
|
createdTime
|
string
|
创建时间 |
|
ipName
|
string
|
ip名称 |
|
pnt
|
string
|
公网流量(traffic、bandwidth) |
|
poolCode
|
string
|
资源池编码 |
|
publicIpAddress
|
string
|
公网ip地址 |
|
region
|
string
|
可用区 |
|
status
|
string
|
状态 |
|
errorCode
|
string
|
|
|
errorMessage
|
string
|
|
|
requestId
|
string
|
|
|
state
|
enum(OK,ERROR,EXCEPTION,FORBIDDEN,REMAINING,TIMEOUT)
|
返回示例
返回码:200
OK
{
"body":[
{
"bandwidthFipUid":"bandwidth-83e9a883b9094bd1b00e5a35a31a3f6d",
"bandwidthMax":10,
"billing":null,
"companyCode":"CMSSZTE",
"createdTime":"2025-06-15 11:01:54",
"id":1934083917831385000,
"ipName":"bandwidth-BAAkMy",
"pnt":null,
"poolCode":"CIDC-RP-25",
"publicIpAddress":"2.23.1.193",
"region":"CIDC-RP-25-AZ2",
"status":"active"
}
],
"errorCode":"200",
"errorMessage":"",
"requestId":"6ccf63edb773c4bf",
"state":"OK"
}