名稱
gdcloud config configurations rename - 重新命名 gdcloud CLI 的具名設定。
概要
gdcloud config configurations rename CONFIGURATION_NAME [flags]
說明
重新命名 gcloud 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 參考資料總覽頁面。