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

Add Cisco Switch

Description

Add Cisco switch as 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

Request

URL

URL


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

Request Body

Request Body

CiscoSwitchDataSourceRequest of type(s) application/json Optional

Add a Cisco switch as datasource.

  • ’notes’ is an optional parameter.
  • ‘config_polling_interval_in_min’, ‘config_polling_interval_type’, scheduled_config_polling_time, scheduled_config_polling_days are optional parameters. Default polling interval will be set if value is not provided in the parameters.
  • ‘config_polling_interval_type’ can be [PRESET, CUSTOM, SCHEDULED]
  • For ‘config_polling_interval_type’ = ‘PRESET’, ‘config_polling_interval_in_min’ should be in - [10 min, 15 min, 30 min, 1 hour, 12 hours, 1 day, 3 days, 5 days, 7 days].
  • For ‘config_polling_interval_type’ = ‘CUSTOM’, ‘config_polling_interval_in_min’ should be in - Minimum- 10 minutes, Maximum- 7 days
  • For ‘config_polling_interval_type’ = ‘SCHEDULED’, scheduled_config_polling_time should be UTC time of the config polling task execution and scheduled_config_polling_days should be comma separated days when the task is desired to be scheduled.

This request body class requires all of the following: SwitchDataSourceRequest, InlineCiscoSwitchDataSourceRequest1
Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

201 Created

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

Errors

ApiError
400

Bad Request


401

Unauthorized


403

Forbidden


ApiError
412

Precondition Failed


500

Internal Error

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{}' https://vrni.example.com/api/ni/data-sources/cisco-switches


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

Was this page helpful?