Application Delivery Management

这篇文章已经过机器翻译.放弃

参数引用

在组件构造中,通过使用符号来引用参数部分中定义 $parameters.<parametername> 的参数。如果 <parametername> 本身包含参数(当类型为对象时),则必须使用表示法 $parameters.<parametername>.<sub-parametername>,依此类推。

示例

parameters: - name: name label: Name type: string required: true - name: vip label: Virtual IP and Port type: object required: true parameters: - name: ip label: Virtual IP description: The Virtual IP Address type: ipaddress required: true - name: port label: The Virtual Port description: The TCP port for the Virtual IP type: tcp-port default: 80 components: - name: my-lbvserver-comp type: ns::lbvserver properties: name: $parameters.name servicetype: HTTP ipv46: $parameters.vip.ip port: $parameters.vip.port
本内容的正式版本为英文版。部分 Cloud Software Group 文档内容采用了机器翻译,仅供您参考。Cloud Software Group 无法控制机器翻译的内容,这些内容可能包含错误、不准确或不合适的语言。对于从英文原文翻译成任何其他语言的内容的准确性、可靠性、适用性或正确性,或者您的 Cloud Software Group 产品或服务沿用了任何机器翻译的内容,我们均不作任何明示或暗示的保证,并且适用的最终用户许可协议或服务条款或者与 Cloud Software Group 签订的任何其他协议(产品或服务与已进行机器翻译的任何文档保持一致)下的任何保证均不适用。对于因使用机器翻译的内容而引起的任何损害或问题,Cloud Software Group 不承担任何责任。
参数引用