[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Create Proxy Configuration
DescriptionCreates a proxy configuration.
Request
URLURL
https://{api_host}/cloudapi/1.0.0/proxyConfigurations
Request Body
Request Body
{
"host": "sampleProxy.vmware.com",
"name": "Proxy Sample Name"
}
string
authType
Required
Possible values are: BASIC , BEARER
string
host
Required
hostname of the proxy server.
string as .*[\S].*
name
Required
string
password
Required
password to connect to the proxy server, when auth type is Basic.
integer
port
Required
port of the proxy server.
string
description
Optional
Optional description.
string
id
Optional
string
token
Optional
authentication token to connect to the proxy server, when auth type is Bearer.
string
username
Optional
username to connect to the proxy server.
Authentication
This operation uses the following authentication methods.
No error details were provided in the OpenAPI specification.
Code SamplesCode Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"description":"Configuration to connect to VC-1","host":"sampleProxy.vmware.com","name":"Proxy Sample Name"}' https://{api_host}/cloudapi/1.0.0/proxyConfigurations
[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Availability
Added in 34.0