-
Notifications
You must be signed in to change notification settings - Fork 271
/
struct_scaling_configuration.go
66 lines (64 loc) · 5.41 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
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"`
ContainerGroupName string `json:"ContainerGroupName" xml:"ContainerGroupName"`
SecurityGroupId string `json:"SecurityGroupId" xml:"SecurityGroupId"`
SpotPriceLimit float64 `json:"SpotPriceLimit" xml:"SpotPriceLimit"`
TerminationGracePeriodSeconds int `json:"TerminationGracePeriodSeconds" xml:"TerminationGracePeriodSeconds"`
ScalingConfigurationName string `json:"ScalingConfigurationName" xml:"ScalingConfigurationName"`
AutoMatchImageCache bool `json:"AutoMatchImageCache" xml:"AutoMatchImageCache"`
RegionId string `json:"RegionId" xml:"RegionId"`
ResourceGroupId string `json:"ResourceGroupId" xml:"ResourceGroupId"`
InstanceFamilyLevel string `json:"InstanceFamilyLevel" xml:"InstanceFamilyLevel"`
ActiveDeadlineSeconds int `json:"ActiveDeadlineSeconds" xml:"ActiveDeadlineSeconds"`
CpuOptionsCore int `json:"CpuOptionsCore" xml:"CpuOptionsCore"`
Description string `json:"Description" xml:"Description"`
DnsPolicy string `json:"DnsPolicy" xml:"DnsPolicy"`
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"`
CreationTime string `json:"CreationTime" xml:"CreationTime"`
EipBandwidth int `json:"EipBandwidth" xml:"EipBandwidth"`
RamRoleName string `json:"RamRoleName" xml:"RamRoleName"`
SlsEnable bool `json:"SlsEnable" xml:"SlsEnable"`
Ipv6AddressCount int `json:"Ipv6AddressCount" xml:"Ipv6AddressCount"`
IngressBandwidth int64 `json:"IngressBandwidth" xml:"IngressBandwidth"`
HostName string `json:"HostName" xml:"HostName"`
SpotStrategy string `json:"SpotStrategy" xml:"SpotStrategy"`
ScalingGroupId string `json:"ScalingGroupId" xml:"ScalingGroupId"`
LoadBalancerWeight int `json:"LoadBalancerWeight" xml:"LoadBalancerWeight"`
Cpu float64 `json:"Cpu" xml:"Cpu"`
ImageSnapshotId string `json:"ImageSnapshotId" xml:"ImageSnapshotId"`
DnsConfigNameServers []string `json:"DnsConfigNameServers" xml:"DnsConfigNameServers"`
DnsConfigSearches []string `json:"DnsConfigSearches" xml:"DnsConfigSearches"`
NtpServers []string `json:"NtpServers" xml:"NtpServers"`
Containers []Container `json:"Containers" xml:"Containers"`
Volumes []Volume `json:"Volumes" xml:"Volumes"`
SecurityContextSysCtls []SecurityContextSysCtl `json:"SecurityContextSysCtls" xml:"SecurityContextSysCtls"`
Tags []Tag `json:"Tags" xml:"Tags"`
DnsConfigOptions []DnsConfigOption `json:"DnsConfigOptions" xml:"DnsConfigOptions"`
HostAliases []HostAlias `json:"HostAliases" xml:"HostAliases"`
ImageRegistryCredentials []ImageRegistryCredential `json:"ImageRegistryCredentials" xml:"ImageRegistryCredentials"`
InitContainers []InitContainer `json:"InitContainers" xml:"InitContainers"`
AcrRegistryInfos []AcrRegistryInfo `json:"AcrRegistryInfos" xml:"AcrRegistryInfos"`
}