The simpleFilter filter is used to match one or more sites or site aliases by ID. This filter is used in get, set, switch, enable, disable operations. Data type: simpleFilterType (dns_input.xsd
).The graphical representation of the filter node is as follows:
Remarks
You can match multiple sites using this filter. The combination of two filtering rules in one filter node can look as follows:
<filter>
<site-id>1</site-id>
<site-id>12</site-id>
</filter>
You can also match multiple site aliases using this filter. The combination of two filtering rules in one filter node can look as follows:
<filter>
<site-alias-id>1</site-alias-id>
<site-alias-id>12</site-alias-id>
</filter>
Note: You can use either site-id, or site-alias-id when using this filter. The packet that contains both parameters in a single filter node will be considered invalid by Plesk server.