| Parameter | Description | Value |
|---|---|---|
| new-name | Specifies the new name of a rule. | The value is a case-sensitive character string. The
length of a name without spaces ranges from 1 to 32 characters. The
length of a name with spaces ranges from 3 to 34 characters. If a
name contains spaces, the name must be enclosed with quotation marks
(for example, "user for test"). The name cannot contain question marks (?), commas (,), or hyphens (-). If the name does not contain any space, it also cannot have any double quotation marks ("). In addition, the name cannot be any or all. |
# Rename rule1 in user-defined application UD_abc to rule2.
<sysname> system-view [sysname] sa [sysname-sa] user-defined-application name UD_abc [sysname-sa-user-defined-app-UD_abc] rule name rule1 [sysname-sa-user-defined-app-UD_abc-rule-rule1] rename rule2 [sysname-sa-user-defined-app-UD_abc-rule-rule2]