Limits

Limits policy, and limits on use the Plesk resources for resellers created with a reseller plan are specified by the limits node. This node is presented by the ResellerLimits type (reseller.xsd), and its graphical representation is as follows:

The following code example sets the limits overuse policy, and the maximum databases limit:

<limits>
   <resource-policy>
      <overuse>block/overuse>
   </resource-policy>
   <limit>
      <name>max_db</name>
      <value>100</value>
   </limit>
</limits>

 

Note: To manage limits policy and limits on Plesk resources usage for reseller plans, you should first retrieve limits descriptor that contains names of limits. For details, refer to the Managing Subscriptions > Retrieving Descriptor of Limits section.