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

Save Product DNS Settings Data V2

Description

This API is used to save product DNS settings.

Request

Request

URL

URL


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

Request Body

Request Body

DNSConfigurationDTO of type(s) application/json Required

dnsConfigurationDTO

{
    "hostName": "IP address of DNS server",
    "name": "dns-server1"
}
string
hostName Optional

DNS hostname


string
name Optional

DNS name

Authentication

Authentication

This operation uses the following authentication methods.

Authorization

Scopes: global

Response

Response

Response Body

Response 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

Errors

Errors

400

Bad Request


401

Unauthorized


403

Forbidden


404

Not Found



500

Internal Server Error

Code Samples

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
Settings Controller Operations
Feedback

Was this page helpful?