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

Validate Connections via Web Proxy

Description

Validate the connections with the updated web proxy settings. Only admin users can perform this action.

Request

Request

URL

URL


post
https://vrni.example.com/api/ni/settings/proxy-servers/{id}/validate-entities
Copy

Path Parameters

Path Parameters

string
id Required

The Entity ID of object requestion information on


Request Body

Request Body

WebProxyRequest of type(s) application/json Required

Web Proxy Details to be updated

{
    "auth_type": "Basic/NTLM",
    "nick_name": "AWS web Proxy",
    "password": "admin",
    "proxy_type": "HTTP",
    "target_ip": "10.11.11.102",
    "target_port": 161,
    "use_credentials": true,
    "user_name": "admin"
}
string
auth_type Optional

Type of authentication. [Permitted Values - Basic/NTLM]


string
nick_name Optional

Descriptor or identifier for particular web proxy. It should be unique


string
password Optional

Password for web proxy authentication


string
proxy_type Optional

Type of web Proxy being configured. [Permitted Values - HTTP/HTTPS]


string
target_ip Optional

IP address of web Proxy server


integer
target_port Optional

Port number of web Proxy server


boolean
use_credentials Optional

Credentials required for this web proxy


string
user_name Optional

Username for web proxy authentication

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns ValidateConnectionViaWebProxyResponseList of type(s) application/json
{
	"results": [
		{
			"entity_id": "10000:1:15332641552",
			"entity_type": "DataSource",
			"error_code": -1,
			"identifier": "10.98.101.59",
			"message": "string",
			"name": "vcenter",
			"status": "PASS"
		}
	]
}
results Optional
Errors

Errors

ApiError
401

Unauthorized


ApiError
404

Not Found


ApiError
500

Internal Error

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"auth_type":"Basic/NTLM","nick_name":"AWS web Proxy","password":"admin","proxy_type":"HTTP","target_ip":"10.11.11.102","target_port":161,"use_credentials":true,"user_name":"admin"}' https://vrni.example.com/api/ni/settings/proxy-servers/{id}/validate-entities


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

Was this page helpful?