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

Add Brocade Switch

Description

Add Brocade switch as a data source

Request

Request

URL

URL


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

Request Body

Request Body

BrocadeSwitchDataSourceRequest of type(s) application/json Optional

Add a Brocade 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
Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

201 Created

Returns BrocadeSwitchDataSource of type(s) application/json
This response body class contains all of the following: SwitchDataSource
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 '{"config_polling_interval_in_min":"10","config_polling_interval_type":"PRESET","credentials":{"password":"VMware1!","username":"readonly"},"enabled":false,"fqdn":"your.domain.com","ip":"192.168.10.1","nickname":"vc1","notes":"Located in DC1","proxy_id":"1000:104:12313412","scheduled_config_polling_days":"MONDAY,TUESDAY","scheduled_config_polling_time":"2:00"}' https://vrni.example.com/api/ni/data-sources/brocade-switches


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

Was this page helpful?