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

Update OpenShift Cluster

Description

Update an OpenShift data source

Request

Request

URL

URL


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

Path Parameters

Path Parameters

string
id Required

The Entity ID of object requestion information on


Request Body

Request Body

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

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns KubernetesDataSource of type(s) application/json
This response body class contains all of the following: ContainerBaseDataSource
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 '{"KubernetesDataSource":{"credentials":{"password":"thePassword","username":"admin@vsphere.local"},"enabled":true,"entity_id":"1000:904:12890123","entity_type":"KubernetesDataSource","manager_id":"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":"KubernetesDataSource","manager_id":"192.168.10.1","nickname":"my nickname","notes":"my notes","proxy_id":"1000:104:12313412"}' https://vrni.example.com/api/ni/data-sources/openshift-clusters/{id}


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

Was this page helpful?