[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager
Save Product DNS Settings Data V2
DescriptionThis API is used to save product DNS settings.
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
200 OK
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
201 Created
Created
Operation doesn't return any data structure.
Errors
GenericErrorResponseDTO
400
Bad Request
401
Unauthorized
403
Forbidden
404
Not Found
GenericErrorResponseDTO
409
Conflict
GenericErrorResponseDTO
500
Internal Server Error
Code Samples
cURL Command
curl -X POST -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