Apache CloudStack 4.0.0-incubating Root Admin API Reference
updateResourceLimit
Updates resource limits for an account or domain.
Request parameters
Parameter Name | Description | Required |
resourcetype | Type of resource to update. Values are 0, 1, 2, 3, and 4. 0 - Instance. Number of instances a user can create. 1 - IP. Number of public IP addresses a user can own. 2 - Volume. Number of disk volumes a user can create.3 - Snapshot. Number of snapshots a user can create.4 - Template. Number of templates that a user can register/create. | true |
account | Update resource for a specified account. Must be used with the domainId parameter. | false |
domainid | Update resource limits for all accounts in specified domain. If used with the account parameter, updates resource limits for a specified account in specified domain. | false |
max | Maximum resource limit. | false |
projectid | Update resource limits for project | false |
Response Tags
Response Name | Description |
account | the account of the resource limit |
domain | the domain name of the resource limit |
domainid | the domain ID of the resource limit |
max | the maximum number of the resource. A -1 means the resource currently has no limit. |
project | the project name of the resource limit |
projectid | the project id of the resource limit |
resourcetype | resource type. Values include 0, 1, 2, 3, 4. See the resourceType parameter for more information on these values. |