v1
latestOpenAPI 3.0.02026-07-14161138164.1 KBData Sources
Create a vCenter data source
Add a vcenter data source. User must provide one of ip or fqdn field in the request body. Appropriate proxy id is retrieved from infra/nodes URL to select the proxy node.
post/data-sources/vcenters
Request body
Example request
{
"fqdn": "your.domain.com",
"ip": "192.168.10.1",
"nickname": "vc1",
"proxy_id": "1000:104:12313412"
}Response
Created
Example response
{
"credentials": {
"password": "thePassword",
"username": "admin@vsphere.local"
},
"enabled": true,
"entity_type": "VCenterDataSource",
"fqdn": "go.vc.org",
"id": "1000:33:12890123",
"ip": "192.168.10.1",
"nickname": "vc1",
"notes": "VC 1",
"proxy_id": "1000:104:12313412"
}