To add an endpoint to the endpoint collection, the client should perform a POST request on the collection, with the new endpoint's details in the request body, in JSON format.
Request syntax:
POST <endpointlist-url>
{"ip":"<IP>","os":"<OS>","osFullName":"<osFullName>","name":"<name>","dnsname":"<hostname>"}
Example:
URL: https://<CORE_SERVER>/vmanage-server/rest/rest-api/servers/
The above parameters are:
Parameter |
Description |
---|---|
|
Endpoint's IP address |
|
Endpoint's operating system. Use either a guest OS identifier as defined in the VMware vSphere SDK, or any string containing the OS' commercial name and the phrase 64-bit or 32-bit Example: "WINDOWS_SERVER_2022" |
<OSFullName> |
Example: "Windows" |
|
A descriptive name for the endpoint, which will appear in the endpoint list, in the Name column |
|
Endpoint's DNS hostname |
The response includes a new endpoint object, with URLs that can be used in subsequent requests. If this endpoint needs non-default credentials, the client should assign them. To be able to deploy management services to this endpoint, the client needs to first deploy a connector to the endpoint.
Comments
0 comments
Please sign in to leave a comment.