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

Save LCM NTP Settings Data V2

Description

This API is used to save vRSLCM Time Settings.

Request

Request

URL

URL


post
https://localhost:8080/lcm/lcops/api/v2/settings/system-details/time
Copy

Request Body

Request Body

LcmNtpConfigurationDTO of type(s) application/json Required

lcmNtpConfigurationDTO

{
	"dateTime": "Sun Jul 26 18:31:13 UTC 2020",
	"ntpServerEnabled": true,
	"ntpServerStarted": false,
	"ntpServers": "ntp-server1",
	"syncWithHost": false
}
string
dateTime Optional

Date Time


boolean
ntpServerEnabled Optional

NTP Server Enabled


boolean
ntpServerStarted Optional

NTP Server Started


string
ntpServers Optional

NTP Servers


boolean
syncWithHost Optional

Sync With Host

Authentication

Authentication

This operation uses the following authentication methods.

Authorization

Scopes: global

Response

Response

Response Body

Response Body

201 Created returns LcmNtpConfigurationDTO of type(s) application/json
{
	"dateTime": "Sun Jul 26 18:31:13 UTC 2020",
	"ntpServerEnabled": true,
	"ntpServerStarted": false,
	"ntpServers": "ntp-server1",
	"syncWithHost": false
}
string
dateTime Optional

Date Time


boolean
ntpServerEnabled Optional

NTP Server Enabled


boolean
ntpServerStarted Optional

NTP Server Started


string
ntpServers Optional

NTP Servers


boolean
syncWithHost Optional

Sync With Host

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 '{"dateTime":"Sun Jul 26 18:31:13 UTC 2020","ntpServerEnabled":true,"ntpServerStarted":false,"ntpServers":"ntp-server1","syncWithHost":false}' https://localhost:8080/lcm/lcops/api/v2/settings/system-details/time


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

Was this page helpful?