[{"label":"Latest (6.4.0)","version":"latest"}]
vrealize-network-insight-api
Add Fortinet Firewall
DescriptionAdd Fortinet firewall as data source
Request
URLURL
https://vrni.example.com/api/ni/data-sources/fortinet-firewalls
Request Body
Request Body
FortinetFirewallDataSourceRequest
of type(s) application/json
Optional
Add a Fortinet Firewall 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
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
201 Created
Returns
FortinetFirewallDataSource
of type(s) application/json
This response body class contains all of the following:
SwitchDataSource
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 '{"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/fortinet-firewalls
[{"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