Test Proxy
Tests a proxy configuration by testing the connection to the proxy server and test host.
Request
URLURL
Path Parameters
Path Parameters
Protocol whose proxy is to be tested.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Request Body
This is a request body class for an operation.
{
"config": {
"enabled": false,
"port": 0,
"server": "string"
},
"host": "string"
}
A hostname, IPv4 or Ipv6 address.
Authentication
Response
Response BodyResponse Body
Status of proxy settings.
{
"message": {
"args": [
"string"
],
"default_message": "string",
"id": "string",
"localized": "string",
"params": {
"key": {
"d": 0,
"dt": "string",
"format": "SHORT_DATE",
"i": 0,
"l": {
"id": "string",
"params": "StdLocalizationParam Object"
},
"precision": 0,
"s": "string"
}
}
},
"status": "SERVER_REACHABLE"
}
Proxy.ServerStatus enumerated type defines the status of the server associated with the test run.
SERVER_REACHABLE : Server is reachable.
SERVER_UNREACHABLE : Server is unreachable.
Possible values are: SERVER_REACHABLE , SERVER_UNREACHABLE
Errors
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
cURL Command
Vendor Extensions
x-vmw-doc-deprecated-method: post
x-vmw-doc-deprecated-path: /rest/appliance/networking/proxy/{protocol}?action=test
x-vmw-doc-operation: test