Apache CloudStack 4.23.0.0 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, 4, 6, 7, 8, 9, 10 and 11. 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. 5 - Project. Number of Projects a user can create. 6 - Network. Number of guest Network a user can create. 7 - VPC. Number of VPC a user can create. 8 - CPU. Total number of CPU cores a user can use. 9 - Memory. Total Memory (in MB) a user can use. 10 - PrimaryStorage. Total primary storage space (in GiB) a user can use. 11 - SecondaryStorage. Total secondary storage space (in GiB) a user can use. | 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 |
| tag | Tag for the resource type | 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 |
| domainpath | Path of the domain to which the resource limit belongs |
| 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, 6, 7, 8, 9, 10, 11. See the resourceType parameter for more information on these values. |
| resourcetypename | Resource type name. Values include user_vm, public_ip, volume, Snapshot, Template, project, Network, VPC, CPU, memory, primary_storage, secondary_storage. |
| tag | The tag for the resource limit |