[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager

Save Proxy Settings Data V2

Description

This API is used to save proxy settings.

Request

Request

URL

URL


post
https://localhost:8080/lcm/lcops/api/v2/settings/proxies
Copy

Request Body

Request Body

ProxyConfigurationDTO of type(s) application/json Required

proxyConfigurationDTO

{
    "hostName": "FQDN/IP of proxy server",
    "password": "locker:password:<vmid>:<alias>",
    "proxyEnabled": true,
    "proxyEnabledInContentMgmt": true,
    "userName": "admin@local"
}
string
hostName Optional

Proxy hostname


string
password Optional

Proxy Server password


integer as int32
port Optional

Port


boolean
proxyEnabled Optional

Proxy enabled


boolean
proxyEnabledInContentMgmt Optional

Proxy enabled in content management


string
userName Optional

Proxy server username

Authentication

Authentication

This operation uses the following authentication methods.

Authorization

Scopes: global

Response

Response

Response Body

Response Body

200 OK

Returns ProxyConfigurationDTO of type(s) application/json
{
    "hostName": "FQDN/IP of proxy server",
    "password": "locker:password:<vmid>:<alias>",
    "proxyEnabled": true,
    "proxyEnabledInContentMgmt": true,
    "userName": "admin@local"
}
string
hostName Optional

Proxy hostname


string
password Optional

Proxy Server password


integer as int32
port Optional

Port


boolean
proxyEnabled Optional

Proxy enabled


boolean
proxyEnabledInContentMgmt Optional

Proxy enabled in content management


string
userName Optional

Proxy server username


201 Created

Created

Errors

Errors

GenericErrorResponseDTO
400

Bad Request


401

Unauthorized


403

Forbidden


GenericErrorResponseDTO
404

Not Found


GenericErrorResponseDTO
500

Internal Server Error

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"hostName":"FQDN/IP of proxy server","password":"locker:password:<vmid>:<alias>","proxyEnabled":true,"proxyEnabledInContentMgmt":true,"userName":"admin@local"}' https://localhost:8080/lcm/lcops/api/v2/settings/proxies


[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager
Settings Controller Operations
Feedback

Was this page helpful?