[{"label":"Latest (6.4.0)","version":"latest"}]
vrealize-network-insight-api
Add vCenter Datasource
DescriptionAdd a vCenter data source. You 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.
Request
URLURL
https://vrni.example.com/api/ni/data-sources/vcenters
Request Body
Request Body
This request body class requires all of the following:
BaseDataSourceRequest, InlineVCenterDataSourceRequest1
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
201 Created
Returns
VCenterDataSource
of type(s) application/json
This response body class contains all of the following:
BaseDataSource, InlineVCenterDataSource1
Errors
ApiError
400
Bad Request
401
Unauthorized
403
Forbidden
500
Internal Error
Code Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"credentials":{"password":"VMware1!","username":"readonly"},"enabled":false,"fqdn":"your.domain.com","ip":"192.168.10.1","ipfix_request":{"disable_all":false,"disable_for_dvs":"vds-1,vds-2,vds-3","enable_all":false,"enable_for_dvs":"vds-1,vds-2,vds-3"},"is_vmc":false,"nickname":"vc1","notes":"Located in DC1","proxy_id":"1000:104:12313412"}' https://vrni.example.com/api/ni/data-sources/vcenters
[{"label":"Latest (6.4.0)","version":"latest"}]
vrealize-network-insight-api
On This Page
Data Sources Operations
post
post
post
post
post
post
post
post
post
post
post
post
post
post
post
post
post
post
delete
delete
delete
delete
delete
delete
delete
delete
delete
delete
delete
delete
delete
delete
delete
delete
delete
delete
delete
delete
delete
delete
delete
delete
delete
delete
delete
delete
delete
delete
delete
delete
post
post
post
post
post
post
post
post
post
post
post
post
post
post
post
post
post
post
post
post
post
post
post
post
post
post
post
post
post
put
get
get
get
get
get
get
get
get
get
get
get
get
get
get
get
get
get
get
get
get
get
put
put
put
put
put
put