VMware Cloud Director API - PUT-OrgOperationLimitsSettings
PUT /admin/org/{id}/settings/operationLimitsSettings
- Operation:
- PUT /admin/org/{id}/settings/operationLimitsSettings
- Description:
- Update organization operation limits settings.
- Since:
- Input parameters
-
- Consume media type(s):
-
application/vnd.vmware.admin.orgOperationLimitsSettings+xml
application/vnd.vmware.admin.orgOperationLimitsSettings+json
- Input type:
- OrgOperationLimitsSettingsType
- Output parameters
-
JAXBElement
- Produce media type(s):
-
application/vnd.vmware.admin.orgOperationLimitsSettings+xml
application/vnd.vmware.admin.orgOperationLimitsSettings+json
- Output type:
- OrgOperationLimitsSettingsType
- Examples
-
- Request
-
HTTP 1.1
PUT /api/admin/org/7cc8d565-1203-49bd-b50c-24e0acbaeb5a/settings/operationLimitsSettings
Headers:
Content-Length: 339
Content-Type: application/vnd.vmware.admin.operationLimitsSettings+xml; charset=ISO-8859-1
x-vcloud-authorization: FQMWZgFq5mhMRSpt2ecxnsAXTxRpxdbZ/z2u6uwEH+w=
Body:
<?xml version="1.0" encoding="UTF-8"?><vcloud:OrgOperationLimitsSettings
xmlns:vcloud="http://www.vmware.com/vcloud/v1.5">
<vcloud:ConsolesPerVmLimit>1</vcloud:ConsolesPerVmLimit>
<vcloud:OperationsPerUser>2</vcloud:OperationsPerUser>
<vcloud:OperationsPerOrg>10</vcloud:OperationsPerOrg>
</vcloud:OrgOperationLimitsSettings>
- Response
-
HTTP/1.1 200 OK
Headers:
Content-Length: 983
Content-Type: application/vnd.vmware.admin.operationlimitssettings+xml;version=5.5
Vary: Accept-Encoding
Body:
<?xml version="1.0" encoding="UTF-8"?><OrgOperationLimitsSettings
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/operationLimitsSettings"
type="application/vnd.vmware.admin.operationLimitsSettings+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"
rel="up"
type="application/vnd.vmware.admin.orgSettings+xml"/>
<Link
href="https://vcloud.example.com/api/admin/org/7cc8d565-1203-49bd-b50c-24e0acbaeb5a/settings/operationLimitsSettings"
rel="edit"
type="application/vnd.vmware.admin.operationLimitsSettings+xml"/>
<ConsolesPerVmLimit>1</ConsolesPerVmLimit>
<OperationsPerUser>2</OperationsPerUser>
<OperationsPerOrg>10</OperationsPerOrg>
</OrgOperationLimitsSettings>