Performance settings are defined by the performance node. This node is specified by complex type DomainPerformanceType (plesk_domain.xsd
). This type is structured as follows:
The following sample packet creates a service plan and defines performance settings for subscriptions that will be created using this service plan:
<packet>
<service-plan>
<add>
<name>base_plan</name>
<gen_setup>
<name>newsubscription.com</name>
<owner-id>1234</owner-id>
<ip_address>123.123.123.123</ip_address>
</gen_setup>
<performance>
<bandwidth>1000</bandwidth>
<max_connections>-1</max_connections>
</performance>
</add>
</service-plan>
</packet>
Important: When creating request packets, put nodes and elements in the order they follow in the packet structure.