- 区域
- 可用区
- 套餐
- 裸金属
- 虚拟机
- [同步] 执行shell命令 (转发)POST
- [异步] 创建POST
- [同步] 修改主机名POST
- [异步] 重装系统-240708POST
- [同步] 主机监控信息POST
- [异步] 删除POST
- [异步] 磁盘挂载POST
- [异步] 磁盘卸载POST
- [同步] 执行shell命令POST
- [同步] 获取登录私钥-240708POST
- 主机Gpu设备列表POST
- [同步] 主机GPU监控信息POST
- [同步] 主机IB监控信息POST
- [同步] 查询POST
- [同步] 检查qga服务是否安装POST
- [异步] 重启POST
- [异步] 设置密码POST
- [异步] 创建镜像POST
- [同步] 设置公网IP带宽POST
- [异步] 开机POST
- [异步] 关机POST
- [同步] 查询指定虚拟机vnc urlPOST
- 专有网络
- IP子网
- 安全组
- 镜像
- 对象存储
- eip
- disk
- cloudBilling
- tasks
- loadbalancer
- [异步] 创建负载均衡
- [异步] 创建访问控制
- [异步] 删除访问控制-240527
- [同步] 获取访问控制列表
- [同步] 获取指定访问控制
- [同步] 更新访问控制-240606
- [异步] 新建负载均衡后端服务器组
- [异步] 后端服务器组添加服务器
- [异步] 删除后端服务组-240527
- [异步] 删除服务器组中的服务器-240527
- [同步] 获取指定后端服务组列表
- [同步] 获取指定后端服务组
- [同步] 获取后端服务器
- [同步] 获取指定后端服务器-240531
- [同步] 后端服务器设置权重和端口-240527
- [异步] 创建负载均衡证书
- [异步] 删除证书-240527
- [同步] 获取证书列表
- [同步] 获取指定证书
- [异步] 删除负载均衡实例-240527
- [同步] 获取负载均衡列表
- [同步] 获取指定负载均衡
- [异步] 创建负载均衡监听
- [同步] 创建监听转发策略-240528
- [同步] 删除监听转发策略-240528
- [同步] 获取指定监听转发策略-240528
- [同步] 获取监听转发策略列表-240528
- [同步] 修改监听域名属性(qcloud)-250226
- [同步] 更新转发策略(qcloud)-250224
- [异步] 删除监听-240527
- [同步] 获取监听列表
- [同步] 获取指定监听
- [同步] 监听设置访问控制
- [同步] 启用监听-240527
- [同步] 禁用监听-240527
- [同步] 更新监听-240531
- [同步] 更新lb属性(qcloud)-250224
- [同步] 负载均衡绑定安全组(qcloud)-250221
- [同步] 启用负载均衡-240527
- [同步] 禁用负载均衡实例-240527
- [同步] 负载均衡解绑安全组(qcloud)-250221
- Host
- 调度器
- ceph
- 轻量云
- 用户
- 任务task发送【mq对接】POST
[同步] 主机IB监控信息
开发环境
http://192.168.3.254:31299
开发环境
http://192.168.3.254:31299
POST
http://192.168.3.254:31299
虚拟机
请求参数
Body 参数application/json
cloudCredentialInfo
object (codeup_aliyun_com_644a10bf88aef0db4b8c1edc_uci_puhui-uci_pkg_types.CloudProviderParams)
可选
accessKey
string
必需
accountId
string
可选
hypervisor
string
用于轻 量云
provider
enum<string>
可选
枚举值:
AliyunQcloudAwsHuaweiBaiduCfelCloudpodsEscrowEcloudCfelCtyunVolcEngineChinaUnionCfel
secretKey
string
必需
url
string
可选
data
object (codeup_aliyun_com_644a10bf88aef0db4b8c1edc_uci_puhui-uci_pkg_types.CloudEcsGetMonitorOption)
可选
currentTime
string
必需
endTime
string
必需
guestId
string
id
>= 1 字符
interval
string
可选
regionId
string
必需
startTime
string
必需
zoneId
string
必需
示例
{
"cloudCredentialInfo": {
"accessKey": "string",
"accountId": "string",
"hypervisor": "string",
"provider": "Aliyun",
"secretKey": "string",
"url": "string"
},
"data": {
"currentTime": "string",
"endTime": "string",
"guestId": "string",
"interval": "string",
"regionId": "string",
"startTime": "string",
"zoneId": "string"
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://192.168.3.254:31299/api/v1/guestsTbl/ibMonitor' \
--header 'Content-Type: application/json' \
--data-raw '{
"cloudCredentialInfo": {
"accessKey": "string",
"accountId": "string",
"hypervisor": "string",
"provider": "Aliyun",
"secretKey": "string",
"url": "string"
},
"data": {
"currentTime": "string",
"endTime": "string",
"guestId": "string",
"interval": "string",
"regionId": "string",
"startTime": "string",
"zoneId": "string"
}
}'
返回响应
🟢200成功
application/json
Body
content
object
可选
resources
array[object (codeup_aliyun_com_644a10bf88aef0db4b8c1edc_uci_puhui-uci_pkg_model.GuestsResp) {34}]
可选
errorCode
string
失败 code
errorMsg
string
失败信息
msg
string
响应信息,ok
success
boolean
是否操作成功
示例
{
"content": {
"resources": [
{
"autoRenew": true,
"billingCycle": "string",
"billingType": "postpaid",
"bios": "string",
"bootOrder": "string",
"description": "string",
"disableDelete": 0,
"eipAddress": {
"allocationId": "string",
"allocationTime": "string",
"bandwidth": 0,
"businessStatus": "string",
"deletionProtection": true,
"descritpion": "string",
"expiredTime": "string",
"instanceId": "string",
"ipAddress": "string",
"isp": "string",
"mode": "string",
"name": "string",
"netmode": "string",
"operationLocks": "string",
"publicIpAddress": "string",
"resourceGroupId": "string",
"status": "string"
},
"expiredAt": "string",
"externalId": "string",
"hostId": "string",
"hostname": "string",
"instanceDisk": [
{
"category": "string",
"creationTime": "string",
"description": "string",
"diskId": "string",
"diskName": "string",
"expiredTime": "string",
"size": 0,
"status": "string",
"type": "string"
}
],
"instanceId": "string",
"instanceNic": [
{
"classic": true,
"id": "string",
"ipAddr": "string",
"macAddr": "string",
"networkId": "string"
}
],
"instanceType": "string",
"internetMaxBandwidthOut": 0,
"isEmulated": true,
"machine": "string",
"name": "string",
"osArch": "x86",
"osName": "string",
"osType": "string",
"powerStates": "on",
"recordChecksum": "string",
"securityGroupIds": [
"string"
],
"status": "string",
"systemTags": {
"property1": "string",
"property2": "string"
},
"tags": {
"property1": "string",
"property2": "string"
},
"throughput": 0,
"vcpuCount": 0,
"vdi": "string",
"vga": "string",
"vmemSize": 0
}
]
},
"errorCode": "string",
"errorMsg": "string",
"msg": "string",
"success": true
}
修改于 2025-04-17 10:22:13