Partager via


MSFT_WvrHealth class

Represents the health of Storage Replica Objects.

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

Syntax

[dynamic, provider("wvrcimprov"), AMENDMENT]
class MSFT_WvrHealth
{
  uint16 ObjectType;
  string SourceObjectId;
  string DiskId;
  string ReplicationGroupId;
  uint16 HealthStatus;
  string FaultReasonParameters[];
  string FaultReason;
  string FaultTypeId;
  string ActionId;
  string ActionString;
  string ActionStringParameters[];
};

Members

The MSFT_WvrHealth class has these types of members:

Properties

The MSFT_WvrHealth class has these properties.

ActionId

Data type: string

Access type: Read-only

Specifies the action ID associated with the FaultId for this health object.

ActionString

Data type: string

Access type: Read-only

Specifies the action ID string. This string can be used as is and will be localized in the server locale.

ActionStringParameters

Data type: string array

Access type: Read-only

Specifies the parameters for the action ID string.

DiskId

Data type: string

Access type: Read-only

Specifies the disk identifier in case of objects of type Replica, ReplicaLog or PartitionDb.

FaultReason

Data type: string

Access type: Read-only

Specifies a string that contains the fault reason. This string can be used as-is and will be localized in the server locale.

FaultReasonParameters

Data type: string array

Access type: Read-only

Specifies the parameters for the reason string associated with the FaultTypeId.

FaultTypeId

Data type: string

Access type: Read-only

Specifies the ID for the fault type associated with the health object.

HealthStatus

Data type: uint16

Access type: Read-only

Specifies the health of the object.

Healthy (0)

Warning (1)

Unhealthy (2)

ObjectType

Data type: uint16

Access type: Read-only

Represents the object type this health object is associated with.

ReplicationGroup (0)

Replica (1)

ReplicaLog (2)

PartitionDb (3)

ReplicationGroupId

Data type: string

Access type: Read-only

Specifies the unique id of the replication group that owns the health object.

SourceObjectId

Data type: string

Access type: Read-only

Qualifiers: Required

Indicates the object that this health object belongs to.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\Microsoft\Windows\StorageReplica
MOF
Wvrcimprov.mof
DLL
Wvrcimprov.dll