资源编排服务 RFS-RDS.PostgreSQL:blueprint样例

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

blueprint样例

tosca_definitions_version: huaweicloud_tosca_version_1_0
node_templates:
  rdsps24w:
    type: HuaweiCloud.RDS.PostgreSQL
    properties:
      dbPort: 3306
      vpcId:
        get_input: rdsps24w_vpcId
      securityGroupId:
        get_input: rdsps24w_securityGroupId
      dbRootPassword:
        get_input: rdsps24w_dbRootPassword
      volume:
        volumetype: COMMON
        size: 100
      backupStrategy:
        keepDays: 0
        endTime: '02:00'
        startTime: '01:00'
      subnetId:
        get_input: rdsps24w_subnetId
      dataStore:
        dbtype: PostgreSQL
        version: '10.0'
      HA:
        replicationMode: sync
        enable:
          get_input: rdsps24w_HA_enable
      flavor:
        get_input: rdsps24w_flavor
      availabilityZone:
        get_input: rdsps24w_availabilityZone
inputs:
  rdsps24w_vpcId:
    description: 实例所属的VPC ID
    label: ''
  rdsps24w_securityGroupId:
    description: 实例所属的安全组ID
    label: ''
  rdsps24w_dbRootPassword:
    description: 实例的root用户密码
    label: ''
  rdsps24w_subnetId:
    description: 实例所属的子网ID
    label: ''
  rdsps24w_HA_enable:
    description: 是否高可用
    label: ''
  rdsps24w_flavor:
    description: 实例规格
    label: ''
  rdsps24w_availabilityZone:
    description: 实例所属的可用分区
    label: ''
support.huaweicloud.com/tr-aos/rds-postgresql.html