-
Notifications
You must be signed in to change notification settings - Fork 274
/
struct_scaling_configuration.go
71 lines (69 loc) · 5.94 KB
/
struct_scaling_configuration.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
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.
// ScalingConfiguration is a nested struct in ess response
type ScalingConfiguration struct {
RestartPolicy string `json:"RestartPolicy" xml:"RestartPolicy"`
CpuOptionsThreadsPerCore int `json:"CpuOptionsThreadsPerCore" xml:"CpuOptionsThreadsPerCore"`
ScalingConfigurationId string `json:"ScalingConfigurationId" xml:"ScalingConfigurationId"`
DataCachePL string `json:"DataCachePL" xml:"DataCachePL"`
DataCacheProvisionedIops int `json:"DataCacheProvisionedIops" xml:"DataCacheProvisionedIops"`
ScalingConfigurationName string `json:"ScalingConfigurationName" xml:"ScalingConfigurationName"`
DataCacheBucket string `json:"DataCacheBucket" xml:"DataCacheBucket"`
AutoMatchImageCache bool `json:"AutoMatchImageCache" xml:"AutoMatchImageCache"`
InstanceFamilyLevel string `json:"InstanceFamilyLevel" xml:"InstanceFamilyLevel"`
ActiveDeadlineSeconds int `json:"ActiveDeadlineSeconds" xml:"ActiveDeadlineSeconds"`
CostOptimization bool `json:"CostOptimization" xml:"CostOptimization"`
EgressBandwidth int64 `json:"EgressBandwidth" xml:"EgressBandwidth"`
AutoCreateEip bool `json:"AutoCreateEip" xml:"AutoCreateEip"`
Memory float64 `json:"Memory" xml:"Memory"`
LifecycleState string `json:"LifecycleState" xml:"LifecycleState"`
EphemeralStorage int `json:"EphemeralStorage" xml:"EphemeralStorage"`
RamRoleName string `json:"RamRoleName" xml:"RamRoleName"`
Ipv6AddressCount int `json:"Ipv6AddressCount" xml:"Ipv6AddressCount"`
HostName string `json:"HostName" xml:"HostName"`
ScalingGroupId string `json:"ScalingGroupId" xml:"ScalingGroupId"`
LoadBalancerWeight int `json:"LoadBalancerWeight" xml:"LoadBalancerWeight"`
ContainerGroupName string `json:"ContainerGroupName" xml:"ContainerGroupName"`
SecurityGroupId string `json:"SecurityGroupId" xml:"SecurityGroupId"`
SpotPriceLimit float64 `json:"SpotPriceLimit" xml:"SpotPriceLimit"`
TerminationGracePeriodSeconds int `json:"TerminationGracePeriodSeconds" xml:"TerminationGracePeriodSeconds"`
RegionId string `json:"RegionId" xml:"RegionId"`
ResourceGroupId string `json:"ResourceGroupId" xml:"ResourceGroupId"`
CpuOptionsCore int `json:"CpuOptionsCore" xml:"CpuOptionsCore"`
Description string `json:"Description" xml:"Description"`
DnsPolicy string `json:"DnsPolicy" xml:"DnsPolicy"`
CreationTime string `json:"CreationTime" xml:"CreationTime"`
EipBandwidth int `json:"EipBandwidth" xml:"EipBandwidth"`
SlsEnable bool `json:"SlsEnable" xml:"SlsEnable"`
DataCacheBurstingEnabled bool `json:"DataCacheBurstingEnabled" xml:"DataCacheBurstingEnabled"`
IngressBandwidth int64 `json:"IngressBandwidth" xml:"IngressBandwidth"`
SpotStrategy string `json:"SpotStrategy" xml:"SpotStrategy"`
Cpu float64 `json:"Cpu" xml:"Cpu"`
ImageSnapshotId string `json:"ImageSnapshotId" xml:"ImageSnapshotId"`
DnsConfigNameServers []string `json:"DnsConfigNameServers" xml:"DnsConfigNameServers"`
InstanceTypes []string `json:"InstanceTypes" xml:"InstanceTypes"`
DnsConfigSearches []string `json:"DnsConfigSearches" xml:"DnsConfigSearches"`
NtpServers []string `json:"NtpServers" xml:"NtpServers"`
Tags []Tag `json:"Tags" xml:"Tags"`
Containers []Container `json:"Containers" xml:"Containers"`
DnsConfigOptions []DnsConfigOption `json:"DnsConfigOptions" xml:"DnsConfigOptions"`
HostAliases []HostAlias `json:"HostAliases" xml:"HostAliases"`
ImageRegistryCredentials []ImageRegistryCredential `json:"ImageRegistryCredentials" xml:"ImageRegistryCredentials"`
AcrRegistryInfos []AcrRegistryInfo `json:"AcrRegistryInfos" xml:"AcrRegistryInfos"`
Volumes []Volume `json:"Volumes" xml:"Volumes"`
SecurityContextSysCtls []SecurityContextSysCtl `json:"SecurityContextSysCtls" xml:"SecurityContextSysCtls"`
InitContainers []InitContainer `json:"InitContainers" xml:"InitContainers"`
}