Triggering a Rule
Scenarios
Rules can be triggered automatically or manually.
- Automatic
A rule will be automatically triggered:
- When you add a rule.
- When you modify a rule
- When you enable a rule
- When there is a change to any of your monitored resources if you set Trigger Type to Configuration change.
At a specific frequency if you set Trigger Type to Periodic execution.
- Manual
You can manually initiate rule evaluation at any time through the console or
the run-evaluation API.
Limitations and Constraints
The following lists the limitations and constraints for the resource recorder to collect resource data:
- If you have never enabled the resource recorder, no resources will be available for evaluation.
- The resource recorder only collects data of specified resources within the monitoring scope that you have configured when you enable the resource recorder.
- If you enable the resource recorder and then disable it after a period of time, the recorder only collects and evaluates resource data during the period when it is enabled.
Procedure
- Log in to the management console.
- Click
in the upper left corner. Under Management & Governance, click Config.
- In the navigation pane on the left, choose Resource Compliance.
- Locate a target rule and click Evaluate in the Operation column.
- In the displayed dialog box, click OK.
Figure 1 Manually triggering a rule
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot