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

Update Mellanox Switch Manager

Description

Update a Mellanox switch data source

Request

Request

URL

URL


put
https://vrni.example.com/api/ni/data-sources/mellanox-switches/{id}
Copy

Path Parameters

Path Parameters

string
id Required

The Entity ID of object requestion information on


Request Body

Request Body

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

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns MellanoxSwitchDataSource of type(s) application/json
This response body class contains all of the following: GDDataSource
Errors

Errors

400

Bad Request


401

Unauthorized


403

Forbidden


404

Not Found


500

Internal Error

Code Samples

Code Samples

cURL Command

curl -X PUT -H "Content-Type: application/json" -d '{"config_polling_interval_in_min":"20","config_polling_interval_type":"CUSTOM","credentials":{"password":"thePassword","username":"readonly"},"enabled":true,"entity_id":"10000:985:12890124","entity_type":"MellanoxSwitchDataSource","fqdn":"mellanox.fqdn.com","ip":"192.168.10.1","nickname":"my nickname","notes":"my notes","proxy_id":"10000:104:12313412","scheduled_config_polling_days":"MONDAY,TUESDAY","scheduled_config_polling_time":"11:45"}' https://vrni.example.com/api/ni/data-sources/mellanox-switches/{id}


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

Was this page helpful?