3.13. 列出代理配置
使用 3scale toolbox 列出、显示并在 Developer Portal 中提升所有定义的代理配置。
以下命令列出代理配置:
3scale proxy-config list <remote> <service> <environment>
在列出代理配置时请使用以下选项:
Options
-o --output=<value> Output format on stdout:
one of json|yaml
Options for proxy-config
-c --config-file=<value> 3scale toolbox configuration file:
defaults to $HOME/.3scalerc.yaml
-h --help Print help for this command
-k --insecure Proceed and operate even for server
connections otherwise considered insecure
-v --version Print the version of this command
--verbose Verbose mode
3.13.1. 显示代理配置 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
以下命令显示代理配置:
3scale proxy-config show <remote> <service> <environment>
在显示代理配置时请使用以下选项:
Options
--config-version=<value> Specify the proxy configuration version.
If not specified, defaults to latest
-o --output=<value> Output format on stdout:
one of json|yaml
Options for proxy-config
-c --config-file=<value> 3scale toolbox configuration file:
defaults to $HOME/.3scalerc.yaml
-h --help Print help for this command
-k --insecure Proceed and operate even for server
connections otherwise considered
insecure
-v --version Print the version of this command
--verbose Verbose mode
3.13.2. 提升代理配置 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
以下命令将最新的暂存代理配置提升到生产环境:
3scale proxy-config promote <remote> <service>
在将最新的暂存代理配置提升到生产环境时,请使用以下选项:
Options for proxy-config
-c --config-file=<value> 3scale toolbox configuration file:
defaults to $HOME/.3scalerc.yaml
-h --help Print help for this command
-k --insecure Proceed and operate even for server
connections otherwise considered insecure
-v --version Print the version of this command
--verbose Verbose mode