VMware Aria Operations 執行個體可能已安裝多個解決方案。若要尋找 vSphere 解決方案及其介面卡類型,請建立 GET 要求以擷取所有解決方案的清單。此回應包括解決方案中隨附的所有介面卡。
在此範例使用案例中, VMware Aria Operations 執行個體的 API-URL 為 mgmt.cloud.vmware.com。
必要條件
確認您可以登入 VMware Aria Operations 執行個體的 API URL。
程序
範例: vSphere 解決方案的介面卡類型
此範例會列出所有已安裝的解決方案,以及各自的介面卡類型。
要求標頭:
GET https://www.mgmt.cloud.vmware.com/vrops-cloud/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" ] } ] }此回應顯示三個已安裝的解決方案:
- Log Insight 解決方案的管理套件
- 端點作業解決方案
- vSphere 解決方案
vSphere 解決方案有兩種介面卡類型:
- VMWARE
- PythonRemediationVcenterAdapter