1package emr
2
3//Licensed under the Apache License, Version 2.0 (the "License");
4//you may not use this file except in compliance with the License.
5//You may obtain a copy of the License at
6//
7//http://www.apache.org/licenses/LICENSE-2.0
8//
9//Unless required by applicable law or agreed to in writing, software
10//distributed under the License is distributed on an "AS IS" BASIS,
11//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12//See the License for the specific language governing permissions and
13//limitations under the License.
14//
15// Code generated by Alibaba Cloud SDK Code Generator.
16// Changes may cause incorrect behavior and will be lost if the code is regenerated.
17
18// HostGroup is a nested struct in emr response
19type HostGroup struct {
20	HostGroupType            string  `json:"HostGroupType" xml:"HostGroupType"`
21	MemoryCapacity           int     `json:"MemoryCapacity" xml:"MemoryCapacity"`
22	LockReason               string  `json:"LockReason" xml:"LockReason"`
23	HostGroupSubType         string  `json:"HostGroupSubType" xml:"HostGroupSubType"`
24	CpuCore                  int     `json:"CpuCore" xml:"CpuCore"`
25	SecurityGroupId          string  `json:"SecurityGroupId" xml:"SecurityGroupId"`
26	SystemDiskCount          int     `json:"SystemDiskCount" xml:"SystemDiskCount"`
27	ChargeType               string  `json:"ChargeType" xml:"ChargeType"`
28	SysDiskCapacity          int     `json:"SysDiskCapacity" xml:"SysDiskCapacity"`
29	SystemDiskSize           int     `json:"SystemDiskSize" xml:"SystemDiskSize"`
30	InstanceType             string  `json:"InstanceType" xml:"InstanceType"`
31	DataDiskSize             int     `json:"DataDiskSize" xml:"DataDiskSize"`
32	HostGroupChangeStatus    string  `json:"HostGroupChangeStatus" xml:"HostGroupChangeStatus"`
33	NodeCount                int     `json:"NodeCount" xml:"NodeCount"`
34	GmtModified              string  `json:"gmtModified" xml:"gmtModified"`
35	DiskCount                int     `json:"DiskCount" xml:"DiskCount"`
36	Comment                  string  `json:"Comment" xml:"Comment"`
37	VswitchId                string  `json:"VswitchId" xml:"VswitchId"`
38	HostGroupName            string  `json:"HostGroupName" xml:"HostGroupName"`
39	ScalingGroupMinNode      int     `json:"ScalingGroupMinNode" xml:"ScalingGroupMinNode"`
40	DiskCapacity             int     `json:"DiskCapacity" xml:"DiskCapacity"`
41	ScalingGroupBizId        string  `json:"ScalingGroupBizId" xml:"ScalingGroupBizId"`
42	ScalingInMode            string  `json:"ScalingInMode" xml:"ScalingInMode"`
43	BandWidth                string  `json:"BandWidth" xml:"BandWidth"`
44	Memory                   int     `json:"Memory" xml:"Memory"`
45	DiskType                 string  `json:"DiskType" xml:"DiskType"`
46	PayType                  string  `json:"PayType" xml:"PayType"`
47	LockType                 string  `json:"LockType" xml:"LockType"`
48	MultiInstanceTypes       string  `json:"MultiInstanceTypes" xml:"MultiInstanceTypes"`
49	Period                   string  `json:"Period" xml:"Period"`
50	GmtCreate                string  `json:"gmtCreate" xml:"gmtCreate"`
51	CostSavingPercent        float64 `json:"CostSavingPercent" xml:"CostSavingPercent"`
52	DataDiskType             string  `json:"DataDiskType" xml:"DataDiskType"`
53	ScalingGroupActiveStatus string  `json:"ScalingGroupActiveStatus" xml:"ScalingGroupActiveStatus"`
54	ScalingGroupConfigState  string  `json:"ScalingGroupConfigState" xml:"ScalingGroupConfigState"`
55	SysDiskType              string  `json:"SysDiskType" xml:"SysDiskType"`
56	HostGroupChangeType      string  `json:"HostGroupChangeType" xml:"HostGroupChangeType"`
57	Cpu                      int     `json:"Cpu" xml:"Cpu"`
58	Status                   string  `json:"Status" xml:"Status"`
59	HostGroupId              string  `json:"HostGroupId" xml:"HostGroupId"`
60	DataDiskCount            int     `json:"DataDiskCount" xml:"DataDiskCount"`
61	ScalingGroupMaxNode      int     `json:"ScalingGroupMaxNode" xml:"ScalingGroupMaxNode"`
62	SystemDiskType           string  `json:"SystemDiskType" xml:"SystemDiskType"`
63	Nodes                    Nodes   `json:"Nodes" xml:"Nodes"`
64}
65