名称
gdcloud config configurations rename - 重命名 gdcloud CLI 命名配置。
摘要
gdcloud config configurations rename CONFIGURATION_NAME [flags]
说明
重命名 gdcloud CLI 命名配置。 指定配置的当前名称。 使用 --new-name 标志指定配置的新名称。 您无法重命名处于有效状态的配置。
示例
To rename an existing configuration named my-config as new-config, run:
gdcloud config configurations rename my-config --new-name=new-config
必需标志
--new-name string Specifies the new name of the configuration.
GDCLOUD 全局标志
以下标志适用于所有命令:--configuration、--format、--help、--project、--quiet。
如需了解详情,请参阅 gdcloud CLI 参考概览页面。