-
Notifications
You must be signed in to change notification settings - Fork 274
/
struct_scaling_group.go
76 lines (74 loc) · 6.74 KB
/
struct_scaling_group.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
package ess
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
//http://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law or agreed to in writing, software
//distributed under the License is distributed on an "AS IS" BASIS,
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//See the License for the specific language governing permissions and
//limitations under the License.
//
// Code generated by Alibaba Cloud SDK Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
// ScalingGroup is a nested struct in ess response
type ScalingGroup struct {
VpcId string `json:"VpcId" xml:"VpcId"`
CreationTime string `json:"CreationTime" xml:"CreationTime"`
TotalInstanceCount int `json:"TotalInstanceCount" xml:"TotalInstanceCount"`
ScalingGroupName string `json:"ScalingGroupName" xml:"ScalingGroupName"`
Weighted bool `json:"Weighted" xml:"Weighted"`
SpotInstancePools int `json:"SpotInstancePools" xml:"SpotInstancePools"`
StoppedCapacity int `json:"StoppedCapacity" xml:"StoppedCapacity"`
OnDemandPercentageAboveBaseCapacity int `json:"OnDemandPercentageAboveBaseCapacity" xml:"OnDemandPercentageAboveBaseCapacity"`
ModificationTime string `json:"ModificationTime" xml:"ModificationTime"`
MinSize int `json:"MinSize" xml:"MinSize"`
ScalingGroupId string `json:"ScalingGroupId" xml:"ScalingGroupId"`
CompensateWithOnDemand bool `json:"CompensateWithOnDemand" xml:"CompensateWithOnDemand"`
ScalingPolicy string `json:"ScalingPolicy" xml:"ScalingPolicy"`
RemovingWaitCapacity int `json:"RemovingWaitCapacity" xml:"RemovingWaitCapacity"`
ActiveCapacity int `json:"ActiveCapacity" xml:"ActiveCapacity"`
OnDemandBaseCapacity int `json:"OnDemandBaseCapacity" xml:"OnDemandBaseCapacity"`
ProtectedCapacity int `json:"ProtectedCapacity" xml:"ProtectedCapacity"`
HealthCheckType string `json:"HealthCheckType" xml:"HealthCheckType"`
LifecycleState string `json:"LifecycleState" xml:"LifecycleState"`
GroupDeletionProtection bool `json:"GroupDeletionProtection" xml:"GroupDeletionProtection"`
ActiveScalingConfigurationId string `json:"ActiveScalingConfigurationId" xml:"ActiveScalingConfigurationId"`
GroupType string `json:"GroupType" xml:"GroupType"`
MultiAZPolicy string `json:"MultiAZPolicy" xml:"MultiAZPolicy"`
RemovingCapacity int `json:"RemovingCapacity" xml:"RemovingCapacity"`
PendingWaitCapacity int `json:"PendingWaitCapacity" xml:"PendingWaitCapacity"`
StandbyCapacity int `json:"StandbyCapacity" xml:"StandbyCapacity"`
CurrentHostName string `json:"CurrentHostName" xml:"CurrentHostName"`
PendingCapacity int `json:"PendingCapacity" xml:"PendingCapacity"`
LaunchTemplateId string `json:"LaunchTemplateId" xml:"LaunchTemplateId"`
TotalCapacity int `json:"TotalCapacity" xml:"TotalCapacity"`
DesiredCapacity int `json:"DesiredCapacity" xml:"DesiredCapacity"`
SpotInstanceRemedy bool `json:"SpotInstanceRemedy" xml:"SpotInstanceRemedy"`
LaunchTemplateVersion string `json:"LaunchTemplateVersion" xml:"LaunchTemplateVersion"`
RegionId string `json:"RegionId" xml:"RegionId"`
VSwitchId string `json:"VSwitchId" xml:"VSwitchId"`
MaxSize int `json:"MaxSize" xml:"MaxSize"`
ScaleOutAmountCheck bool `json:"ScaleOutAmountCheck" xml:"ScaleOutAmountCheck"`
DefaultCooldown int `json:"DefaultCooldown" xml:"DefaultCooldown"`
SystemSuspended bool `json:"SystemSuspended" xml:"SystemSuspended"`
IsElasticStrengthInAlarm bool `json:"IsElasticStrengthInAlarm" xml:"IsElasticStrengthInAlarm"`
MonitorGroupId string `json:"MonitorGroupId" xml:"MonitorGroupId"`
AzBalance bool `json:"AzBalance" xml:"AzBalance"`
AllocationStrategy string `json:"AllocationStrategy" xml:"AllocationStrategy"`
SpotAllocationStrategy string `json:"SpotAllocationStrategy" xml:"SpotAllocationStrategy"`
MaxInstanceLifetime int `json:"MaxInstanceLifetime" xml:"MaxInstanceLifetime"`
CustomPolicyARN string `json:"CustomPolicyARN" xml:"CustomPolicyARN"`
InitCapacity int `json:"InitCapacity" xml:"InitCapacity"`
ResourceGroupId string `json:"ResourceGroupId" xml:"ResourceGroupId"`
RemovalPolicies RemovalPolicies `json:"RemovalPolicies" xml:"RemovalPolicies"`
DBInstanceIds DBInstanceIds `json:"DBInstanceIds" xml:"DBInstanceIds"`
LoadBalancerIds LoadBalancerIds `json:"LoadBalancerIds" xml:"LoadBalancerIds"`
VSwitchIds VSwitchIds `json:"VSwitchIds" xml:"VSwitchIds"`
SuspendedProcesses SuspendedProcesses `json:"SuspendedProcesses" xml:"SuspendedProcesses"`
VServerGroups VServerGroups `json:"VServerGroups" xml:"VServerGroups"`
LaunchTemplateOverrides LaunchTemplateOverrides `json:"LaunchTemplateOverrides" xml:"LaunchTemplateOverrides"`
AlbServerGroups AlbServerGroups `json:"AlbServerGroups" xml:"AlbServerGroups"`
}