OSE::AS::ScalingConfig

A resource for managing autoscaling configuration.

Required Properties

Name

Description

scaling_configuration_name

Autoscaling configuration name.

String value expected.

Updates cause replacement.

It is allowed to start with numbers, letters, _, and - characters. It is allowed to include numbers, letters, _, and - characters, and the string length is 1 to 64.

instance_config

Instance configuration.

Map value expected.

Updates cause replacement.

Map properties:

  • instance_id

    Cloud server ID, if instance_id is specified, it will use this existing instance as a bus dtemplate to create an autoscaling configuration. The flavorRef, imageRef, and disk fields do not take effect at this time. The flavorRef, imageRef, and disk fields are required when the instance_id field is not passed in.

    String value expected.

    Updates cause replacement.

  • flavorRef

    Cloud server specification ID, which defines the cloud server CPUs and memory size.

    String value expected.

    Updates cause replacement.

  • imageRef

    Image ID.

    String value expected.

    Updates cause replacement.

  • disk

    Disk group information, system disk must be selected, data disk is optional.

    List value expected.

    Updates cause replacement.

    List contents:

    • *

      Map value expected.

      Updates cause replacement.

      Map properties:

      • size

      Disk size, in GB.

      Integer value expected.

      Updates cause replacement.

      The size of system disk is range from 140 to 32768, include 140 and 32768.

      The size of data disk is range from 10 to 32768, include 10 and 32768.

      • volume_type

      The type of volume.

      String value expected.

      Updates cause replacement.

      Allowed values: SSD, SATA, SAS, uh-l1 (Ultra-high I/O (Latency optimized)).

      • disk_type

      Disk type, system disk or data disk.

      String value expected.

      Updates cause replacement.

      Allowed values: SYS, DATA

  • key_name

    SSH key name to logon server, which mutually exclusive with adminPass.

    String value expected.

    Updates cause replacement.

  • adminPass

    Initial password for administrator account.

    String value expected.

    Updates cause replacement.

    The length is range from 8 to 26. The password can only contain letters, numbers, and special characters, namely "!@$%^-_=+[{}]:,./?". It must contain at least three of the four characters. The password can not contain user name or the reverse of it.

  • personality

    File inject content.

    List value expected.

    Updates cause replacement.

    Only support the injection of text files, the maximum is five. The maximum size of each file is 1KB.

    List contents:

    • *

      Map value expected.

      Updates cause replacement.

      Map properties:

      • path

      Path of the injected file.

      String value expected.

      Updates cause replacement.

      • content

      Content of the injected file.

      String value expected.

      Updates cause replacement.

      The content must be encoded by base64.

  • public_ip

    Elastic IP information.

    Map value expected.

    Updates cause replacement.

    Map properties:

    • eip

      Elastic IP configuration parameters.

      Map value expected.

      Updates cause replacement.

      Map properties:

      • ip_type

      The type of IP.

      String value expected.

      Updates cause replacement.

      Allowed values: 5_bgp, 5_lxbgp, 5_telcom, 5_union

      • bandwidth

      IP address bandwidth.

      Map value expected.

      Updates cause replacement.

      Map properties:

      • size

      The size of bandwidth.

      Integer value expected.

      Updates cause replacement.

      Range from 1 to 300, include 1 and 300.

      • share_type

      The share type of bandwidth.

      String value expected.

      Updates cause replacement.

      Allowed values: PER

      • charging_mode

      The charging mode of bandwidth.

      String value expected.

      Updates cause replacement.

      Allowed values: bandwidth, traffic

  • user_data

    Cloud-init user data.

    String value expected.

    Updates cause replacement.

  • metadata

    Metadata for creating cloud server.

    Map value expected.

    Updates cause replacement.

HOT Syntax

heat_template_version: 2014-10-16
...
resources:
  ...
  the_resource:
    type: OSE::AS::ScalingConfig
    properties:
      scaling_configuration_name: String
      instance_config:
      key_name: String
      flavorRef: String
      imageRef: String
      disk: [{"disk_type": String, "size":  Integer, "volume_type": String}, {"disk_type": String, "size": Integer,  "volume_type": String},…]
      personality: [{"path": String, "content":  String}, {"path": String, "content": String},…]
      public_ip: {"eip": {"ip_type": String,  "bandwidth": {"size": Integer, "share_type": String, "charging_mode": String}}}
      user_data: String
      metadata: {…}