IPWorks Cloud 2020 Python Edition

Questions / Feedback?

drive_state Property

The drive's storage quota state.

Syntax

def get_drive_state(drive_index: int) -> int: ...

Default Value

0

Remarks

The drive's storage quota state.

This property reflects the drive's current storage quota state. Possible values are:

0 (dsNormal) The drive has >= 10% free space remaining.
1 (dsNearing) The drive has < 10% free space remaining.
2 (dsCritical) The drive has < 1% free space remaining.
3 (dsExceeded) The drive has reached or exceeded its storage quota.

The drive_index parameter specifies the index of the item in the array. The size of the array is controlled by the drive_count property.

This property is read-only.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 Python Edition - Version 20.0 [Build 8265]