Create Vcenter Integration
Instances are generated for not just the vCenter adapter but also for vSAN and Service Discovery adapters. If configurations for vSAN or Service Discovery are not provided, the corresponding adapters will not be created.
Proceed with vCenter integration creation even if connection is not established
Override existing VC management ownership
The vCenter integration creation request
"{\n \"name\" : \"TestVcenterIntegration\",\n \"description\" : \"vCenter adapter for test purposes\",\n \"collectorGroupId\" : \"b3c5e483-23f9-4a7f-b2ff-9c14985218b6\",\n \"resourceIdentifiers\" : [ {\n \"name\" : \"AUTODISCOVERY\",\n \"value\" : \"true\"\n }, {\n \"name\" : \"PROCESSCHANGEEVENTS\",\n \"value\" : \"true\"\n }, {\n \"name\" : \"VCURL\",\n \"value\" : \"VC_IP_Adress\"\n } ],\n \"certificates\" : [ {\n \"thumbprint\" : \"certificate_thumbprint\",\n \"certificateDetails\" : \"certificate_details\",\n \"issuedTo\" : \"issuedTo\",\n \"issuedBy\" : \"issuedBy\",\n \"expires\" : \"expirationDate\"\n } ],\n \"credentialInstanceId\" : \"fd55abce-4528-4a8e-a196-ebf1ee270f8d\",\n \"vsanConfig\" : {\n \"smartDataCollectionEnabled\" : false,\n \"enabled\" : true\n },\n \"sdmpConfig\" : {\n \"applicationDiscoveryEnabled\" : true,\n \"enabled\" : true\n },\n \"logCollectionEnabled\" : false\n}"
The result model of the created vCenter integration, with vSAN and Service Discovery configs.
"{\n \"name\" : \"TestVcenterIntegration\",\n \"description\" : \"vCenter adapter for test purposes\",\n \"collectorGroupId\" : \"25558d9f-498c-425a-ad69-4a3bbe2c9a1f\",\n \"resourceIdentifiers\" : [ {\n \"name\" : \"AUTODISCOVERY\",\n \"value\" : \"true\"\n }, {\n \"name\" : \"PROCESSCHANGEEVENTS\",\n \"value\" : \"true\"\n }, {\n \"name\" : \"VCURL\",\n \"value\" : \"VC_IP_Adress\"\n } ],\n \"certificates\" : [ ],\n \"credentialInstanceId\" : \"4c602675-321c-4869-a14b-5355ad2d1e5b\",\n \"vsanConfig\" : {\n \"smartDataCollectionEnabled\" : false,\n \"enabled\" : true\n },\n \"sdmpConfig\" : {\n \"applicationDiscoveryEnabled\" : true,\n \"enabled\" : true\n },\n \"logCollectionEnabled\" : false\n}"
If create 'vCenter integration' failed. Typically the service will return extra information as to why the creation failed. In case if connection testing failed due to certificates, untrusted certificates will be returned for acceptance.
"{\n \"type\" : \"CertificatesError\",\n \"certificates\" : [ {\n \"integrationType\" : \"VCENTER\",\n \"certificates\" : [ {\n \"thumbprint\" : \"certificate_thumbprint\",\n \"certificateDetails\" : \"certificate_details\",\n \"issuedTo\" : \"issuedTo\",\n \"issuedBy\" : \"issuedBy\",\n \"expires\" : \"expirationDate\"\n } ]\n } ],\n \"httpStatusCode\" : 400,\n \"apiErrorCode\" : 400,\n \"message\" : \"No valid certificates were found, while testing connection. Returning provided untrusted certificates for acceptance.\"\n}"
If create 'vCenter integration' failed. Typically the service will return extra information as to why the creation failed.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '}' https://{api_host}/suite-api/api/integrations/vcenters