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

Change NTP Config Pre Validations

Description

Change NTP Config Pre-validations

Request

Request

URL

URL


post
https://localhost:8080/lcm/lcops/api/v2/environments/{environmentId}/products/{productId}/ntpConfig/pre-validate
Copy

Path Parameters

Path Parameters

string
environmentId Required

environmentId


string
productId Required

productId


Request Body

Request Body

ChangeNtpConfigDTO of type(s) application/json Required

changeNtpConfigDTO

{
    "ntpServers": "ntp1.eng.vmware.com,ntp2.eng.vmware.com",
    "timeSyncMode": "host or ntp"
}
string
ntpServers Optional

One or more NTP Servers separated by comma


boolean
preValidate Optional

string
timeSyncMode Optional

Time Sync Mode

Authentication

Authentication

This operation uses the following authentication methods.

Authorization

Scopes: global

Response

Response

Response Body

Response Body

200 OK

Returns GenericRequestResponse of type(s) application/json
{
    "requestId": "a0d8d8cd-ac87-4b5c-ba8b-7a0173c56b55"
}
string
requestId Optional

Request ID


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 '{"ntpServers":"ntp1.eng.vmware.com,ntp2.eng.vmware.com","timeSyncMode":"host or ntp"}' https://localhost:8080/lcm/lcops/api/v2/environments/{environmentId}/products/{productId}/ntpConfig/pre-validate


Feedback

Was this page helpful?