重命名性能类

使用 perf_class_rename 命令可重命名性能类。

perf_class_rename perf_class=perfClassName
new_name=Name

参数

名称 类型 描述 必需
perf_class 对象名 现有性能类的名称。
new_name 字符串 性能类的新名称。 类的新名称必须是唯一的。

示例:

perf_class_rename perf_class=p1 new_name=perf1

输出:

Command executed successfully.

访问控制

用户类别 许可权
存储管理员 允许
存储集成管理员 允许
应用程序管理员 不允许
安全性管理员 不允许
只读用户 不允许
技术人员 不允许

返回码

  • PERF_CLASS_EXISTS

    性能类已存在。

  • PERF_CLASS_BAD_NAME

    性能类不存在。