资源编排服务 RFS-EVS.NonSharedVolume:blueprint样例

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

blueprint样例

tosca_definitions_version: huaweicloud_tosca_version_1_0
inputs:
  availabilityZone:
    description: 可用区
  size:
    description: 云硬盘大小
    default: 10
  volumeType:
    description: 云硬盘类型
    default: SATA
  name:
    description: 云硬盘名称
    default: my-evs
node_templates:
  my-evs:
    type: HuaweiCloud.EVS.NonSharedVolume
    properties:
      size:
        get_input: size
      availabilityZone:
        get_input: availabilityZone
      volumeType:
        get_input: volumeType
      name:
        get_input: name
outputs:
  evs-id:
    description: 云服务器的ID
    value:
      get_attribute:
        - my-evs
        - volumeIDs
support.huaweicloud.com/tr-aos/evs-nonsharedvolume.html