Your vRealize Operations instance includes multiple adapter types. To find the adapter type for the vCenter adapter, you make a GET request to retrieve a list of all adapter types. The API response includes all the object types that the adapter monitors.
Prerequisites
Verify that you are logged in to the vRealize Operations instance.
Procedure
Example: Determine the Adapter Type and Object Types for the vCenter Adapter
This example finds the adapter type for the vCenter adapter and all the object types included in the adapter model definition.
Request header:
GET https://vRealize.example.com/suite-api/api/adapterkinds Content-Type: application/json Authorization: vRealizeOpsToken <vROps_token> Accept: application/json
Where vROps_token is the token that you obtained from the response in Acquire an Authentication Token.
200 OK
{ "key": "VMWARE", "name": "vCenter Adapter", "description": "Provides the connection information and credentials required...", "adapterKindType": "GENERAL", "describeVersion": 573, "identifiers": [], "resourceKinds": [ "ClusterComputeResource", "ComputeResource", "CustomDatacenter", "Datacenter", "Datastore", "StoragePod", "DatastoreFolder", "VM Entity Status", "Folder", "HostFolder", "HostSystem", "NetworkFolder", "ResourcePool", "VMwareAdapter Instance", "VirtualMachine", "VMFolder", "DistributedVirtualPortgroup", "VmwareDistributedVirtualSwitch", "vSphere World" ], ... }
For the vCenter adapter, the adapter-kind key is VMWARE. The resourceKinds are the object types that the vCenter adapter monitors. For virtual machine object type, the resourceKinds is VirtualMachine.