Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP SQL Anywhere, on-demand edition 1.0 » SAP SQL Anywhere, on-demand edition

 

Rules

Rules are used to enforce business logic and manage resources in the cloud and can be specified for hosts, cloud servers, and databases.

Checking that a rule is valid involves using the rule definition to search for cloud objects that violate the rule. Because these search queries look for violators, write the rule definition to search for objects that are not following the rule.

For example, to specify that your database must run on a cloud server that has the tag USA, define the rule as follows:

not (server:(tag:USA))

When the cloud checks that the rule is valid, it searches for the database and checks that the database is not running on a cloud server with the tag USA. If the search query returns a result, then the database is violating the rule.

 Strict and weak rules
 Rule types
 Examples
 See also

Creating rules
Evaluating rules