blob: e853bf033988d97454cccaf676e38144316b6d18 [file] [log] [blame]
Ed Tanous118b1c72018-09-13 13:45:51 -07001{
Gunnar Mills9d424662021-09-22 21:56:16 -05002 "$id": "http://redfish.dmtf.org/schemas/v1/VirtualMedia.v1_5_0.json",
Ed Tanous118b1c72018-09-13 13:45:51 -07003 "$ref": "#/definitions/VirtualMedia",
Ed Tanous530520e2019-01-02 13:41:37 -08004 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
Gunnar Mills10f270b2021-05-19 15:34:06 -05005 "copyright": "Copyright 2014-2021 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
Ed Tanous118b1c72018-09-13 13:45:51 -07006 "definitions": {
7 "Actions": {
8 "additionalProperties": false,
Gunnar Mills9d424662021-09-22 21:56:16 -05009 "description": "The available actions for this resource.",
10 "longDescription": "This type shall contain the available actions for this resource.",
Ed Tanous118b1c72018-09-13 13:45:51 -070011 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -070012 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -070013 "description": "This property shall specify a valid odata or Redfish property.",
14 "type": [
15 "array",
16 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -080017 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070018 "number",
19 "null",
20 "object",
21 "string"
22 ]
23 }
24 },
25 "properties": {
26 "#VirtualMedia.EjectMedia": {
27 "$ref": "#/definitions/EjectMedia"
28 },
29 "#VirtualMedia.InsertMedia": {
30 "$ref": "#/definitions/InsertMedia"
31 },
32 "Oem": {
Ed Tanous530520e2019-01-02 13:41:37 -080033 "$ref": "#/definitions/OemActions",
Gunnar Mills9d424662021-09-22 21:56:16 -050034 "description": "The available OEM-specific actions for this resource.",
35 "longDescription": "This property shall contain the available OEM-specific actions for this resource.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -060036 "versionAdded": "v1_1_0"
Ed Tanous118b1c72018-09-13 13:45:51 -070037 }
38 },
39 "type": "object"
40 },
41 "ConnectedVia": {
42 "enum": [
43 "NotConnected",
44 "URI",
45 "Applet",
46 "Oem"
47 ],
48 "enumDescriptions": {
49 "Applet": "Connected to a client application.",
50 "NotConnected": "No current connection.",
Ed Tanouscb103132019-10-08 11:34:22 -070051 "Oem": "Connected through an OEM-defined method.",
Ed Tanous118b1c72018-09-13 13:45:51 -070052 "URI": "Connected to a URI location."
53 },
54 "type": "string"
55 },
56 "EjectMedia": {
57 "additionalProperties": false,
Ed Tanouscb103132019-10-08 11:34:22 -070058 "description": "This action detaches remote media from virtual media.",
59 "longDescription": "This action shall detach the remote media from the virtual media. At the completion of the operation, inserted shall be set to `false` and the image name shall be cleared.",
Ed Tanous118b1c72018-09-13 13:45:51 -070060 "parameters": {},
61 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -070062 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -070063 "description": "This property shall specify a valid odata or Redfish property.",
64 "type": [
65 "array",
66 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -080067 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070068 "number",
69 "null",
70 "object",
71 "string"
72 ]
73 }
74 },
75 "properties": {
76 "target": {
77 "description": "Link to invoke action",
Ed Tanouscb103132019-10-08 11:34:22 -070078 "format": "uri-reference",
Ed Tanous118b1c72018-09-13 13:45:51 -070079 "type": "string"
80 },
81 "title": {
82 "description": "Friendly action name",
83 "type": "string"
84 }
85 },
Marri Devender Raod45d2d02019-01-21 10:11:34 -060086 "type": "object",
87 "versionAdded": "v1_2_0"
Ed Tanous118b1c72018-09-13 13:45:51 -070088 },
89 "InsertMedia": {
90 "additionalProperties": false,
Ed Tanouscb103132019-10-08 11:34:22 -070091 "description": "This action attaches remote media to virtual media.",
Ed Tanous118b1c72018-09-13 13:45:51 -070092 "longDescription": "This action shall attach remote media to virtual media.",
93 "parameters": {
94 "Image": {
Gunnar Mills9d424662021-09-22 21:56:16 -050095 "description": "The URI of the media to attach to the virtual media.",
96 "longDescription": "This parameter shall contain the URI of the media to be attached to the virtual media. This parameter may specify an absolute URI to remote media or a relative URI to media local to the implementation. A service may allow a relative URI to reference a SoftwareInventory resource.",
Ed Tanous118b1c72018-09-13 13:45:51 -070097 "requiredParameter": true,
98 "type": "string"
99 },
100 "Inserted": {
Ed Tanouscb103132019-10-08 11:34:22 -0700101 "description": "An indication of whether the image is treated as inserted upon completion of the action. The default is `true`.",
Gunnar Mills9d424662021-09-22 21:56:16 -0500102 "longDescription": "This parameter shall contain whether the image is treated as inserted upon completion of the action. If the client does not provide this parameter, the service shall default this value to `true`.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700103 "type": "boolean"
104 },
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600105 "Password": {
Gunnar Mills9d424662021-09-22 21:56:16 -0500106 "description": "The password to access the URI specified by the Image parameter.",
107 "longDescription": "This parameter shall contain the password to access the URI specified by the Image parameter.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600108 "type": "string",
109 "versionAdded": "v1_3_0"
110 },
111 "TransferMethod": {
112 "$ref": "#/definitions/TransferMethod",
Gunnar Mills9d424662021-09-22 21:56:16 -0500113 "description": "The transfer method to use with the image.",
114 "longDescription": "This parameter shall contain the transfer method to use with the specified image URI.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600115 "versionAdded": "v1_3_0"
116 },
117 "TransferProtocolType": {
118 "$ref": "#/definitions/TransferProtocolType",
Ed Tanouscb103132019-10-08 11:34:22 -0700119 "description": "The network protocol to use with the image.",
Gunnar Mills9d424662021-09-22 21:56:16 -0500120 "longDescription": "This parameter shall contain the network protocol to use with the specified image URI.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600121 "versionAdded": "v1_3_0"
122 },
123 "UserName": {
Gunnar Mills9d424662021-09-22 21:56:16 -0500124 "description": "The username to access the URI specified by the Image parameter.",
125 "longDescription": "This parameter shall contain the username to access the URI specified by the Image parameter.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600126 "type": "string",
127 "versionAdded": "v1_3_0"
128 },
Ed Tanous118b1c72018-09-13 13:45:51 -0700129 "WriteProtected": {
Ed Tanouscb103132019-10-08 11:34:22 -0700130 "description": "An indication of whether the remote media is treated as write-protected. The default is `true`.",
Gunnar Mills9d424662021-09-22 21:56:16 -0500131 "longDescription": "This parameter shall contain whether the remote media is treated as write-protected. If the client does not provide this parameter, the service shall default this value to `true`.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700132 "type": "boolean"
133 }
134 },
135 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700136 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700137 "description": "This property shall specify a valid odata or Redfish property.",
138 "type": [
139 "array",
140 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800141 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700142 "number",
143 "null",
144 "object",
145 "string"
146 ]
147 }
148 },
149 "properties": {
150 "target": {
151 "description": "Link to invoke action",
Ed Tanouscb103132019-10-08 11:34:22 -0700152 "format": "uri-reference",
Ed Tanous118b1c72018-09-13 13:45:51 -0700153 "type": "string"
154 },
155 "title": {
156 "description": "Friendly action name",
157 "type": "string"
158 }
159 },
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600160 "type": "object",
161 "versionAdded": "v1_2_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700162 },
163 "MediaType": {
164 "enum": [
165 "CD",
166 "Floppy",
167 "USBStick",
168 "DVD"
169 ],
170 "enumDescriptions": {
171 "CD": "A CD-ROM format (ISO) image.",
172 "DVD": "A DVD-ROM format image.",
173 "Floppy": "A floppy disk image.",
174 "USBStick": "An emulation of a USB storage device."
175 },
176 "type": "string"
177 },
178 "OemActions": {
179 "additionalProperties": true,
Gunnar Mills9d424662021-09-22 21:56:16 -0500180 "description": "The available OEM-specific actions for this resource.",
181 "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700182 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700183 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700184 "description": "This property shall specify a valid odata or Redfish property.",
185 "type": [
186 "array",
187 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800188 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700189 "number",
190 "null",
191 "object",
192 "string"
193 ]
194 }
195 },
196 "properties": {},
197 "type": "object"
198 },
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600199 "TransferMethod": {
200 "enum": [
201 "Stream",
202 "Upload"
203 ],
204 "enumDescriptions": {
205 "Stream": "Stream image file data from the source URI.",
206 "Upload": "Upload the entire image file from the source URI to the service."
207 },
208 "type": "string"
209 },
210 "TransferProtocolType": {
211 "enum": [
212 "CIFS",
213 "FTP",
214 "SFTP",
215 "HTTP",
216 "HTTPS",
217 "NFS",
218 "SCP",
219 "TFTP",
220 "OEM"
221 ],
222 "enumDescriptions": {
Ed Tanouscb103132019-10-08 11:34:22 -0700223 "CIFS": "Common Internet File System (CIFS).",
224 "FTP": "File Transfer Protocol (FTP).",
225 "HTTP": "Hypertext Transfer Protocol (HTTP).",
226 "HTTPS": "Hypertext Transfer Protocol Secure (HTTPS).",
227 "NFS": "Network File System (NFS).",
228 "OEM": "A manufacturer-defined protocol.",
229 "SCP": "Secure Copy Protocol (SCP).",
230 "SFTP": "Secure File Transfer Protocol (SFTP).",
231 "TFTP": "Trivial File Transfer Protocol (TFTP)."
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600232 },
233 "type": "string"
234 },
Ed Tanous118b1c72018-09-13 13:45:51 -0700235 "VirtualMedia": {
236 "additionalProperties": false,
Ed Tanouscb103132019-10-08 11:34:22 -0700237 "description": "The VirtualMedia schema contains properties related to the monitor and control of an instance of virtual media, such as a remote CD, DVD, or USB device. A manager for a system or device provides virtual media functionality.",
Gunnar Mills9d424662021-09-22 21:56:16 -0500238 "longDescription": "This resource shall represent a virtual media service for a Redfish implementation.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700239 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700240 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700241 "description": "This property shall specify a valid odata or Redfish property.",
242 "type": [
243 "array",
244 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800245 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700246 "number",
247 "null",
248 "object",
249 "string"
250 ]
251 }
252 },
253 "properties": {
254 "@odata.context": {
Ed Tanouscb103132019-10-08 11:34:22 -0700255 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
Ed Tanous530520e2019-01-02 13:41:37 -0800256 },
257 "@odata.etag": {
Ed Tanouscb103132019-10-08 11:34:22 -0700258 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
Ed Tanous118b1c72018-09-13 13:45:51 -0700259 },
260 "@odata.id": {
Ed Tanouscb103132019-10-08 11:34:22 -0700261 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
Ed Tanous118b1c72018-09-13 13:45:51 -0700262 },
263 "@odata.type": {
Ed Tanouscb103132019-10-08 11:34:22 -0700264 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
Ed Tanous118b1c72018-09-13 13:45:51 -0700265 },
266 "Actions": {
267 "$ref": "#/definitions/Actions",
Gunnar Mills9d424662021-09-22 21:56:16 -0500268 "description": "The available actions for this resource.",
269 "longDescription": "This property shall contain the available actions for this resource.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600270 "versionAdded": "v1_1_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700271 },
Gunnar Mills10f270b2021-05-19 15:34:06 -0500272 "Certificates": {
273 "$ref": "http://redfish.dmtf.org/schemas/v1/CertificateCollection.json#/definitions/CertificateCollection",
274 "description": "The link to a collection of server certificates for the server referenced by the Image property.",
275 "longDescription": "This property shall contain a link to a resource collection of type CertificateCollection that represents the server certificates for the server referenced by the Image property. If VerifyCertificate is `true`, services shall compare the certificates in this collection with the certificate obtained during handshaking with the image server in order to verify the identify of the image server prior to completing the remote media connection. If the server cannot be verified, the service shall not complete the remote media connection. If VerifyCertificate is `false`, the service shall not perform certificate verification.",
276 "readonly": true,
277 "versionAdded": "v1_4_0"
278 },
Gunnar Mills9d424662021-09-22 21:56:16 -0500279 "ClientCertificates": {
280 "$ref": "http://redfish.dmtf.org/schemas/v1/CertificateCollection.json#/definitions/CertificateCollection",
281 "description": "The link to a collection of client identity certificates provided to the server referenced by the Image property.",
282 "longDescription": "This property shall contain a link to a resource collection of type CertificateCollection that represents the client identity certificates that are provided to the server referenced by the Image property as part of TLS handshaking.",
283 "readonly": true,
284 "versionAdded": "v1_5_0"
285 },
Ed Tanous118b1c72018-09-13 13:45:51 -0700286 "ConnectedVia": {
287 "anyOf": [
288 {
289 "$ref": "#/definitions/ConnectedVia"
290 },
291 {
292 "type": "null"
293 }
294 ],
Ed Tanouscb103132019-10-08 11:34:22 -0700295 "description": "The current virtual media connection method.",
Gunnar Mills9d424662021-09-22 21:56:16 -0500296 "longDescription": "This property shall contain the current connection method from a client to the virtual media that this resource represents.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700297 "readonly": true
298 },
299 "Description": {
300 "anyOf": [
301 {
302 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
303 },
304 {
305 "type": "null"
306 }
307 ],
308 "readonly": true
309 },
310 "Id": {
311 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
312 "readonly": true
313 },
314 "Image": {
Ed Tanouscb103132019-10-08 11:34:22 -0700315 "description": "The URI of the location of the selected image.",
316 "format": "uri-reference",
Gunnar Mills9d424662021-09-22 21:56:16 -0500317 "longDescription": "This property shall contain the URI of the media attached to the virtual media. This value may specify an absolute URI to remote media or a relative URI to media local to the implementation. A service may allow a relative URI to reference a SoftwareInventory resource. The value `null` shall indicates no image connection.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700318 "readonly": false,
319 "type": [
320 "string",
321 "null"
322 ]
323 },
324 "ImageName": {
325 "description": "The current image name.",
Ed Tanouscb103132019-10-08 11:34:22 -0700326 "longDescription": "This property shall contain the name of the image.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700327 "readonly": true,
328 "type": [
329 "string",
330 "null"
331 ]
332 },
333 "Inserted": {
Ed Tanouscb103132019-10-08 11:34:22 -0700334 "description": "An indication of whether virtual media is inserted into the virtual device.",
335 "longDescription": "This property shall indicate whether media is present in the virtual media device.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700336 "readonly": false,
337 "type": [
338 "boolean",
339 "null"
340 ]
341 },
342 "MediaTypes": {
Ed Tanouscb103132019-10-08 11:34:22 -0700343 "description": "The media types supported as virtual media.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700344 "items": {
345 "$ref": "#/definitions/MediaType"
346 },
Gunnar Mills9d424662021-09-22 21:56:16 -0500347 "longDescription": "This property shall contain an array of the supported media types for this connection.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700348 "readonly": true,
349 "type": "array"
350 },
351 "Name": {
352 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
353 "readonly": true
354 },
355 "Oem": {
356 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
Ed Tanouscb103132019-10-08 11:34:22 -0700357 "description": "The OEM extension property.",
358 "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
Ed Tanous118b1c72018-09-13 13:45:51 -0700359 },
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600360 "Password": {
Ed Tanouscb103132019-10-08 11:34:22 -0700361 "description": "The password to access the Image parameter-specified URI. This property is null in responses.",
362 "longDescription": "This parameter shall represent the password to access the Image parameter-specified URI. The value shall be null in responses.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600363 "readonly": false,
364 "type": [
365 "string",
366 "null"
367 ],
368 "versionAdded": "v1_3_0"
369 },
Gunnar Mills10f270b2021-05-19 15:34:06 -0500370 "Status": {
371 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
372 "description": "The status and health of the resource and its subordinate or dependent resources.",
373 "longDescription": "This property shall contain any status or health properties of the resource.",
374 "versionAdded": "v1_4_0"
375 },
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600376 "TransferMethod": {
377 "anyOf": [
378 {
379 "$ref": "#/definitions/TransferMethod"
380 },
381 {
382 "type": "null"
383 }
384 ],
Ed Tanouscb103132019-10-08 11:34:22 -0700385 "description": "The transfer method to use with the Image.",
386 "longDescription": "This parameter shall describe how the image transfer occurs.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600387 "readonly": false,
388 "versionAdded": "v1_3_0"
389 },
390 "TransferProtocolType": {
391 "anyOf": [
392 {
393 "$ref": "#/definitions/TransferProtocolType"
394 },
395 {
396 "type": "null"
397 }
398 ],
Ed Tanouscb103132019-10-08 11:34:22 -0700399 "description": "The network protocol to use with the image.",
400 "longDescription": "This parameter shall represent the network protocol to use with the specified image URI.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600401 "readonly": false,
402 "versionAdded": "v1_3_0"
403 },
404 "UserName": {
Ed Tanouscb103132019-10-08 11:34:22 -0700405 "description": "The user name to access the Image parameter-specified URI.",
406 "longDescription": "This parameter shall represent the user name to access the Image parameter-specified URI.",
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600407 "readonly": false,
408 "type": [
409 "string",
410 "null"
411 ],
412 "versionAdded": "v1_3_0"
413 },
Gunnar Mills10f270b2021-05-19 15:34:06 -0500414 "VerifyCertificate": {
415 "description": "An indication of whether the service will verify the certificate of the server referenced by the Image property prior to completing the remote media connection.",
416 "longDescription": "This property shall indicate whether whether the service will verify the certificate of the server referenced by the Image property prior to completing the remote media connection.",
417 "readonly": false,
418 "type": [
419 "boolean",
420 "null"
421 ],
422 "versionAdded": "v1_4_0"
423 },
Ed Tanous118b1c72018-09-13 13:45:51 -0700424 "WriteProtected": {
Ed Tanouscb103132019-10-08 11:34:22 -0700425 "description": "An indication of whether the media is write-protected.",
426 "longDescription": "This property shall indicate whether the remote device media prevents writing to that media.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700427 "readonly": false,
428 "type": [
429 "boolean",
430 "null"
431 ]
432 }
433 },
434 "required": [
Ed Tanous530520e2019-01-02 13:41:37 -0800435 "@odata.id",
436 "@odata.type",
Ed Tanous118b1c72018-09-13 13:45:51 -0700437 "Id",
438 "Name"
439 ],
440 "type": "object"
441 }
442 },
Ed Tanous530520e2019-01-02 13:41:37 -0800443 "owningEntity": "DMTF",
Gunnar Mills9d424662021-09-22 21:56:16 -0500444 "release": "2021.2",
445 "title": "#VirtualMedia.v1_5_0.VirtualMedia"
Ed Tanous118b1c72018-09-13 13:45:51 -0700446}