If a rule fails to meet your requirements, you can change its input parameters or change the values of the input parameters.

Procedure

  1. Log on to the Cloud Config console.
  2. In the left-side navigation pane, click Rules.
  3. On the Rules page, find the target rule and click Edit in the Actions column.
  4. In the Basic Settings step of the Edit wizard, modify the description of the rule and click Next.
  5. In the Scheduling Settings step of the Edit wizard, modify the configuration of the rule and click Next.
    • If you set Created By to Managed Rule in the Basic Settings step when you create the rule, you can change the values of the input parameters.
    • If you set Created By to Function Compute in the Basic Settings step when you create the rule, you can change the types of resources to be evaluated by the rule and the input parameters of the rule.
    • If you set Created By to Visual Editor in the Basic Settings step when you create the rule, you can change the values of the input parameters.
  6. In the Correction Settings step of the Edit wizard, select a correction method as required and click Submit.

    Assume that you want to modify the configuration of the required-tags rule. In the Correction Settings step, set Correction Method to Automatic Execution or Manual Execution, select a correction template from the Workflow drop-down list, complete service authorization as prompted, and then click Submit.

  7. In the SMS Verification dialog box, click Get Verification Code.
    Verify phone number
  8. Enter the verification code in the Verification Code field and click OK.
  9. View the rule modification result.
    In the Edit wizard, you can view the result of the rule modification in the Complete step.
    • Click View Details. On the page that appears, you can view the basic information about the current rule, correction details, trigger of the rule, and compliance results of resources evaluated by the rule.
    • Click Return to Rule List. On the Rules page, you can view the rule, the status of which is Active.