[{"label":"Latest (v36.3)","version":"latest"},{"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

Description

Creates a proxy configuration.

Request

Request

URL

URL


post
https://{api_host}/cloudapi/1.0.0/proxyConfigurations
Copy

Request Body

Request Body

ProxyConfiguration of type(s) application/json Required

The new proxy configuration API model.

{
	"authType": "BASIC",
	"host": "sampleProxy.vmware.com",
	"name": "Proxy Sample Name",
	"password": "string",
	"port": 0
}
string
authType Required

Possible values are: BASICBEARER


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

Authentication

This operation uses the following authentication methods.

Response

Response

202 Accepted

The request have been accepted and the task to monitor the request is in the Location header.

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"authType":"BASIC","description":"Configuration to connect to VC-1","host":"sampleProxy.vmware.com","id":"string","name":"Proxy Sample Name","password":"string","port":0,"token":"string","username":"string"}' https://{api_host}/cloudapi/1.0.0/proxyConfigurations


[{"label":"Latest (v36.3)","version":"latest"},{"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
Feedback

Was this page helpful?