[{"label":"Latest (6.4.0)","version":"latest"}]
vrealize-network-insight-api

Add NSX-T Manager Datasource

Description

Add an NSX-T Manager data source

Request

Request

URL

URL


post
https://vrni.example.com/api/ni/data-sources/nsxt-managers
Copy

Request Body

Request Body

NSXTManagerDataSourceRequest of type(s) application/json Optional
This request body class requires all of the following: BaseDataSourceRequest, InlineNSXTManagerDataSourceRequest1
Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

201 Created

Returns NSXTManagerDataSource of type(s) application/json
This response body class contains all of the following: SwitchDataSource, InlineNSXTManagerDataSource1
Errors

Errors

ApiError
400

Bad Request


401

Unauthorized


403

Forbidden


500

Internal Error

Code Samples

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_enabled":true,"latency_enabled":true,"nickname":"vc1","notes":"Located in DC1","nsxi_enabled":true,"proxy_id":"1000:104:12313412"}' https://vrni.example.com/api/ni/data-sources/nsxt-managers


[{"label":"Latest (6.4.0)","version":"latest"}]
vrealize-network-insight-api
Data Sources Operations
Feedback

Was this page helpful?