GetWanInfo
更新时间:2023-12-27 07:37:44
获取 SD-WAN 资源信息详情。
Request Parameters
| Parameter name | Type | Description | Required |
|---|---|---|---|
resources.n |
String |
资源 ID |
Yes |
info_type |
String |
信息类型 |
Yes |
Response Elements
| Name | Type | Description |
|---|---|---|
action |
String |
响应动作 |
wan_info |
Dict |
JSON 格式的资源信息详情 |
ret_code |
Integer |
执行成功与否,0 表示成功,其他值则为错误代码 |
Response Item
| Name | Type | Description |
|---|---|---|
mobile_imsi |
String |
IMSI |
mobile_apn |
String |
APN |
mobile_iface_name |
String |
接口名称 |
mobile_provider |
String |
运营商 |
mobile_flow |
Integer |
当月使用流量 |
Example
Example Request
https://api.shanhe.com/iaas/?action=GetWanInfo &resources.1=wacc-nzgqtn8b &info_type=cpe_mobile_info &zone=jn1a &COMMON_PARAMS
Example Response
{
"action": "GetWanInfoResponse",
"wan_info": {
"wacc-nzgqtn8b": {
"wcpe-gw0l5d9u": {
"mobile_imsi": "460019236208998",
"mobile_apn": "3GNET",
"mobile_iface_name": "ppp99",
"mobile_provider": "CHN-UNICOM",
"mobile_flow": 1898576838
}
}
},
"ret_code": 0
}