[{"label":"Latest (6.4.0)","version":"latest"}]
vrealize-network-insight-api
Validate Connections via Web Proxy
DescriptionValidate the connections with the updated web proxy settings. Only admin users can perform this action.
Request
URLURL
https://vrni.example.com/api/ni/settings/proxy-servers/{id}/validate-entities
Path Parameters
Path Parameters
string
id
Required
The Entity ID of object requestion information on
Request Body
Request Body
{
"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
This operation uses the following authentication methods.
Response
Response
Response BodyResponse 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"
}
]
}
Errors
ApiError
401
Unauthorized
ApiError
404
Not Found
ApiError
500
Internal Error
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
On This Page
Settings Operations
post
post
post
post
post
post
post
delete
delete
delete
delete
delete
delete
delete
delete
delete
delete
post
post
get
get
get
get
get
get
get
get
get
get
get
post
put