[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager
Update Product DNS Settings V2
DescriptionThis API is used to update a product DNS settings. Its recommended to trigger get DNS settings API, before performing this operation.
Request
URLURL
https://localhost:8080/lcm/lcops/api/v2/settings/dns
Request Body
Request Body
{
"hostName": "IP address of DNS server",
"name": "dns-server1"
}
string
hostName
Optional
DNS hostname
string
name
Optional
DNS name
Authentication
This operation uses the following authentication methods.
Authorization
Scopes:
global
Response
Response
Response BodyResponse Body
201 Created returns
DNSConfigurationDTO
of type(s) application/json
{
"hostName": "IP address of DNS server",
"name": "dns-server1"
}
string
hostName
Optional
DNS hostname
string
name
Optional
DNS name
Errors
401
Unauthorized
403
Forbidden
Code Samples
Code Samples
cURL Command
curl -X PUT -H "Content-Type: application/json" -d '{"hostName":"IP address of DNS server","name":"dns-server1"}' https://localhost:8080/lcm/lcops/api/v2/settings/dns
[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager
On This Page
Settings Controller Operations
delete
delete
delete
delete