appliance networking proxy: config
The
config
structure defines proxy configuration. This structure was added in vSphere API 6.7.Representation:
{
"server" : "string",
"password" : "secret string",
"port" : 1,
"enabled" : true,
"username" : "string"
}
"server" : "string",
"password" : "secret string",
"port" : 1,
"enabled" : true,
"username" : "string"
}
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
server | string | URL of the proxy server. This attribute was added in vSphere API 6.7. |
port | long | 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. This attribute was added in vSphere API 6.7. |
enabled | boolean | 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. This attribute was added in vSphere API 6.7. |
Optional | ||
username | string | Username for proxy server. This attribute was added in vSphere API 6.7. Optional. Only set if proxy requires username. |
password | secret | Password for proxy server. This attribute was added in vSphere API 6.7. Optional. Only set if proxy requires password. |