v1

latestOpenAPI 3.0.02026-07-14161138164.1 KB
Data 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

enabledboolean
fqdnstring
ipstring
nicknamestring required
notesstring
proxy_idstring required

proxy vm which should register this vcenter

Example request

{
  "fqdn": "your.domain.com",
  "ip": "192.168.10.1",
  "nickname": "vc1",
  "proxy_id": "1000:104:12313412"
}

Response

Created

enabledboolean
entity_idstring
entity_type'CiscoSwitchDataSource' | 'DellSwitchDataSource' | 'AristaSwitchDataSource' | 'BrocadeSwitchDataSource' | 'JuniperSwitchDataSource' | 'VCenterDataSource' | 'NSXVManagerDataSource' | 'UCSManagerDataSource' | 'HPVCManagerDataSource' | 'HPOneViewDataSource' | 'PanFirewallDataSource' | 'CheckpointFirewallDataSource'
fqdnstring
ipstring
nicknamestring
notesstring
proxy_idstring

proxy vm which should register this vcenter

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"
}