-
Notifications
You must be signed in to change notification settings - Fork 271
/
struct_instance_type.go
63 lines (61 loc) · 4.56 KB
/
struct_instance_type.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
package ecs
//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.
// InstanceType is a nested struct in ecs response
type InstanceType struct {
MemorySize float64 `json:"MemorySize" xml:"MemorySize"`
InstancePpsRx int64 `json:"InstancePpsRx" xml:"InstancePpsRx"`
EriQuantity int `json:"EriQuantity" xml:"EriQuantity"`
EniPrivateIpAddressQuantity int `json:"EniPrivateIpAddressQuantity" xml:"EniPrivateIpAddressQuantity"`
CpuCoreCount int `json:"CpuCoreCount" xml:"CpuCoreCount"`
EniTotalQuantity int `json:"EniTotalQuantity" xml:"EniTotalQuantity"`
NetworkEncryptionSupport bool `json:"NetworkEncryptionSupport" xml:"NetworkEncryptionSupport"`
Cores int `json:"Cores" xml:"Cores"`
NetworkCardQuantity int `json:"NetworkCardQuantity" xml:"NetworkCardQuantity"`
InstanceTypeId string `json:"InstanceTypeId" xml:"InstanceTypeId"`
InstanceBandwidthRx int `json:"InstanceBandwidthRx" xml:"InstanceBandwidthRx"`
InstanceType string `json:"InstanceType" xml:"InstanceType"`
QueuePairNumber int `json:"QueuePairNumber" xml:"QueuePairNumber"`
EniQuantity int `json:"EniQuantity" xml:"EniQuantity"`
Generation string `json:"Generation" xml:"Generation"`
SupportIoOptimized string `json:"SupportIoOptimized" xml:"SupportIoOptimized"`
InstanceTypeFamily string `json:"InstanceTypeFamily" xml:"InstanceTypeFamily"`
InitialCredit int `json:"InitialCredit" xml:"InitialCredit"`
InstancePpsTx int64 `json:"InstancePpsTx" xml:"InstancePpsTx"`
InstanceFamilyLevel string `json:"InstanceFamilyLevel" xml:"InstanceFamilyLevel"`
LocalStorageAmount int `json:"LocalStorageAmount" xml:"LocalStorageAmount"`
TotalEniQueueQuantity int `json:"TotalEniQueueQuantity" xml:"TotalEniQueueQuantity"`
CpuArchitecture string `json:"CpuArchitecture" xml:"CpuArchitecture"`
GPUSpec string `json:"GPUSpec" xml:"GPUSpec"`
SecondaryEniQueueNumber int `json:"SecondaryEniQueueNumber" xml:"SecondaryEniQueueNumber"`
InstanceBandwidthTx int `json:"InstanceBandwidthTx" xml:"InstanceBandwidthTx"`
MaximumQueueNumberPerEni int `json:"MaximumQueueNumberPerEni" xml:"MaximumQueueNumberPerEni"`
DiskQuantity int `json:"DiskQuantity" xml:"DiskQuantity"`
PrimaryEniQueueNumber int `json:"PrimaryEniQueueNumber" xml:"PrimaryEniQueueNumber"`
Memory int `json:"Memory" xml:"Memory"`
CpuTurboFrequency float64 `json:"CpuTurboFrequency" xml:"CpuTurboFrequency"`
BaselineCredit int `json:"BaselineCredit" xml:"BaselineCredit"`
EniTrunkSupported bool `json:"EniTrunkSupported" xml:"EniTrunkSupported"`
GPUAmount int `json:"GPUAmount" xml:"GPUAmount"`
GPUMemorySize float64 `json:"GPUMemorySize" xml:"GPUMemorySize"`
NvmeSupport string `json:"NvmeSupport" xml:"NvmeSupport"`
InstanceCategory string `json:"InstanceCategory" xml:"InstanceCategory"`
EniIpv6AddressQuantity int `json:"EniIpv6AddressQuantity" xml:"EniIpv6AddressQuantity"`
LocalStorageCapacity int64 `json:"LocalStorageCapacity" xml:"LocalStorageCapacity"`
CpuSpeedFrequency float64 `json:"CpuSpeedFrequency" xml:"CpuSpeedFrequency"`
LocalStorageCategory string `json:"LocalStorageCategory" xml:"LocalStorageCategory"`
PhysicalProcessorModel string `json:"PhysicalProcessorModel" xml:"PhysicalProcessorModel"`
NetworkCards NetworkCards `json:"NetworkCards" xml:"NetworkCards"`
}