Skip to content

Commit 0119540

Browse files
authored
Update virtual image response (#175)
Adds some missing fields and descriptions to the virtual image response
1 parent 6c7955e commit 0119540

File tree

1 file changed

+127
-0
lines changed

1 file changed

+127
-0
lines changed

components/schemas/virtualImage.yaml

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,19 @@ properties:
55
format: int64
66
name:
77
type: string
8+
description: A name for the virtual image
89
description:
910
type:
1011
- string
1112
- 'null'
13+
description: A description for the virtual image
1214
labels:
1315
type: array
16+
description: Array of label strings, can be used for filtering.
1417
items:
1518
type: string
1619
ownerId:
20+
description: Owner of the image
1721
type: integer
1822
format: int64
1923
tenant:
@@ -26,15 +30,21 @@ properties:
2630
type: string
2731
imageType:
2832
type: string
33+
description: Code of image type. eg. vmware, ami, etc.
2934
userUploaded:
35+
description: Is uploaded by an user?
3036
type: boolean
3137
userDefined:
38+
description: Is defined by an user?
3239
type: boolean
3340
systemImage:
41+
description: Is created by system?
3442
type: boolean
3543
isCloudInit:
3644
type: boolean
45+
description: Cloud Init Enabled?
3746
sshUsername:
47+
description: SSH Username
3848
type:
3949
- string
4050
- 'null'
@@ -47,6 +57,7 @@ properties:
4757
- string
4858
- 'null'
4959
sshKey:
60+
description: SSH Key
5061
type:
5162
- string
5263
- 'null'
@@ -80,55 +91,70 @@ properties:
8091
platform:
8192
type: string
8293
minRam:
94+
description: Minimum required RAM in bytes
8395
type:
8496
- integer
8597
- 'null'
8698
format: int64
8799
minRamGB:
100+
description: Minimum required RAM in gigabytes
88101
type:
89102
- number
90103
- 'null'
91104
format: double
92105
minDisk:
106+
description: Minimum required disk size in bytes
93107
type:
94108
- integer
95109
- 'null'
96110
format: int64
97111
minDiskGB:
112+
description: Minimum required disk size in gigabytes
98113
type:
99114
- string
100115
- 'null'
101116
rawSize:
117+
description: Size of image in bytes
102118
type:
103119
- integer
104120
- 'null'
105121
format: int64
106122
rawSizeGB:
123+
description: Size of image in gigabytes
107124
type:
108125
- number
109126
- 'null'
110127
trialVersion:
128+
description: Is Trial Version?
111129
type: boolean
112130
virtioSupported:
113131
type: boolean
132+
description: VirtIO Drivers Loaded?
114133
uefi:
115134
description: UEFI enabled?
116135
type:
117136
- boolean
118137
- 'null'
119138
isAutoJoinDomain:
120139
type: boolean
140+
description: Auto Join Domain?
121141
vmToolsInstalled:
122142
type: boolean
143+
description: VM Tools Installed?
123144
installAgent:
124145
type: boolean
146+
description: Install Agent?
125147
isForceCustomization:
126148
type: boolean
149+
description: Force Guest Customization?
127150
isSysprep:
128151
type: boolean
152+
description: Sysprep Enabled?
129153
fipsEnabled:
130154
type: boolean
155+
description: FIPS enabled?
131156
userData:
157+
description: Cloud-Init User Data, a bash script
132158
type:
133159
- string
134160
- 'null'
@@ -152,6 +178,7 @@ properties:
152178
- 'null'
153179
visibility:
154180
type: string
181+
description: private or public
155182
enum:
156183
- "private"
157184
- "public"
@@ -201,12 +228,46 @@ properties:
201228
type: array
202229
items:
203230
type: object
231+
properties:
232+
id:
233+
type: integer
234+
format: int64
235+
name:
236+
type: string
237+
active:
238+
type: boolean
239+
type:
240+
type: object
241+
properties:
242+
id:
243+
type: integer
244+
format: int64
245+
code:
246+
type: string
247+
name:
248+
type: string
249+
busNumber:
250+
type: integer
251+
format: int64
252+
maxDevices:
253+
type: integer
254+
format: int64
255+
removable:
256+
type: boolean
257+
editable:
258+
type: boolean
259+
reservedUnitNumber:
260+
type: integer
261+
format: int64
262+
category:
263+
type: string
204264
networkInterfaces:
205265
type: array
206266
items:
207267
type: object
208268
tags:
209269
type: array
270+
description: Metadata tags, Array of objects having a name and value
210271
items:
211272
type: object
212273
properties:
@@ -218,6 +279,72 @@ properties:
218279
type: array
219280
items:
220281
type: object
282+
properties:
283+
id:
284+
type: integer
285+
format: int64
286+
cloud:
287+
type: object
288+
code:
289+
type: string
290+
internalId:
291+
type:
292+
- string
293+
- 'null'
294+
externalId:
295+
type:
296+
- string
297+
- 'null'
298+
externalDiskId:
299+
type:
300+
- string
301+
- 'null'
302+
remotePath:
303+
type:
304+
- string
305+
- 'null'
306+
imagePath:
307+
type:
308+
- string
309+
- 'null'
310+
imageName:
311+
type:
312+
- string
313+
imageRegion:
314+
type:
315+
- string
316+
- 'null'
317+
imageFolder:
318+
type:
319+
- string
320+
- 'null'
321+
refType:
322+
type: string
323+
refId:
324+
type:
325+
- integer
326+
- 'null'
327+
format: int64
328+
nodeRefType:
329+
type:
330+
- string
331+
- 'null'
332+
subRefType:
333+
type:
334+
- string
335+
- 'null'
336+
subRefId:
337+
type:
338+
- integer
339+
- 'null'
340+
format: int64
341+
isPublic:
342+
type: boolean
343+
systemImage:
344+
type: boolean
345+
diskIndex:
346+
type: integer
347+
format: int64
221348
dateCreated:
222349
type: string
223350
format: date-time

0 commit comments

Comments
 (0)