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.
[Dynamic, Provider("MS_CLUSTER_PROVIDER"), UUID("{CE14ADB3-953E-4243-8001-5AF0AA83FD1A}"), AMENDMENT]
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;
string UniqueId;
UInt16 UniqueIdFormat;
};
The MSCluster_Disk class has these types of members:
The MSCluster_Disk 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.
This property is 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).
This property is inherited from MSCluster_ClusterDisk.
-
-
InstallDate
-
-
Data type: datetime
-
Access type: Read-only
-
Qualifiers: MappingStrings ("MIF.DMTF|ComponentID|001.5")
Indicates 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.
**Windows Server 2008 R2 and Windows Server 2008: **
Due to inheritance restructuring, this property is not available on this class before Windows Server 2012.
This property is inherited from MSCluster_ClusterDisk.
-
-
ScsiBus
-
-
Data type: uint32
-
Access type: Read-only
Provides the SCSI bus of the disk.
This property is inherited from MSCluster_ClusterDisk.
-
-
ScsiLUN
-
-
Data type: uint32
-
Access type: Read-only
Provides the SCSI LUN of the disk.
This property is inherited from MSCluster_ClusterDisk.
-
-
ScsiPort
-
-
Data type: uint32
-
Access type: Read-only
Provides the SCSI port number of the disk.
This property is inherited from MSCluster_ClusterDisk.
-
-
ScsiTargetID
-
-
Data type: uint32
-
Access type: Read-only
Provides the SCSI target ID of the disk.
This property is 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.
This property is inherited from MSCluster_ClusterDisk.
-
-
Size
-
-
Data type: uint64
-
Access type: Read-only
The physical size of the disk.")
**Windows Server 2008 R2 and Windows Server 2008: **
Due to inheritance restructuring, this property is not available on this class before Windows Server 2012.
This property is inherited from MSCluster_ClusterDisk.
-
-
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.
This property is inherited from MSCluster_ClusterDisk.
UniqueId
-
Data type: string
-
Access type: Read-only
Contains the VPD Page 0x83 information that uniquely identifies this disk. The UniqueIdFormat property indicates the type of Id used. If the disk is an exposed VirtualDisk, UniqueId is used to map the association between the two disks.
**Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 R2 and Windows Server 2008: **
This method is not supported before Windows Server 2016.
UniqueIdFormat
-
Data type: UInt16
-
Access type: Read-only
Indicates the VPD Page 0x83 descriptor type used to populate the UniqueId property.
**Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 R2 and Windows Server 2008: **
This method is not supported before Windows Server 2016.
Vendor Specific (0)
Vendor Id (1)
EUI64 (2)
FCPH Name (3)
SCSI Name String (8)
VirtualDiskId
-
Data type: string
-
Access type: Read-only
The id of the virtual disk.
**Windows Server 2008 R2 and Windows Server 2008: **
Due to inheritance restructuring, this property is not available on this class before Windows Server 2012.
This property is inherited from MSCluster_ClusterDisk.
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2008 |
Namespace |
Root\MSCluster |
MOF |
|
DLL |
|