1package ecs 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// DedicatedHost is a nested struct in ecs response 19type DedicatedHost struct { 20 DedicatedHostId string `json:"DedicatedHostId" xml:"DedicatedHostId"` 21 AutoPlacement string `json:"AutoPlacement" xml:"AutoPlacement"` 22 RegionId string `json:"RegionId" xml:"RegionId"` 23 ZoneId string `json:"ZoneId" xml:"ZoneId"` 24 DedicatedHostName string `json:"DedicatedHostName" xml:"DedicatedHostName"` 25 MachineId string `json:"MachineId" xml:"MachineId"` 26 Description string `json:"Description" xml:"Description"` 27 DedicatedHostType string `json:"DedicatedHostType" xml:"DedicatedHostType"` 28 Sockets int `json:"Sockets" xml:"Sockets"` 29 Cores int `json:"Cores" xml:"Cores"` 30 PhysicalGpus int `json:"PhysicalGpus" xml:"PhysicalGpus"` 31 GPUSpec string `json:"GPUSpec" xml:"GPUSpec"` 32 ActionOnMaintenance string `json:"ActionOnMaintenance" xml:"ActionOnMaintenance"` 33 Status string `json:"Status" xml:"Status"` 34 CreationTime string `json:"CreationTime" xml:"CreationTime"` 35 ChargeType string `json:"ChargeType" xml:"ChargeType"` 36 SaleCycle string `json:"SaleCycle" xml:"SaleCycle"` 37 ExpiredTime string `json:"ExpiredTime" xml:"ExpiredTime"` 38 AutoReleaseTime string `json:"AutoReleaseTime" xml:"AutoReleaseTime"` 39 ResourceGroupId string `json:"ResourceGroupId" xml:"ResourceGroupId"` 40 DedicatedHostClusterId string `json:"DedicatedHostClusterId" xml:"DedicatedHostClusterId"` 41 CpuOverCommitRatio float64 `json:"CpuOverCommitRatio" xml:"CpuOverCommitRatio"` 42 SupportedInstanceTypeFamilies SupportedInstanceTypeFamiliesInDescribeDedicatedHosts `json:"SupportedInstanceTypeFamilies" xml:"SupportedInstanceTypeFamilies"` 43 SupportedCustomInstanceTypeFamilies SupportedCustomInstanceTypeFamilies `json:"SupportedCustomInstanceTypeFamilies" xml:"SupportedCustomInstanceTypeFamilies"` 44 SupportedInstanceTypesList SupportedInstanceTypesListInDescribeDedicatedHosts `json:"SupportedInstanceTypesList" xml:"SupportedInstanceTypesList"` 45 Capacity Capacity `json:"Capacity" xml:"Capacity"` 46 NetworkAttributes NetworkAttributes `json:"NetworkAttributes" xml:"NetworkAttributes"` 47 HostDetailInfo HostDetailInfo `json:"HostDetailInfo" xml:"HostDetailInfo"` 48 Instances InstancesInDescribeDedicatedHosts `json:"Instances" xml:"Instances"` 49 OperationLocks OperationLocksInDescribeDedicatedHosts `json:"OperationLocks" xml:"OperationLocks"` 50 Tags TagsInDescribeDedicatedHosts `json:"Tags" xml:"Tags"` 51} 52