MSFT_StorageEnclosure class

Represents a storage enclosure.

The following syntax is simplified from MOF code and includes all inherited properties.

Syntax

class MSFT_StorageEnclosure : MSFT_StorageFaultDomain
{
  String DeviceId;
  String FriendlyName;
  String FirmwareVersion;
  UInt32 NumberOfSlots;
  UInt16 PowerSupplyOperationalStatus[];
  UInt16 FanOperationalStatus[];
  UInt16 TemperatureSensorOperationalStatus[];
  UInt16 VoltageSensorOperationalStatus[];
  UInt16 CurrentSensorOperationalStatus[];
  UInt16 IOControllerOperationalStatus[];
};

Members

The MSFT_StorageEnclosure class has these types of members:

Methods

The MSFT_StorageEnclosure class has these methods.

Method Description
GetVendorData Returns the vendor-specific data from an enclosure.
IdentifyElement Permits a user to perform identification tasks on the enclosure and its elements.

Properties

The MSFT_StorageEnclosure class has these properties.

CurrentSensorOperationalStatus

Data type: UInt16 array

Access type: Read-only

An array containing the operational status of each current sensor of the enclosure.

Value Meaning
Unknown 0 The operational status of the element is unknown.
OK 2 The element is present and working, with no issues detected.
Degraded 3 The element detects a non-critical issue.
Error 6 The element detects a critical issue.
Non-Recoverable Error 7 The element detects a non-recoverable issue.
Not Installed 0xD009 The element is not present.
Not Available 0xD00A The element is present but has problems that make it unavailable.
No Access Allowed 0xD00B No access is allowed to the element.
Not Supported 0xD00C The element is not supported.

DeviceId

Data type: String

Access type: Read-only

An address or other identifier that uniquely names the enclosure.

FanOperationalStatus

Data type: UInt16 array

Access type: Read-only

An array containing the operational status of each fan of the enclosure.

Value Meaning
Unknown 0 The operational status of the element is unknown.
OK 2 The element is present and working, with no issues detected.
Degraded 3 The element detects a non-critical issue.
Error 6 The element detects a critical issue.
Non-Recoverable Error 7 The element detects a non-recoverable issue.
Not Installed 0xD009 The element is not present.
Not Available 0xD00A The element is present but has problems that make it unavailable.
No Access Allowed 0xD00B No access is allowed to the element.
Not Supported 0xD00C The element is not supported.

FirmwareVersion

Data type: String

Access type: Read-only

Qualifiers: Required

A string representation of the enclosure's firmware version.

FriendlyName

Data type: String

Access type: Read-only

Qualifiers: Required

A user-friendly string representing the name of the enclosure.

IOControllerOperationalStatus

Data type: UInt16 array

Access type: Read-only

An array containing the operational status of each IO controller module of the enclosure.

Value Meaning
Unknown 0 The operational status of the element is unknown.
OK 2 The element is present and working, with no issues detected.
Degraded 3 The element detects a non-critical issue.
Error 6 The element detects a critical issue.
Non-Recoverable Error 7 The element detects a non-recoverable issue.
Not Installed 0xD009 The element is not present.
Not Available 0xD00A The element is present but has problems that make it unavailable.
No Access Allowed 0xD00B No access is allowed to the element.
Not Supported 0xD00C The element is not supported.

NumberOfSlots

Data type: UInt32

Access type: Read-only

Qualifiers: Required

Number of slots hosted within the enclosure.

PowerSupplyOperationalStatus

Data type: UInt16 array

Access type: Read-only

An array containing the operational status of each power supply module of the enclosure.

Value Meaning
Unknown 0 The operational status of the element is unknown.
OK 2 The element is present and working, with no issues detected.
Degraded 3 The element detects a non-critical issue.
Error 6 The element detects a critical issue.
Non-Recoverable Error 7 The element detects a non-recoverable issue.
Not Installed 0xD009 The element is not present.
Not Available 0xD00A The element is present but has problems that make it unavailable.
No Access Allowed 0xD00B No access is allowed to the element.
Not Supported 0xD00C The element is not supported.

TemperatureSensorOperationalStatus

Data type: UInt16 array

Access type: Read-only

An array containing the operational status of each temperature sensor of the enclosure.

Value Meaning
Unknown 0 The operational status of the element is unknown.
OK 2 The element is present and working, with no issues detected.
Degraded 3 The element detects a non-critical issue.
Error 6 The element detects a critical issue.
Non-Recoverable Error 7 The element detects a non-recoverable issue.
Not Installed 0xD009 The element is not present.
Not Available 0xD00A The element is present but has problems that make it unavailable.
No Access Allowed 0xD00B No access is allowed to the element.
Not Supported 0xD00C The element is not supported.

VoltageSensorOperationalStatus

Data type: UInt16 array

Access type: Read-only

An array containing the operational status of each voltage sensor of the enclosure.

Value Meaning
Unknown 0 The operational status of the element is unknown.
OK 2 The element is present and working, with no issues detected.
Degraded 3 The element detects a non-critical issue.
Error 6 The element detects a critical issue.
Non-Recoverable Error 7 The element detects a non-recoverable issue.
Not Installed 0xD009 The element is not present.
Not Available 0xD00A The element is present but has problems that make it unavailable.
No Access Allowed 0xD00B No access is allowed to the element.
Not Supported 0xD00C The element is not supported.

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps only]
Minimum supported server Windows Server 2012 R2 [desktop apps only]
Namespace Root\Microsoft\Windows\Storage
MOF Storagewmi.mof

See also

MSFT_StorageFaultDomain