您的 vRealize Operations 实例可能安装了多个解决方案。要查找 vSphere 解决方案及其适配器类型,请发出 GET 请求以检索所有解决方案的列表。响应包含解决方案中包括的所有适配器。
在此示例用例中,vRealize Operations 实例的 API-URL 为 vrealize.example.com。
前提条件
确认您可以登录到 vRealize Operations 实例的 API URL。请参见获取身份验证令牌。
过程
示例: vSphere 解决方案的适配器类型
此示例列出了所有已安装的解决方案和每个解决方案的适配器类型。
请求标头:
GET https://vrealize.example.com/suite-api/api/solutions
JSON 响应:
200 OK
{
"solution":
{
"id": "MPforLogInsight",
"name": "VMware vRealize Operations Management Pack for Log Insight",
"version": "6.0.3171089",
"description": "VMware vRealize Operations Management Pack for Log Insight... ",
"vendor": "VMware Inc.",
"adapterKindKeys": [
"LogInsightAdapter"
]
},
{
"id": "ep-ops-os-and-availability",
"name": "Operating Systems / Remote Service Monitoring",
"version": "1.0.4071095",
"description": "The End Point Operations Management Solution for Operating... ",
"vendor": "VMware Inc.",
"adapterKindKeys": [
"ep-ops-os-and-availability-kind"
]
},
{
"id": "VMware vSphere",
"name": "VMware vSphere",
"version": "6.0.7496664",
"description": "Manages vSphere objects such as Clusters, Hosts...",
"vendor": "VMware Inc.",
"adapterKindKeys": [
"VMWARE",
"PythonRemediationVcenterAdapter"
]
}
]
} 响应显示三个已安装的解决方案:
- Management Pack for Log Insight 解决方案
- End Point Operations 解决方案
- vSphere 解决方案
vSphere 解决方案具有两种适配器类型:
- VMWARE
- PythonRemediationVcenterAdapter