搜索

5.16. 复制策略 registry

download PDF

在以下情况下,使用 toolbox 命令将策略 registry 从 3scale 源帐户复制到目标帐户:

  • 目标帐户中正在创建缺少的自定义策略。
  • 目标帐户中正在更新匹配的自定义策略。
  • 此 copy 命令具有幂等性。
注意
  • 缺少的自定义策略定义为源帐户中存在的自定义策略,且不存在于帐户租户中。
  • 匹配自定义策略定义为源和目标帐户中存在的自定义策略。

以下命令复制策略 registry:

$ 3scale policy-registry copy [opts] <source_remote> <target_remote>
Option for policy-registry
    -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
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.