blob: 1b99f6817b696661098a6782b4237a96dc8aecbe [file] [log] [blame]
James Feist001b1722019-11-04 09:14:29 -08001description: >
2 Implement to provide drive attributes.
Willy Tu5795dac2021-07-15 11:32:52 -07003
4properties:
Andrei Kartashev4573e652021-08-29 00:20:54 +03005 - name: Capacity
6 default: 0
7 type: uint64
8 description: >
9 The size in bytes of the Drive. `0` if cannot be determined.
Willy Tu5795dac2021-07-15 11:32:52 -070010 - name: Type
11 default: Unknown
12 type: enum[self.DriveType]
13 description: >
14 The type of physical form factor of the Drive.
15
16enumerations:
17 - name: DriveType
18 description: >
19 Possible Drive type
20 values:
21 - name: HDD
22 description: >
23 A hard disk drive is an electro-mechanical data storage device
24 that stores and retrieves digital data using magnetic storage.
25 - name: SSD
26 description: >
27 A solid-state drive is a solid-state storage device that uses
28 integrated circuit assemblies to store data persistently.
29 - name: Unknown
30 description: >
31 The Drive type is unknown.