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

Update vCenter

Description

Update a vcenter data source. Only nickname, notes and credentials can be updated.

Request

Request

URL

URL


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

Path Parameters

Path Parameters

string
id Required

The Entity ID of object requestion information on


Request Body

Request Body

VCenterDataSource of type(s) application/json Optional
This request body class requires all of the following: BaseDataSource, InlineVCenterDataSource1
Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns VCenterDataSource of type(s) application/json
This response body class contains all of the following: BaseDataSource, InlineVCenterDataSource1
Errors

Errors

ApiError
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 '{"credentials":{"password":"thePassword","username":"admin@vsphere.local"},"enabled":true,"entity_id":"1000:902:12890123","entity_type":"VCenterDataSource","fqdn":"go.vc.org","ip":"192.168.10.1","is_vmc":false,"nickname":"vc1","notes":"VC 1","proxy_id":"1000:104:12313412"}' https://vrni.example.com/api/ni/data-sources/vcenters/{id}


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

Was this page helpful?