Create Proxy Configuration
Creates a proxy configuration.
Request
URI
POST
https://{api_host}/cloudapi/1.0.0/proxyConfigurations
COPY
Request Body
The new proxy configuration API model.
ProxyConfiguration of type(s) application/json
Required
{
"name": "Proxy Sample Name",
"id": "string",
"description": "Configuration to connect to VC-1",
"authType": "string",
"username": "string",
"password": "string",
"token": "string",
"host": "sampleProxy.vmware.com",
"port": 0
}
string As .*[\S].*
name
Required
name
string
id
Optional
id
string
description
Optional
Optional description.
string
authType
Required
the type of authentication. 'NO_AUTH' is for an unauthenticated proxy, 'BASIC' is for basic authentication.
string
username
Optional
username to connect to the proxy server.
string
password
Required
password to connect to the proxy server, when auth type is Basic.
string
token
Optional
authentication token to connect to the proxy server, when auth type is Bearer.
string
host
Required
hostname of the proxy server.
integer
port
Required
port of the proxy server.
Responses
202
The request have been accepted and the task to monitor the request is in the Location header.
Operation doesn't return any data structure
Availability
Added in 34.0
Proxy Configuration Operations
POST
Create Proxy Configuration
DELETE
Delete Proxy Configuration
GET
Get Proxy Configuration
GET
Query Proxy Configurations
PUT
Update Proxy Configuration