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:
- The site-id node is required. It specifies the site ID in Plesk database. Data type: integer.
- The site-alias-id is required. It specifies the site alias ID in Plesk database. For information on site aliases, refer to the Supported Operations: Managing Site Aliases section. Data type: integer.
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.
Leave your comments on this page
Leave your feedback or question on this documentation topic below. For technical assistance, contact your hosting service provider or submit a request to Plesk support. Suggest new features for Plesk here. Discuss general questions on the Plesk forum. All offtopic comments will be removed.