@@ -115,6 +115,7 @@ type ConfigurationDetails struct {
115
115
// DedicatedServer represents dedicated server
116
116
type DedicatedServer struct {
117
117
ID string `json:"id"`
118
+ RackID string `json:"rack_id"`
118
119
Type string `json:"type"`
119
120
Title string `json:"title"`
120
121
LocationID int64 `json:"location_id"`
@@ -125,7 +126,9 @@ type DedicatedServer struct {
125
126
Configuration string `json:"configuration"`
126
127
PrivateIPv4Address * string `json:"private_ipv4_address"`
127
128
PublicIPv4Address * string `json:"public_ipv4_address"`
129
+ LeaseStart string `json:"lease_start_at"`
128
130
ScheduledRelease * time.Time `json:"scheduled_release_at"`
131
+ OobIPv4Address string `json:"oob_ipv4_address"`
129
132
ConfigurationDetails ConfigurationDetails `json:"configuration_details"`
130
133
Labels map [string ]string `json:"labels"`
131
134
Created time.Time `json:"created_at"`
@@ -134,27 +137,34 @@ type DedicatedServer struct {
134
137
135
138
// KubernetesBaremetalNode represents kubernetes baremetal node
136
139
type KubernetesBaremetalNode struct {
137
- ID string `json:"id"`
138
- Type string `json:"type"`
139
- Title string `json:"title"`
140
- LocationID int64 `json:"location_id"`
141
- LocationCode string `json:"location_code"`
142
- Status string `json:"status"`
143
- OperationalStatus string `json:"operational_status"`
144
- PowerStatus string `json:"power_status"`
145
- Configuration string `json:"configuration"`
146
- PrivateIPv4Address * string `json:"private_ipv4_address"`
147
- PublicIPv4Address * string `json:"public_ipv4_address"`
148
- ScheduledRelease * time.Time `json:"scheduled_release_at"`
149
- ConfigurationDetails ConfigurationDetails `json:"configuration_details"`
150
- Labels map [string ]string `json:"labels"`
151
- Created time.Time `json:"created_at"`
152
- Updated time.Time `json:"updated_at"`
140
+ ID string `json:"id"`
141
+ KubernetesClusterID string `json:"kubernetes_cluster_id"`
142
+ KubernetesClusterNodeID string `json:"kubernetes_cluster_node_id"`
143
+ KubernetesClusterNodeNumber int64 `json:"kubernetes_cluster_node_number"`
144
+ RackID string `json:"rack_id"`
145
+ Type string `json:"type"`
146
+ Title string `json:"title"`
147
+ LocationID int64 `json:"location_id"`
148
+ LocationCode string `json:"location_code"`
149
+ Status string `json:"status"`
150
+ OperationalStatus string `json:"operational_status"`
151
+ PowerStatus string `json:"power_status"`
152
+ Configuration string `json:"configuration"`
153
+ PrivateIPv4Address * string `json:"private_ipv4_address"`
154
+ PublicIPv4Address * string `json:"public_ipv4_address"`
155
+ LeaseStart string `json:"lease_start_at"`
156
+ ScheduledRelease * time.Time `json:"scheduled_release_at"`
157
+ OobIPv4Address string `json:"oob_ipv4_address"`
158
+ ConfigurationDetails ConfigurationDetails `json:"configuration_details"`
159
+ Labels map [string ]string `json:"labels"`
160
+ Created time.Time `json:"created_at"`
161
+ Updated time.Time `json:"updated_at"`
153
162
}
154
163
155
164
// SBMServer represents scalable baremetal server
156
165
type SBMServer struct {
157
166
ID string `json:"id"`
167
+ RackID string `json:"rack_id"`
158
168
Type string `json:"type"`
159
169
Title string `json:"title"`
160
170
LocationID int64 `json:"location_id"`
@@ -165,7 +175,9 @@ type SBMServer struct {
165
175
Configuration string `json:"configuration"`
166
176
PrivateIPv4Address * string `json:"private_ipv4_address"`
167
177
PublicIPv4Address * string `json:"public_ipv4_address"`
178
+ LeaseStart string `json:"lease_start_at"`
168
179
ScheduledRelease * time.Time `json:"scheduled_release_at"`
180
+ OobIPv4Address string `json:"oob_ipv4_address"`
169
181
ConfigurationDetails ConfigurationDetails `json:"configuration_details"`
170
182
Labels map [string ]string `json:"labels"`
171
183
Created time.Time `json:"created_at"`
0 commit comments