After you determine that you want to create an instance of the vCenter adapter, you must identify the required object types for that adapter. You make a GET request to retrieve a list of all object types for the vCenter adapter.

Prerequisites

Verify that you know the adapter type for the vCenter adapter.

Procedure

  1. Make a GET request to list all the object types for the vCenter adapter.
    GET https://www.mgmt.cloud.vmware.com/vrops-cloud/suite-api/api/adapterkinds/VMWARE/resourcekinds
  2. Examine the response to identify the required object types..
    See the response portion of Object Types Required for the vCenter Adapter.

Example: Object Types Required for the vCenter Adapter

This example finds all the object types for the vCenter adapter.

Request header:
GET https://www.mgmt.cloud.vmware.com/vrops-cloud/suite-api/api/adapterkinds/VMWARE/resourcekinds
Snippet of the response in JSON:
200 OK
{
  "key": "VMwareAdapter Instance",
  "name": "vCenter Server",
  "adapterKind": "VMWARE",
  "resourceKindType": "ADAPTER_INSTANCE",
  "resourceKindSubType": "NONE",
  "resourceIdentifierTypes": [
    {
      "name": "AUTODISCOVERY",
      "dataType": "STRING",
      "isPartOfUniqueness": false
    },
    {
      "name": "DISABLE_COMPUTATION_BASED_ON_CONSUMERS", 
      "dataType": "STRING",
      "isPartOfUniqueness": false
    },
    {
      "name": "DV_PORT_GROUP_DISABLED",
      "dataType": "STRING",
      "isPartOfUniqueness": false
    },
    {
      "name": "DVS_DISABLED",
      "dataType": "STRING",
      "isPartOfUniqueness": false
    },
    {
      "name": "PROCESSCHANGEEVENTS",
      "dataType": "STRING",
      "isPartOfUniqueness": false
    },
    {
      "name": "VCURL",
      "dataType": "STRING",
      "isPartOfUniqueness": true
    },
    ...
    {
      "name": "VM_LIMIT",
      "dataType": "INTEGER",
      "isPartOfUniqueness": false
    }
    ],           
  ...
}

This snippet shows the Resource Kind with the attribute "resourceKindType": "ADAPTER_INSTANCE". Any object type that has the resource identifier "isPartOfUniqueness":true requires a value for that object type with the API request to create the adapter instance.

An adapter instance of the vCenter adapter requires a value for VCURL or the URL of the vCenter.