重命名 Profile | 大装置帮助中心
跳到主要内容

重命名 Profile

名称

sco config profiles rename - 重命名 Profile

说明

sco config profiles rename <profile-name> --new-name <new-name> [flags]

描述

重命名已有 profile。

命令行参数

  • <profile-name>:当前 profile 名称。

命令行标志

必要参数

  • --new-name <new-name>:新的 profile 名称。

示例

重命名 profile:

sco config profiles rename dev --new-name prod

全局标志

以下全局标志适用于所有 sco 命令:

  • --help:查看帮助信息。
  • --profile <profile>:指定本次命令使用的 profile。
  • --debug:输出调试日志。
  • --subscription <subscription>:指定本次请求使用的订阅。
  • --resource-group <resource-group>:指定本次请求使用的资源组。
  • --region <region>:指定本次请求使用的 Region。
  • --color <no|auto>:设置输出颜色模式。