Set Proxy
Configures which proxy server to use for the specified protocol. This operation sets environment variables for using proxy. In order for this configuration to take effect a logout / service restart is required.
Request
URLURL
Path Parameters
Path Parameters
The protocol for which proxy should be set.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Request Body
Proxy configuration for the specific protocol.
{
"enabled": false,
"port": 0,
"server": "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.
Authentication
Errors
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: put
x-vmw-doc-deprecated-path: /rest/appliance/networking/proxy/{protocol}
x-vmw-doc-operation: set