2.2.4.29 DriveInfo

The DriveInfo type contains informational data about the server drive.

Namespace: http://contracts.microsoft.com/WindowsServerEssentials/2011/09/WebApi

 <xs:complexType name="DriveInfo">
   <xs:sequence>
     <xs:element minOccurs="0" maxOccurs="1" name="Capacity" nillable="true" type="xs:string"/>
     <xs:element minOccurs="0" maxOccurs="1" name="DataStatus" nillable="true" type="xs:string"/>
     <xs:element minOccurs="0" maxOccurs="1" name="DiskID" nillable="true" type="xs:string"/>
     <xs:element minOccurs="0" maxOccurs="1" name="DriveGuid" nillable="true" type="xs:string"/>
     <xs:element minOccurs="0" maxOccurs="1" name="FileSystemType" nillable="true" type="xs:string"/>
     <xs:element minOccurs="0" maxOccurs="1" name="ID" nillable="true" type="xs:string"/>
     <xs:element minOccurs="0" maxOccurs="1" name="MountPoint" nillable="true" type="xs:string"/>
     <xs:element minOccurs="0" maxOccurs="1" name="Name" nillable="true" type="xs:string"/>
     <xs:element minOccurs="0" maxOccurs="1" name="NextSnapshotTime" nillable="true" type="xs:string"/>
     <xs:element minOccurs="0" maxOccurs="1" name="SnapshotsEnabled" type="xs:boolean"/>
     <xs:element minOccurs="0" maxOccurs="1" name="Status" nillable="true" type="xs:string"/>
     <xs:element minOccurs="0" maxOccurs="1" name="SystemDrive" type="xs:boolean"/>
     <xs:element minOccurs="0" maxOccurs="1" name="UsedSpace" nillable="true" type="xs:string"/>
   </xs:sequence>
 </xs:complexType>

Capacity: The total capacity of this drive in bytes.

DataStatus: The data status of this drive.

DiskID: The unique ID of the parent disk.

DriveGuid: The drive GUID, which persists across reboots.

FileSystemType: The file system on this drive, which SHOULD be one of the following:

  • Unknown

  • Raw

  • FAT

  • FAT32

  • NTFS

  • CDFS

  • UDF

  • EXFAT

  • CSVFS

  • REFS

ID: The unique ID of the drive.

MountPoint: The mount point of the drive.

Name: The user-friendly name of the drive.

NextSnapshotTime: The time at which the drive takes the next snapshot.

SnapshotsEnabled: A flag that indicates whether snapshots are enabled for this drive.

Status: The status of this drive.

SystemDrive: A flag that indicates whether the drive is a system drive.

UsedSpace: The total used space on this drive in bytes.