Export (0) Print
Expand All
Expand Minimize

MSCluster_Disk class

A dynamic WMI class that represents a disk.

Windows Server 2008 R2, and Windows Server 2008:  

Before Windows Server 2012 this class inherited directly from MSCluster_LogicalElement. Beginning in Windows Server 2012 it inherits from MSCluster_ClusterDisk and does not add any properties of its own.

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

Syntax

[Dynamic, Provider("MS_CLUSTER_PROVIDER"), UUID("{CE14ADB3-953E-4243-8001-5AF0AA83FD1A}")]class MSCluster_Disk : MSCluster_ClusterDisk
{
  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_Disk class has these types of members:

Properties

The MSCluster_Disk class has these properties.

Caption
Data type: string
Access type: Read-only

Provides a short textual description of the disk.

Inherited from MSCluster_LogicalElement.

Characteristics
Data type: uint32
Access type: Read-only

Provides the characteristics of the disk. For a description of these characteristics, see CLUSCTL_RESOURCE_GET_CHARACTERISTICS.

Inherited from MSCluster_LogicalElement.

Windows Server 2008 R2, Windows Server 2008, and Windows Server 2003:  

This property is read/write before Windows Server 2012.

Description
Data type: string
Access type: Read-only

Provides a textual description of the disk.

Inherited from MSCluster_LogicalElement.

Flags
Data type: uint32
Access type: Read-only

Provides access to the flags set for the disk. For a description of these flags, see CLUSCTL_RESOURCE_GET_FLAGS.

Inherited from MSCluster_LogicalElement.

Windows Server 2008 R2, Windows Server 2008, and Windows Server 2003:  

This property is read/write before Windows Server 2012.

GptGuid
Data type: string
Access type: Read-only

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

Inherited from MSCluster_ClusterDisk.

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).

Inherited from MSCluster_ClusterDisk.

InstallDate
Data type: datetime
Access type: Read-only

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

Inherited from MSCluster_LogicalElement.

Name
Data type: string
Access type: Read-only

Defines the label by which the disk is known.

Inherited from MSCluster_LogicalElement.

Number
Data type: uint32
Access type: Read-only

The disk number on the node hosting the disk.

Inherited from MSCluster_ClusterDisk.

Windows Server 2008 R2 and Windows Server 2008:  

This property is not supported before Windows Server 2012.

ScsiBus
Data type: uint32
Access type: Read-only

Provides the SCSI bus of the disk.

Inherited from MSCluster_ClusterDisk.

ScsiLUN
Data type: uint32
Access type: Read-only

Provides the SCSI LUN of the disk.

Inherited from MSCluster_ClusterDisk.

ScsiPort
Data type: uint32
Access type: Read-only

Provides the SCSI port number of the disk.

Inherited from MSCluster_ClusterDisk.

ScsiTargetID
Data type: uint32
Access type: Read-only

Provides the SCSI target ID of the disk.

Inherited from MSCluster_ClusterDisk.

Signature
Data type: uint32
Access type: Read-only

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

Inherited from MSCluster_ClusterDisk.

Size
Data type: uint64
Access type: Read-only

The physical size of the disk.")

Inherited from MSCluster_ClusterDisk.

Windows Server 2008 R2 and Windows Server 2008:  

This property is not supported before Windows Server 2012.

Status
Data type: string
Access type: Read-only

Indicates the current status of the disk.

Inherited from MSCluster_LogicalElement.

Values include the following:

"OK"

"Error"

"Degraded"

"Unknown"

"Pred Fail"

"Starting"

"Stopping"

"Service"

"Stressed"

"NonRecover"

"No Contact"

"Lost Comm"

StoragePoolId
Data type: string
Access type: Read-only

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

Inherited from MSCluster_ClusterDisk.

VirtualDiskId
Data type: string
Access type: Read-only

The id of the virtual disk.

Inherited from MSCluster_ClusterDisk.

Windows Server 2008 R2 and Windows Server 2008:  

This property is not supported before Windows Server 2012.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 Datacenter, Windows Server 2008 Enterprise

Namespace

\\.\Root\MSCluster

MOF

ClusWmi.mof

See also

Failover Cluster Provider Reference

 

 

Show:
© 2014 Microsoft