资源编排服务 RFS-CDN.Domain:blueprint样例

时间:2024-04-18 10:02:52

blueprint样例

tosca_definitions_version: huaweicloud_tosca_version_1_0
node_templates:
  cdnd4u36:
    type: HuaweiCloud.CDN.Domain
    properties:
      sources:
        - activeStandby:
            get_input: cdnd4u36_sources_0_activeStandby
          originType:
            get_input: cdnd4u36_sources_0_originType
          ipOrDomain:
            get_input: cdnd4u36_sources_0_ipOrDomain
      businessType:
        get_input: cdnd4u36_businessType
      domainName:
        get_input: cdnd4u36_domainName
  cdnhm6xf:
    type: HuaweiCloud.CDN.Host
    properties:
      originHostType:
        get_input: cdnhm6xf_originHostType
      domainId:
        get_reference: cdnd4u36
    requirements:
      - domainId:
          node: cdnd4u36
inputs:
  cdnd4u36_sources_0_activeStandby:
    description: 主备状态
    default: master
    label: ''
  cdnd4u36_sources_0_originType:
    description: 源站类型
    label: ''
  cdnd4u36_sources_0_ipOrDomain:
    description: 源站IP或者 域名 
    label: ''
  cdnd4u36_businessType:
    description: 域名业务类型
    label: ''
  cdnd4u36_domainName:
    description: 加速域名。
    label: ''
  cdnhm6xf_originHostType:
    description: 回源HOST类型
    label: ''
support.huaweicloud.com/tr-aos/cdn-domain.html