def GetDeviceId(self):
    if self.disk_number is None:
      raise ValueError('disk_number is None.')
    return r'\\.\PHYSICALDRIVE%s' % self.disk_number
Return the Windows DeviceId of this disk.
dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/disk.py/BaseDisk.GetDeviceId