Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Qin Ying, Fan <fanqinying@huawei.com> Co-committed-by: Qin Ying, Fan <fanqinying@huawei.com>
17 KiB
OSE::AS::ScalingGroup
A resource for managing autoscaling group.
Required Properties
Name |
Description |
---|---|
scaling_group_name |
Autoscaling group name. String value expected. Can be updated without 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. |
scaling_configuration_id |
AS configuration ID. String value expected. Can be updated without replacement. |
networks |
An ordered list of networks used to create instances, which are in same VPC defined in the vpc_id parameter. List value expected. Can be updated without replacement. List contents: |
security_groups |
An ordered list of security groups used to create instances. List value expected. Can be updated without replacement. List contents: |
vpc_id |
Virtual private cloud ID. String value expected. Updates cause replacement. |
Optional Properties
Attributes
Name |
Description |
---|---|
instances |
A list of all instances information. The information of instances may be obtained through the following expression: "{ get_attr: [<autoscaling_group_resource_name>, instances] }". |
HOT Syntax
heat_template_version: 2014-10-16 ... resources: ... the_resource: type: OSE::AS::ScalingGroup properties: scaling_group_name: String scaling_configuration_id: String desire_instance_number: Integer min_instance_number: Integer max_instance_number: Integer cool_down_time: Integer lb_listener_id: String available_zones: [String, String,…] networks: [String, String,…] security_groups: [{"id": String}, {"id": String},…] vpc_id: String health_periodic_audit_method: String health_periodic_audit_time: Integer instance_terminate_policy: String notifications: [String, String,…] delete_publicip: Boolean