-
Notifications
You must be signed in to change notification settings - Fork 273
/
struct_scaling_activity.go
44 lines (42 loc) · 2.77 KB
/
struct_scaling_activity.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
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.
// ScalingActivity is a nested struct in ess response
type ScalingActivity struct {
Progress int `json:"Progress" xml:"Progress"`
ScalingInstanceNumber int `json:"ScalingInstanceNumber" xml:"ScalingInstanceNumber"`
AttachedCapacity string `json:"AttachedCapacity" xml:"AttachedCapacity"`
TotalCapacity string `json:"TotalCapacity" xml:"TotalCapacity"`
ScalingGroupId string `json:"ScalingGroupId" xml:"ScalingGroupId"`
AutoCreatedCapacity string `json:"AutoCreatedCapacity" xml:"AutoCreatedCapacity"`
EndTime string `json:"EndTime" xml:"EndTime"`
StartTime string `json:"StartTime" xml:"StartTime"`
Description string `json:"Description" xml:"Description"`
StatusCode string `json:"StatusCode" xml:"StatusCode"`
Cause string `json:"Cause" xml:"Cause"`
ScalingActivityId string `json:"ScalingActivityId" xml:"ScalingActivityId"`
StatusMessage string `json:"StatusMessage" xml:"StatusMessage"`
CreatedCapacity int `json:"CreatedCapacity" xml:"CreatedCapacity"`
DestroyedCapacity int `json:"DestroyedCapacity" xml:"DestroyedCapacity"`
StartedCapacity int `json:"StartedCapacity" xml:"StartedCapacity"`
StoppedCapacity int `json:"StoppedCapacity" xml:"StoppedCapacity"`
ErrorCode string `json:"ErrorCode" xml:"ErrorCode"`
ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"`
Detail string `json:"Detail" xml:"Detail"`
CreatedInstances CreatedInstances `json:"CreatedInstances" xml:"CreatedInstances"`
DestroyedInstances DestroyedInstances `json:"DestroyedInstances" xml:"DestroyedInstances"`
StartedInstances StartedInstances `json:"StartedInstances" xml:"StartedInstances"`
StoppedInstances StoppedInstances `json:"StoppedInstances" xml:"StoppedInstances"`
}