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

Add OpenShift Datasource

Description

Add an OpenShift data source

Request

Request

URL

URL


post
https://vrni.example.com/api/ni/data-sources/openshift-clusters
Copy

Request Body

Request Body

KubernetesDataSourceRequest of type(s) application/json Optional
This request body class requires all of the following: KubernetesSourceRequest, InlineKubernetesDataSourceRequest1
Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

201 Created

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

Errors

ApiError
400

Bad Request


401

Unauthorized


403

Forbidden


500

Internal Error

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"credentials":{"kubeconfig":"v1 | "},"enabled":false,"manager_id":"18230:3:187309184","nickname":"vc1","notes":"Located in DC1","proxy_id":"1000:104:12313412"}' https://vrni.example.com/api/ni/data-sources/openshift-clusters


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

Was this page helpful?