Partager via


MSFT_SMStorageFaultEvent class

Represents a storage fault event.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[Indication, provider("WMIStorage"), AMENDMENT]
class MSFT_SMStorageFaultEvent : MSFT_SMStorageEvent
{
  string                   StorageSubsystemObjectId;
  MSFT_SMStorageObject     SourceInstance;
  string                   Description;
  datetime                 EventTime;
  uint16                   PerceivedSeverity;
  string                   SourceClassName;
  UInt16                   ChangeType;
  String                   FaultId;
  String                   FaultType;
  String                   FaultingObjectDescription;
  String                   FaultingObjectLocation;
  MSFT_SMStorageObject REF FaultingObject;
  String                   Reason;
  String                   RecommendedActions[];
};

Members

The MSFT_SMStorageFaultEvent class has these types of members:

Properties

The MSFT_SMStorageFaultEvent class has these properties.

ChangeType

Data type: UInt16

Access type: Read-only

The state change of the alert.

The possible values are:

Creation (0)

Deletion (1)

Modification (2)

Description

Data type: string

Access type: Read-only

A brief description of the event, provided by the storage subsystem.

This property is inherited from MSFT_SMStorageEvent.

EventTime

Data type: datetime

Access type: Read-only

The date and time in which the event that triggered this event occurred.

This property is inherited from MSFT_SMStorageEvent.

FaultId

Data type: String

Access type: Read-only

A unique identifier of the fault.

FaultingObject

Data type: MSFT_SMStorageObject

Access type: Read-only

A reference to the storage service instance of the object that faulted.

FaultingObjectDescription

Data type: String

Access type: Read-only

Qualifiers: Required

The description of the object that triggered the fault.

FaultingObjectLocation

Data type: String

Access type: Read-only

The location of the object that triggered the fault.

FaultType

Data type: String

Access type: Read-only

A string that uniquely identifies the type of fault.

PerceivedSeverity

Data type: uint16

Access type: Read-only

The perceived severity of the event from the notifier's point of view.

This property is inherited from MSFT_SMStorageEvent.

The possible values are:

Unknown (0)

The severity is unknown or indeterminate.

Information (2)

The event is for informative purposes.

Degraded/Warning (3)

Action may be required by the user.

Minor (4)

Action is needed, but the situation is not serious at this time.

Major (5)

Immediate action is needed.

Critical (6)

Immediate action is needed and the scope of the issue is broad.

Fatal/NonRecoverable (7)

An error has occurred, but it is too late to take remedial action.

This value is reserved for system use.

Reason

Data type: String

Access type: Read-only

A formatted message that describes the reason for the fault.

RecommendedActions

Data type: String array

Access type: Read-only

An array that contains free form descriptions of the recommended actions to take to resolve the cause of the fault.

SourceClassName

Data type: string

Access type: Read-only

The class of the object that caused the event. For example, if the object causing the event is a storage pool, this property should be set to "MSFT_SMStoragePool" (not the vendor-derived class).

This property is inherited from MSFT_SMStorageEvent.

SourceInstance

Data type: MSFT_SMStorageObject

Access type: Read-only

Qualifiers: EmbeddedInstance ("MSFT_SMStorageObject")

The MSFT_SMStorageObject object that caused the event.

This property is inherited from MSFT_SMStorageEvent.

StorageSubsystemObjectId

Data type: string

Access type: Read-only

Qualifiers: Required

The ID of the storage object that caused the event.

This property is inherited from MSFT_SMStorageEvent.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\Microsoft\Windows\Storage\SM
MOF
MsftStrgMan.mof
DLL
StorageService.dll

See also

MSFT_SMStorageEvent

Windows Storage Management WMI Provider