Get Proxy
Gets the proxy configuration for a specific protocol.
Request
URLURL
Path Parameters
Path Parameters
The protocol whose proxy configuration is requested.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Response
Response BodyResponse Body
Proxy configuration for a specific protocol.
{
"enabled": false,
"password": "string",
"port": 0,
"server": "string",
"username": "string"
}
In the result of the #get and #list operations this field indicates whether proxying is enabled for a particular protocol. In the input to the test and set operations this field specifies whether proxying should be enabled for a particular protocol.
Port to connect to the proxy server. In a ‘get’ call, indicates the port connected to the proxy server. In a ‘set’ call, specifies the port to connect to the proxy server. A value of -1 indicates the default port.
URL of the proxy server
Password for proxy server. Only set if proxy requires password.
Username for proxy server. Only set if proxy requires username.
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: get
x-vmw-doc-deprecated-path: /rest/appliance/networking/proxy/{protocol}
x-vmw-doc-operation: get