Summary:
Gets second-level disk quota.
Request specification:
Name |
Min/Max |
Type |
Description |
|
|
|
|
|
|
|
|
|
|
Server ID. |
|
|
|
|
User or group ID to get the quota for. |
|
|
|
Specifies whether the
|
|
|
|
|
Returns:
Name |
Min/Max |
Type |
Description |
|
|
The requested second-level quota info. |
Description:
Virtuozzo supports two levels of disk quotas that can be set for a Container: first-level quotas and second-level quotas.
First-level quotas enable system administrator to limit the amount of disk space and the number of inodes that an individual Container can use. First-level quotas are enabled in Virtuozzo by default but can be turned on or off for an individual Container through Container configuration.
Second-level quotas allow to limit the amount of disk space and the number of inodes that an individual user or a group in a Container is allowed to use.
Example:
Getting second-level disk quota for the user "root" in the specified Container.
Input:
<packet version="4.0.0" id="2">
<target>vzaenvm</target>
<data>
<vzaenvm>
<get_ugid_quota
>
<eid>6dbd99dc-f212-45de-a5f4-ddb78a2b5280</eid>
<id>0</id>
<type>0</type>
</get_ugid_quota
>
</vzaenvm>
</data>
</packet>