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

Update Product DNS Settings V2

Description

This API is used to update a product DNS settings. Its recommended to trigger get DNS settings API, before performing this operation.

Request

Request

URL

URL


put
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

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

Errors

400

Bad Request


401

Unauthorized


403

Forbidden


404

Not Found



500

Internal Server Error

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

Was this page helpful?