Vcenterpost

Vcenterpost

Attaches a vCenter to the given Data Center and triggers the vCenter data colletion

Request
URI
POST
https://{api_host}/lcm/api/v1/action/add/vc
COPY
Header Parameters
string
x-xenon-auth-token
Optional

Authorization Token (required if no authorization cookie)


Request Body

vCenter Details. (Valid values for type are : 1 for Management vC, 2 for Payload vC and 3 for both Management and Payload vC)

{
    "datacenterName": "BANGALORE_DATA_CENTER",
    "vCenterName": "lcm-vc.domain.local",
    "userName": "admin@localhost",
    "password": "VMware1!",
    "type": 3
}
Responses
200

Operation successful

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure