github.com/opentelekomcloud/gophertelekomcloud@v0.9.3/openstack/autoscaling/v1/groups/results.go (about) 1 package groups 2 3 type Group struct { 4 // Specifies the name of the AS group. 5 Name string `json:"scaling_group_name"` 6 // Specifies the AS group ID. 7 ID string `json:"scaling_group_id"` 8 // Specifies the status of the AS group. 9 Status string `json:"scaling_group_status"` 10 // Specifies the AS configuration ID. 11 ConfigurationID string `json:"scaling_configuration_id"` 12 // Specifies the AS configuration name. 13 ConfigurationName string `json:"scaling_configuration_name"` 14 // Specifies the number of current instances in the AS group. 15 ActualInstanceNumber int `json:"current_instance_number"` 16 // Specifies the expected number of instances in the AS group. 17 DesireInstanceNumber int `json:"desire_instance_number"` 18 // Specifies the minimum number of instances in the AS group. 19 MinInstanceNumber int `json:"min_instance_number"` 20 // Specifies the maximum number of instances in the AS group. 21 MaxInstanceNumber int `json:"max_instance_number"` 22 // Specifies the cooldown period (s). 23 CoolDownTime int `json:"cool_down_time"` 24 // Specifies the ID of a typical ELB listener. ELB listener IDs are separated using a comma (,). 25 LBListenerID string `json:"lb_listener_id"` 26 // Specifies enhanced load balancers. 27 LBaaSListeners []LBaaSListener `json:"lbaas_listeners"` 28 // Specifies the AZ information. 29 AvailableZones []string `json:"available_zones"` 30 // Specifies the network information. 31 Networks []ID `json:"networks"` 32 // Specifies the security group information. 33 SecurityGroups []ID `json:"security_groups"` 34 // Specifies the time when an AS group was created. The time format complies with UTC. 35 CreateTime string `json:"create_time"` 36 // Specifies the ID of the VPC to which the AS group belongs. 37 VpcID string `json:"vpc_id"` 38 // Specifies details about the AS group. If a scaling action fails, this parameter is used to record errors. 39 Detail string `json:"detail"` 40 // Specifies the scaling flag of the AS group. 41 IsScaling bool `json:"is_scaling"` 42 // Specifies the health check method. 43 HealthPeriodicAuditMethod string `json:"health_periodic_audit_method"` 44 // Specifies the health check interval. 45 HealthPeriodicAuditTime int `json:"health_periodic_audit_time"` 46 // Specifies the grace period for health check. 47 HealthPeriodicAuditGrace int `json:"health_periodic_audit_grace_period"` 48 // Specifies the instance removal policy. 49 InstanceTerminatePolicy string `json:"instance_terminate_policy"` 50 // Specifies the notification mode. 51 // EMAIL refers to notification by email. 52 Notifications []string `json:"notifications"` 53 // Specifies whether to delete the EIP bound to the ECS when deleting the ECS. 54 DeletePublicIP bool `json:"delete_publicip"` 55 // Specifies whether to delete the data disks attached to the ECS when deleting the ECS. 56 DeleteVolume bool `json:"delete_volume"` 57 // This parameter is reserved. 58 CloudLocationID string `json:"cloud_location_id"` 59 // Specifies the enterprise project ID. 60 EnterpriseProjectID string `json:"enterprise_project_id"` 61 // Specifies the type of the AS action. 62 ActivityType string `json:"activity_type"` 63 // Specifies the priority policy used to select target AZs when adjusting the number of instances in an AS group. 64 MultiAZPriorityPolicy string `json:"multi_az_priority_policy"` 65 // Specifies the description of the AS group. The value can contain 1 to 256 characters. 66 Description string `json:"description"` 67 }