VMware Cloud Director API - PUT-GeneralSettings
PUT /admin/org/{id}/settings/general
- Operation:
- PUT /admin/org/{id}/settings/general
- Description:
- Update other organization settings.
- Since:
- 1.5
- Input parameters
-
- Consume media type(s):
-
application/vnd.vmware.admin.organizationGeneralSettings+xml
application/vnd.vmware.admin.organizationGeneralSettings+json
- Input type:
- OrgGeneralSettingsType
- Output parameters
-
{@link JAXBElement
}
- Produce media type(s):
-
application/vnd.vmware.admin.organizationGeneralSettings+xml
application/vnd.vmware.admin.organizationGeneralSettings+json
- Output type:
- OrgGeneralSettingsType
- Examples
-
- Request
-
HTTP 1.1
PUT /api/admin/org/7cc8d565-1203-49bd-b50c-24e0acbaeb5a/settings/general
Headers:
Content-Length: 951
Content-Type: application/vnd.vmware.admin.organizationGeneralSettings+xml; charset=ISO-8859-1
x-vcloud-authorization: FQMWZgFq5mhMRSpt2ecxnsAXTxRpxdbZ/z2u6uwEH+w=
Body:
<?xml version="1.0" encoding="UTF-8"?><vcloud:GeneralOrgSettings
xmlns:vcloud="http://www.vmware.com/vcloud/v1.5"
href="https://vcloud.example.com/api/admin/org/7cc8d565-1203-49bd-b50c-24e0acbaeb5a/settings/general"
type="application/vnd.vmware.admin.organizationGeneralSettings+xml">
<vcloud:Link
href="https://vcloud.example.com/api/admin/org/7cc8d565-1203-49bd-b50c-24e0acbaeb5a/settings/general"
rel="edit"
type="application/vnd.vmware.admin.organizationGeneralSettings+xml"/>
<vcloud:CanPublishCatalogs>true</vcloud:CanPublishCatalogs>
<vcloud:CanPublishExternally>false</vcloud:CanPublishExternally>
<vcloud:CanSubscribe>false</vcloud:CanSubscribe>
<vcloud:DeployedVMQuota>10</vcloud:DeployedVMQuota>
<vcloud:StoredVmQuota>15</vcloud:StoredVmQuota>
<vcloud:UseServerBootSequence>false</vcloud:UseServerBootSequence>
<vcloud:DelayAfterPowerOnSeconds>1</vcloud:DelayAfterPowerOnSeconds>
</vcloud:GeneralOrgSettings>
- Response
-
HTTP/1.1 200 OK
Headers:
Content-Length: 981
Content-Type: application/vnd.vmware.admin.organizationgeneralsettings+xml;version=5.5
Vary: Accept-Encoding
Body:
<?xml version="1.0" encoding="UTF-8"?><GeneralOrgSettings
xmlns="http://www.vmware.com/vcloud/v1.5"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
href="https://vcloud.example.com/api/admin/org/7cc8d565-1203-49bd-b50c-24e0acbaeb5a/settings/general"
type="application/vnd.vmware.admin.organizationGeneralSettings+xml"
xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://https://vcloud.example.com/api/v1.5/schema/master.xsd">
<Link
href="https://vcloud.example.com/api/admin/org/7cc8d565-1203-49bd-b50c-24e0acbaeb5a/settings/general"
rel="edit"
type="application/vnd.vmware.admin.organizationGeneralSettings+xml"/>
<CanPublishCatalogs>true</CanPublishCatalogs>
<CanPublishExternally>false</CanPublishExternally>
<CanSubscribe>false</CanSubscribe>
<DeployedVMQuota>10</DeployedVMQuota>
<StoredVmQuota>15</StoredVmQuota>
<UseServerBootSequence>false</UseServerBootSequence>
<DelayAfterPowerOnSeconds>1</DelayAfterPowerOnSeconds>
</GeneralOrgSettings>