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

Update PKS

Description

Update an VMware Tanzu Kubernetes Grid Integrated data source

Request

Request

URL

URL


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

Path Parameters

Path Parameters

string
id Required

The Entity ID of object requestion information on


Request Body

Request Body

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

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

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

Errors

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 '{"PKSDataSource":{"credentials":{"password":"thePassword","username":"admin@vsphere.local"},"enabled":true,"entity_id":"1000:904:12890123","entity_type":"PKSDataSource","fqdn":"go.pks.org","ip":"192.168.10.1","nickname":"my nickname","notes":"my notes","proxy_id":"1000:104:12313412"},"credentials":{"password":"thePassword","username":"admin@vsphere.local"},"enabled":true,"entity_id":"1000:904:12890123","entity_type":"PKSDataSource","fqdn":"go.pks.org","ip":"192.168.10.1","nickname":"my nickname","notes":"my notes","proxy_id":"1000:104:12313412"}' https://vrni.example.com/api/ni/data-sources/pks/{id}


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

Was this page helpful?