Menu Close
3.8.6.3. 从 URL 导入应用计划
3scale application-plan import -f http[s]://domain/resource/path.yaml remote_name service_name
注意
特定于导入命令:
命令输入内容可以
stdin
、file 或 URL 格式。-
如果没有由
-f
选项指定,默认情况下,yaml
内容将从stdin 中
读取。
-
如果没有由
- 如果无法在远程服务中找到应用计划,它将被创建。
可选的 param
-p
,--plan
,用于覆盖远程目标应用程序计划id
或system_name
。-
如果没有通过
-p
选项指定,默认情况下,应用程序计划将由计划属性system_name from
yaml
内容引用。
-
如果没有通过
- 将创建在远程服务中没有的 yaml 内容中的任何指标或方法。
导入应用程序计划时使用以下选项:
Options -f --file=<value> Read from file or URL instead of stdin -p --plan=<value> Override application plan reference Options for application-plan -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