Add Rmq Configuration
Add new RabbitMQ (RMQ) configuration for VCD deployments. Tests RMQ connectivity with and without trust-all certificates. If connection succeeds only with trust-all, returns a warning to import RMQ certificate manually. This is a single-item configuration (only one RMQ can be configured).
{
"data": {
"items": [
{
"config": {
"vhost": "/vcd_tenant",
"hosts": [
{
"host": "rmq.vcd.example.com",
"port": "5672",
"userName": "admin",
"password": "Uk1RUGFzc3dvcmQxMjMh"
}
]
}
}
]
}
}
data
RMQ configuration created successfully
{
"data": {
"items": [
{
"config": {
"vhost": "string",
"UUID": "string",
"hosts": [
{
"host": "string",
"port": "string"
}
]
},
"section": "string"
}
]
}
}
data
Bad request - validation failed or connection test failed
{
"isSuccess": false,
"message": "Request schema validation failed",
"httpStatusCode": 400
}
Indicates if the operation was successful
Human-readable error message
HTTP status code
Internal server error - configuration save failed
{
"isSuccess": false,
"message": "Unable to save RMQ 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/rmq