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

Update Proxy Settings V2

Description

This API is used to update proxy settings. Its recommended to trigger get proxy settings, to view existing proxy settings before performing this operation.

Request

Request

URL

URL


put
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

400

Bad Request


401

Unauthorized


403

Forbidden


404

Not Found

Code Samples

Code Samples

cURL Command

curl -X PUT -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?