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

Add Generic Switch

Description

Add generic switch as data source.

Request

Request

URL

URL


post
https://vrni.example.com/api/ni/data-sources/generic-switches
Copy

Request Body

Request Body

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

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

201 Created

Returns GenericSwitchDataSource of type(s) application/json
This response body class contains all of the following: BaseDataSource
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 '{"enabled":false,"fqdn":"your.domain.com","ip":"192.168.10.1","nickname":"vc1","notes":"Located in DC1","proxy_id":"1000:104:12313412"}' https://vrni.example.com/api/ni/data-sources/generic-switches


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

Was this page helpful?