Share via


MSCluster_ClusterDisk class

A dynamic WMI class that represents a disk. This is the parent class for the MSCluster_Disk and MSCluster_AvailableDisk classes.

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

Syntax

[Abstract, Provider("MS_CLUSTER_PROVIDER"), UUID("{53C7E15E-E185-4A74-929A-568F5FAF8103}"), AMENDMENT]
class MSCluster_ClusterDisk : MSCluster_LogicalElement
{
  string   Caption;
  string   Description;
  datetime InstallDate;
  string   Name;
  string   Status;
  uint32   Flags;
  uint32   Characteristics;
  string   Id;
  uint32   Signature;
  string   GptGuid;
  uint32   ScsiPort;
  uint32   ScsiBus;
  uint32   ScsiTargetID;
  uint32   ScsiLUN;
  uint64   Size;
  uint32   Number;
  string   VirtualDiskId;
  string   StoragePoolId;
};

Members

The MSCluster_ClusterDisk class has these types of members:

Properties

The MSCluster_ClusterDisk class has these properties.

Caption

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64)

A short textual description (one-line string) of the disk.

This property is inherited from CIM_ManagedSystemElement.

Characteristics

Data type: uint32

Access type: Read-only

Provides the characteristics of the disk. The cluster defines characteristics only for resources. For a description of these characteristics, see CLUSCTL_RESOURCE_GET_CHARACTERISTICS.

**Windows Server 2008 R2 and Windows Server 2008: **

This property is read/write before Windows Server 2012.

This property is inherited from MSCluster_LogicalElement.

Description

Data type: string

Access type: Read-only

Provides a textual description of the disk.

This property is inherited from CIM_ManagedSystemElement.

Flags

Data type: uint32

Access type: Read-only

Provides access to the flags set for the disk. The cluster defines flags only for resources. For a description of these flags, see CLUSCTL_RESOURCE_GET_FLAGS.

**Windows Server 2008 R2 and Windows Server 2008: **

This property is read/write before Windows Server 2012.

This property is inherited from MSCluster_LogicalElement.

GptGuid

Data type: string

Access type: Read-only

Provides the GUID for GPT disks. For MBR disks, this property is not populated.

Id

Data type: string

Access type: Read-only

Qualifiers: Key

Provides the ID of the disk. For virtual disks, the property value is "Space Id". For non-virtual disks, the property value contains the same value as either the GptGuid property (for GPT disks) or the Signature property (for MBR disks).

InstallDate

Data type: datetime

Access type: Read-only

Qualifiers: MappingStrings ("MIF.DMTF|ComponentID|001.5")

A datetime value indicating when the disk was installed. A lack of a value does not indicate that the disk is not installed.

This property is inherited from CIM_ManagedSystemElement.

Name

Data type: string

Access type: Read-only

Qualifiers: MaxLen (256)

Defines the label by which the disk is known.

This property is inherited from CIM_ManagedSystemElement.

Number

Data type: uint32

Access type: Read-only

The disk number on the node hosting the disk.

ScsiBus

Data type: uint32

Access type: Read-only

Provides the SCSI bus of the disk.

ScsiLUN

Data type: uint32

Access type: Read-only

Provides the SCSI LUN of the disk.

ScsiPort

Data type: uint32

Access type: Read-only

Provides the SCSI port number of the disk.

ScsiTargetID

Data type: uint32

Access type: Read-only

Provides the SCSI target ID of the disk.

Signature

Data type: uint32

Access type: Read-only

Provides the signature for MBR disks. For GPT disks, this property is not populated.

Size

Data type: uint64

Access type: Read-only

The physical size of the disk.")

Status

Data type: string

Access type: Read-only

Qualifiers: MaxLen (10)

A string indicating the current status of the disk.

This property is inherited from CIM_ManagedSystemElement.

("OK")

("Error")

("Degraded")

("Unknown")

("Pred Fail")

("Starting")

("Stopping")

("Service")

("Stressed")

("NonRecover")

StoragePoolId

Data type: string

Access type: Read-only

Provides the storage pool ID for MBR disks. For GPT disks, this property is not populated.

VirtualDiskId

Data type: string

Access type: Read-only

The id of the virtual disk.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\MSCluster
MOF
ClusWmi.mof
DLL
ClusWMI.dll

See also

MSCluster_LogicalElement

Failover Cluster Provider Reference

MSCluster_Disk

MSCluster_AvailableDisk