VMware Cloud Director API - PUT-AmqpSettings
PUT /admin/extension/settings/amqp
- Operation:
- PUT /admin/extension/settings/amqp
- Description:
- Update system AMQP settings.
- Since:
- 1.5
- Deprecated:
- 39.0
- Input parameters
-
The representation of the AMQP settings that will be updated.
- Consume media type(s):
-
application/vnd.vmware.admin.amqpSettings+xml
application/vnd.vmware.admin.amqpSettings+json
- Input type:
- AmqpSettingsType
- Output parameters
-
{@link JAXBElement
}
- Produce media type(s):
-
application/vnd.vmware.admin.amqpSettings+xml
application/vnd.vmware.admin.amqpSettings+json
- Output type:
- AmqpSettingsType
- Examples
-
- Request
-
HTTP 1.1
PUT /api/admin/extension/settings/amqp
Headers:
x-vcloud-authorization: uuPYGJjug4nRJkqeRvWgTVKJnr9DTtn8U/74GsHp1TE=
Body:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns9:AmqpSettings
xmlns="http://www.vmware.com/vcloud/versions" xmlns:ns2="http://schemas.dmtf.org/ovf/envelope/1" xmlns:ns3="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" xmlns:ns4="http://schemas.dmtf.org/wbem/wscim/1/common" xmlns:ns5="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:ns6="http://www.vmware.com/vcloud/v1.5" xmlns:ns7="http://www.vmware.com/schema/ovf" xmlns:ns8="http://schemas.dmtf.org/ovf/environment/1" xmlns:ns9="http://www.vmware.com/vcloud/extension/v1.5">
<ns9:AmqpHost>10.26.61.56</ns9:AmqpHost>
<ns9:AmqpPort>5671</ns9:AmqpPort>
<ns9:AmqpUsername>guest</ns9:AmqpUsername>
<ns9:AmqpPassword>guest</ns9:AmqpPassword>
<ns9:AmqpExchange>systemExchange</ns9:AmqpExchange>
<ns9:AmqpVHost>/</ns9:AmqpVHost>
<ns9:AmqpUseSSL>true</ns9:AmqpUseSSL>
<ns9:AmqpSslAcceptAll>false</ns9:AmqpSslAcceptAll>
<ns9:AmqpPrefix>vcd</ns9:AmqpPrefix>
</ns9:AmqpSettings>
- Response
-
HTTP/1.1 200 OK
Headers:
Content-Length: 1767
Content-Type: application/vnd.vmware.admin.amqpSettings+xml; version=5.5
Vary: Accept-Encoding
Body:
<?xml version="1.0" encoding="UTF-8"?>
<vmext:AmqpSettings
xmlns:vmext="http://www.vmware.com/vcloud/extension/v1.5"
xmlns:vcloud="http://www.vmware.com/vcloud/v1.5"
type="application/vnd.vmware.admin.amqpSettings+xml"
href="https://vcloud.example.com/api/admin/extension/settings/amqp"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.vmware.com/vcloud/extension/v1.5 http://vcloud.example.com/api/v1.5/schema/vmwextensions.xsd http://www.vmware.com/vcloud/v1.5 http://vcloud.example.com/api/v1.5/schema/master.xsd">
<vcloud:Link
rel="test"
type="application/vnd.vmware.admin.amqpSettings+xml"
href="https://vcloud.example.com/api/admin/extension/settings/amqp/action/test"/>
<vcloud:Link
rel="certificate:update"
type="application/vnd.vmware.admin.certificateUpdateParams+xml"
href="https://vcloud.example.com/api/admin/extension/settings/amqp/action/updateAmqpCertificate"/>
<vcloud:Link
rel="certificate:reset"
href="https://vcloud.example.com/api/admin/extension/settings/amqp/action/resetAmqpCertificate"/>
<vcloud:Link
rel="truststore:update"
type="application/vnd.vmware.admin.trustStoreUpdateParams+xml"
href="https://vcloud.example.com/api/admin/extension/settings/amqp/action/updateAmqpTruststore"/>
<vcloud:Link
rel="truststore:reset"
href="https://vcloud.example.com/api/admin/extension/settings/amqp/action/resetAmqpTruststore"/>
<vmext:AmqpHost>10.26.61.56</vmext:AmqpHost>
<vmext:AmqpPort>5671</vmext:AmqpPort>
<vmext:AmqpUsername>guest</vmext:AmqpUsername>
<vmext:AmqpExchange>systemExchange</vmext:AmqpExchange>
<vmext:AmqpVHost>/</vmext:AmqpVHost>
<vmext:AmqpUseSSL>true</vmext:AmqpUseSSL>
<vmext:AmqpSslAcceptAll>false</vmext:AmqpSslAcceptAll>
<vmext:AmqpPrefix>vcd</vmext:AmqpPrefix>
</vmext:AmqpSettings>