Remove AMQP Broker Settings from VMware Cloud Director
search cancel

Remove AMQP Broker Settings from VMware Cloud Director

book

Article ID: 325536

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

Remove AMQP Broker settings from VMware Cloud Director.

Symptoms:
  • You would like to remove AMQP Broker settings from VMware Cloud Director.
  • Cloud Director Provider portal does not allow the AMQP Broker settings to be removed in Administration, Settings, Extensibility, AMQP Broker.


Environment

VMware Cloud Director 10.x

Resolution

To remove the AMQP Broker settings use the Cloud Director API. 
By setting a blank hostname and setting the additional properties to their default values Cloud Director will no longer utilise the AMQP Broker.

To achieve this, run a 'PUT' method to the /admin/extension/settings/amqp API which is detailed in the Cloud Director API documentation here, VMware Cloud Director API - PUT /admin/extension/settings/amqp.
For example:
 
PUT https://vcloud.example.com/api/admin/extension/settings/amqp

Accept: application/*+json;version=38.0

Authorization: Bearer …
Content-Type: application/*+json

{
    "href": https://vcloud.example.com/api/admin/extension/settings/amqp,
    "type": "application/vnd.vmware.admin.amqpSettings+json",
    "amqpHost": "",
    "amqpPort": 5671,
    "amqpUsername": "vcd",
    "amqpPassword": null,
    "amqpExchange": "vcdExchange",
    "amqpVHost": "/",
    "amqpUseSSL": true,
    "amqpPrefix": "vcd",
    "vCloudExtension": []
}


Additional Information

For more information on interacting with the Cloud Director API see the KB article here, How to establish an API connection VMware Cloud Director.