This is documentation for Plesk Onyx.
Go to documentation for the latest version, Plesk Obsidian.
Limits
The limits node is presented by DomainAddonTemplateLimits type
(domain_addon_template.xsd
), and its graphical representation is as
follows:
-
The limit node is optional. It specifies limit parameters. Data type: PleskLimitType (
plesk_client.xsd
).-
The name node is required. It specifies a limit name. Data type: sting.
-
The value node is required. It specifies a limit value. Data type: any.
Note: You can specify multiple limit parameters within one limits node.
-
The following code example specifies the limits overuse policy and the mailbox quota limit:
<limits>
<overuse>block</overuse>
<limit>
<name>mbox_quota</name>
<value>100</value>
</limit>
</limits>
Note: To manage limits, you should first retrieve limits descriptor, containing names of limits. For details, refer to the Retrieving Descriptor of Limits section.