资源编排服务 RFS-DDS.CommunityReplicaSetOrSingle:blueprint样例

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

blueprint样例

tosca_definitions_version: huaweicloud_tosca_version_1_0
node_templates:
  my-dds:
    type: HuaweiCloud.DDS.CommunityReplicaSetOrSingle
    properties:
      availabilityZone:
        get_input: my_az
      securityGroupId:
        get_input: my_securityGroupId
      dbRootPassword:
        get_input: my_password
      backupStrategy:
        endTime: '02:00'
        startTime: '01:00'
      mode: ReplicaSet
      subnetId:
        get_input: my-subnetid
      dataStore:
        dbtype: DDS-Community
        storageEngine: wiredTiger
        version: 4.0
      vpcId:
        get_input: my_vpcid
      flavor:
        nodeOneset:
          nodeType: replica
          num: 1
          storage: ULTRAHIGH
          specCode:
            get_input: my_speccode
          size: 10
inputs:
  my_az:
    description: 实例所属的可用区
  my_securityGroupId:
    description: 实例所属的安全组ID
  my_password:
    description: 实例的root用户密码
  my-subnetid:
    description: 实例所属的子网ID
  my_vpcid:
    description: 实例所属的VPC ID
  my_speccode:
    description: 实例规格
support.huaweicloud.com/tr-aos/dds-communityreplicasetorsingle.html