资源中心/VMware管理(Plus)/vCenter相关接口
GETvCenter Operations起始版本 3.9.0同步需要认证
查询vCenter资源
查询vCenter资源
调试可用性
在线调试
使用当前认证信息和示例参数提交 Mock 请求。
请求参数
此接口无需请求参数。
响应状态
请求地址
GET/zstack/v1/vcenters
/zstack/v1/vcenters
请求示例
curl -X GET 'http://{host}/zstack/v1/vcenters' -H 'Authorization: OAuth {sessionUuid}'
响应示例
200{ "inventories": [ { "uuid": "b84429ea486d3e878afd4175bff667e0", "name": "vc1", "domainName": "vsphere-local.net", "userName": "admin@vsphere-local.net", "version": "6.0.0", "https": true, "state": "Enabled", "status": "Connected" } ] }变更历史
此 API 暂无变更历史记录。
