Add Vcd Configuration
Add new VMware Cloud Director (VCD) configuration. Validates VCD connectivity, retrieves and populates VCD components (public URL, AMQP details). Automatically enriches configuration with systemExchange, systemPrefix, and UI EndPoint from VCD.
{
"data": {
"items": [
{
"config": {
"url": "https://vcd.example.com",
"userName": "administrator",
"password": "VkNEUGFzc3dvcmQxMjMh"
}
}
]
}
}
data
VCD configuration created successfully
{
"data": {
"items": [
{
"section": "vcd",
"config": {
"userName": "administrator",
"url": "https://vcd.example.com",
"publicUrlBase": "https://vcd.example.com",
"uiEndPoint": "https://vcd.example.com/cloud",
"systemExchange": "systemExchange",
"systemPrefix": "vcd",
"UUID": "e5f6a7b8-c9d0-1234-ef12-345678901234"
}
}
]
}
}
data
Bad request - validation failed, duplicate VCD, invalid credentials, VCD components validation failed, or SSL certificate error
{
"isSuccess": false,
"message": "Request schema validation failed",
"httpStatusCode": 400
}
Internal server error - configuration save failed
{
"isSuccess": false,
"message": "Unable to save VCD configuration",
"httpStatusCode": 500
}
Indicates if the operation was successful
Human-readable error message
HTTP status code
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/api/admin/global/config/vcd