MSFT_PhysicalDisk, ROOT\Microsoft\Windows\Storage\MS_409

Class | Methods (6) | Properties (34) | Qualifiers (4) | Instances | Namespaces (3)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

A subsystem drive or spindle.

MSFT_PhysicalDisk methods

MSFT_PhysicalDisk has 6 methods (6 Local)

NameOriginReturn
MaintenanceMSFT_PhysicalDiskuint32 {'out':True}
ResetMSFT_PhysicalDiskuint32 {'out':True}
SetAttributesMSFT_PhysicalDiskuint32 {'out':True}
SetDescriptionMSFT_PhysicalDiskuint32 {'out':True}
SetFriendlyNameMSFT_PhysicalDiskuint32 {'out':True}
SetUsageMSFT_PhysicalDiskuint32 {'out':True}

MSFT_PhysicalDisk properties

MSFT_PhysicalDisk has 34 properties (28 Local, 6 Derived)

NameOriginCIMType
AllocatedSizeMSFT_PhysicalDisk21 [uint64]
BusTypeMSFT_PhysicalDisk18 [uint16]
CannotPoolReasonMSFT_PhysicalDisk18 [uint16]
CanPoolMSFT_PhysicalDisk11 [boolean]
DescriptionMSFT_PhysicalDisk8 [string]
DeviceIdMSFT_PhysicalDisk8 [string]
EnclosureNumberMSFT_PhysicalDisk18 [uint16]
FirmwareVersionMSFT_PhysicalDisk8 [string]
FriendlyNameMSFT_PhysicalDisk8 [string]
HealthStatusMSFT_PhysicalDisk18 [uint16]
IsIndicationEnabledMSFT_PhysicalDisk11 [boolean]
IsPartialMSFT_PhysicalDisk11 [boolean]
LogicalSectorSizeMSFT_PhysicalDisk21 [uint64]
ManufacturerMSFT_PhysicalDisk8 [string]
MediaTypeMSFT_PhysicalDisk18 [uint16]
ModelMSFT_PhysicalDisk8 [string]
key
ObjectId
MSFT_StorageObject8 [string]
OperationalStatusMSFT_PhysicalDisk18 [uint16]
OtherCannotPoolReasonDescriptionMSFT_PhysicalDisk8 [string]
PartNumberMSFT_PhysicalDisk8 [string]
PassThroughClassMSFT_StorageObject8 [string]
PassThroughIdsMSFT_StorageObject8 [string]
PassThroughNamespaceMSFT_StorageObject8 [string]
PassThroughServerMSFT_StorageObject8 [string]
PhysicalLocationMSFT_PhysicalDisk8 [string]
PhysicalSectorSizeMSFT_PhysicalDisk21 [uint64]
SerialNumberMSFT_PhysicalDisk8 [string]
SizeMSFT_PhysicalDisk21 [uint64]
SlotNumberMSFT_PhysicalDisk18 [uint16]
SoftwareVersionMSFT_PhysicalDisk8 [string]
SpindleSpeedMSFT_PhysicalDisk19 [uint32]
SupportedUsagesMSFT_PhysicalDisk18 [uint16]
UniqueIdMSFT_StorageObject8 [string]
UsageMSFT_PhysicalDisk18 [uint16]

Detailed description of MSFT_PhysicalDisk methods

Local methods (6) of MSFT_PhysicalDisk class

Maintenance method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
EnableIndicationboolean0-{'Description':'If set to TRUE, this instructs the physical disk to enable its indication LED. The indication LED should remain enabled until a second call to Maintenance is made with this parameter specified as FALSE.','In':True}
ExtendedStatusobject:MSFT_StorageExtendedStatus1-{'Description':'ExtendedStatus allows the storage provider to return extended (implementation specific) error information.','Out':True}
Description'This method allows a user to perform certain maintenance tasks on the physical disk. '
Values['Success', 'Not Supported', 'Unspecified Error', 'Timeout', 'Failed', 'Invalid Parameter', 'Access denied', 'There are not enough resources to complete the operation.', 'Cannot connect to the storage provider.', 'The storage provider cannot connect to the storage subsystem.', 'The storage pool could not complete the operation because its health or operational status does not permit it.', 'The storage pool could not complete the operation because its configuration is read-only.']
Maintenance method is in 1 class (MSFT_PhysicalDisk) of ROOT\Microsoft\Windows\Storage\ms_409 and in 3 namespaces
Reset method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
ExtendedStatusobject:MSFT_StorageExtendedStatus0-{'Description':'ExtendedStatus allows the storage provider to return extended (implementation specific) error information.','Out':True}
Description'This method resets the health and operational status of the physical disk. Exact behavior of this method is dependent on whether this physical disk belongs to a concrete pool.
If it is a member of a concrete pool, the health and operational statuses should be reset to 1 - 'Healthy', and 1 - 'OK', respectively. If any additional errors are detected after Reset, the health and operational statuses should reflect these new errors.
If the physical disk is not a member of a concrete pool, then this method should not only reset the health and operational statuses, but it should return the disk into a state where it is usable as storage for a concrete pool. For example: If a physical disk had become missing and then has reappeared (after it has been replaced) this physical disk is expected to be in the primordial pool only with an operational status indicating its data is either split or unrecognized. Calling Reset should clear the physical disk of any data, remove any remaining ties to its former concrete pool, and return the disk to a healthy, usable state.'
Values['Success', 'Not Supported', 'Unspecified Error', 'Timeout', 'Failed', 'Invalid Parameter', 'Access denied', 'There are not enough resources to complete the operation.', 'Cannot connect to the storage provider.', 'The storage provider cannot connect to the storage subsystem.', 'The storage pool could not complete the operation because its health or operational status does not permit it.', 'The storage pool could not complete the operation because its configuration is read-only.']
Reset method is in 2 classes of ROOT\Microsoft\Windows\Storage\ms_409 and in 19 namespaces
SetAttributes method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
MediaTypeuint160-{'Description':'Media type of this physical disk','In':True,'Values':['HDD', 'SSD']}
ExtendedStatusobject:MSFT_StorageExtendedStatus1-{'Description':'ExtendedStatus allows the storage provider to return extended (implementation specific) error information.','Out':True}
Description'This method allows the physical disk's attributes to be updated.'
Values['Success', 'Not Supported', 'Unspecified Error', 'Timeout', 'Failed', 'Invalid Parameter', 'Access denied', 'There are not enough resources to complete the operation.', 'Cannot connect to the storage provider.', 'The storage provider cannot connect to the storage subsystem.', 'The storage pool could not complete the operation because its health or operational status does not permit it.', 'The storage pool could not complete the operation because its configuration is read-only.']
SetAttributes method is in 9 classes of ROOT\Microsoft\Windows\Storage\ms_409 and in 3 namespaces
SetDescription method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
Descriptionstring0-{'In':True}
ExtendedStatusobject:MSFT_StorageExtendedStatus1-{'Description':'ExtendedStatus allows the storage provider to return extended (implementation specific) error information.','Out':True}
Description'This method allows the physical disk's description to be changed.'
Values['Success', 'Not Supported', 'Unspecified Error', 'Timeout', 'Failed', 'Invalid Parameter', 'Access denied', 'There are not enough resources to complete the operation.', 'Cannot connect to the storage provider.', 'The storage provider cannot connect to the storage subsystem.', 'The storage pool could not complete the operation because its health or operational status does not permit it.', 'The storage pool could not complete the operation because its configuration is read-only.']
SetDescription method is in 3 classes of ROOT\Microsoft\Windows\Storage\ms_409 and in 5 namespaces
SetFriendlyName method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
FriendlyNamestring0-{'In':True}
ExtendedStatusobject:MSFT_StorageExtendedStatus1-{'Description':'ExtendedStatus allows the storage provider to return extended (implementation specific) error information.','Out':True}
Description'This method allows the physical disk to be renamed.'
Values['Success', 'Not Supported', 'Unspecified Error', 'Timeout', 'Failed', 'Invalid Parameter', 'Access denied', 'There are not enough resources to complete the operation.', 'Cannot connect to the storage provider.', 'The storage provider cannot connect to the storage subsystem.', 'The storage pool could not complete the operation because its health or operational status does not permit it.', 'The storage pool could not complete the operation because its configuration is read-only.']
SetFriendlyName method is in 5 classes of ROOT\Microsoft\Windows\Storage\ms_409 and in 3 namespaces
SetUsage method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
Usageuint160-{'Description':'This field describes the intended usage of this physical disk within a concrete pool. Storage pools are required to follow the assigned policy for a physical disk. 1 - 'Auto-Select': This physical disk should only be used for data storage. 2 - 'Manual-Select': This physical disk should only be used if manually selected by an administrator at the time of virtual disk creation. A manual-select disk is selected using the PhysicalDisksToUse parameter to CreateVirtualDisk. 3 - 'Hot Spare': This physical disk should be used as a hot spare. 4 - 'Retired': This physical disk should be retired from use. At a minimum, no new allocations should go to this disk. If the virtual disks that reside on this disk are repaired, the data should be moved to another active physical disk.','In':True,'Values':['Auto-Select', 'Manual-Select', 'Hot Spare', 'Retired', 'Journal']}
ExtendedStatusobject:MSFT_StorageExtendedStatus1-{'Description':'ExtendedStatus allows the storage provider to return extended (implementation specific) error information.','Out':True}
Description'This method allows the physical disk's usage to be updated.'
Values['Success', 'Not Supported', 'Unspecified Error', 'Timeout', 'Failed', 'Invalid Parameter', 'Access denied', 'There are not enough resources to complete the operation.', 'Cannot connect to the storage provider.', 'The storage provider cannot connect to the storage subsystem.', 'The storage pool could not complete the operation because its health or operational status does not permit it.', 'The storage pool could not complete the operation because its configuration is read-only.']
SetUsage method is in 3 classes of ROOT\Microsoft\Windows\Storage\ms_409 and in 3 namespaces

Detailed description of MSFT_PhysicalDisk properties

Local properties (28) of MSFT_PhysicalDisk class

AllocatedSize property
CIMTYPE'uint64'
Description'This field indicates the sum of used space on this physical disk. This should include usage from all storage pools and other data stored on the disk.'
Units'Bytes'
AllocatedSize property is in 4 classes of ROOT\Microsoft\Windows\Storage\ms_409 and in 6 namespaces
BusType property
CIMTYPE'uint16'
Values['Unknown', 'SCSI', 'ATAPI', 'ATA', '1394', 'SSA', 'Fibre Channel', 'USB', 'RAID', 'iSCSI', 'SAS', 'SATA', 'SD', 'MMC', 'Virtual', 'File Backed Virtual', 'Storage Spaces', 'NVMe', 'Microsoft Reserved']
BusType property is in 3 classes of ROOT\Microsoft\Windows\Storage\ms_409 and in 9 namespaces
CannotPoolReason property
CIMTYPE'uint16'
Description'Indicates the reason why this physical disk cannot be added to a concrete pool'
Values['Unknown', 'Other', 'In a Pool', 'Not Healthy', 'Removable Media', 'In Use by Cluster', 'Offline', 'Insufficient Capacity', 'Spare Disk', 'Reserved by subsystem', 'Microsoft Reserved', 'Vendor Reserved']
CannotPoolReason property is in 1 class (MSFT_PhysicalDisk) of ROOT\Microsoft\Windows\Storage\ms_409 and in 3 namespaces
CanPool property
CIMTYPE'boolean'
Description'Indicates whether this physical disk can be added to a concrete pool or not'
CanPool property is in 1 class (MSFT_PhysicalDisk) of ROOT\Microsoft\Windows\Storage\ms_409 and in 3 namespaces
Description property
CIMTYPE'string'
Description'A user settable description of the physical disk'
Description property is in 11 classes of ROOT\Microsoft\Windows\Storage\ms_409 and in 142 namespaces
DeviceId property
CIMTYPE'string'
Description'DeviceId is an address or other identifier that uniquely names the physical disk.'
DeviceId property is in 3 classes of ROOT\Microsoft\Windows\Storage\ms_409 and in 21 namespaces
EnclosureNumber property
CIMTYPE'uint16'
Description'Indicates the enclosure number in which the disk physically resides'
EnclosureNumber property is in 1 class (MSFT_PhysicalDisk) of ROOT\Microsoft\Windows\Storage\ms_409 and in 3 namespaces
FirmwareVersion property
CIMTYPE'string'
Description'This field is a string representation of the physical disk's firmware version.'
FirmwareVersion property is in 4 classes of ROOT\Microsoft\Windows\Storage\ms_409 and in 6 namespaces
FriendlyName property
CIMTYPE'string'
Description'FriendlyName is a user-friendly name of the physical disk. The initial value should be set by the storage provider or subsystem, and can be modified by the user at any point in the object's lifetime.'
FriendlyName property is in 9 classes of ROOT\Microsoft\Windows\Storage\ms_409 and in 22 namespaces
HealthStatus property
CIMTYPE'uint16'
Values['Healthy', 'Warning', 'Unhealthy', 'Unknown']
HealthStatus property is in 8 classes of ROOT\Microsoft\Windows\Storage\ms_409 and in 12 namespaces
IsIndicationEnabled property
CIMTYPE'boolean'
Description'Indicates whether the physical disk's identification LEDs are active or not. This is typically used in maintenance operations.'
IsIndicationEnabled property is in 1 class (MSFT_PhysicalDisk) of ROOT\Microsoft\Windows\Storage\ms_409 and in 5 namespaces
IsPartial property
CIMTYPE'boolean'
Description'Indicates whether this physical disk is partially consumed by a system or service whose use is outside of normal storage pool operations.'
IsPartial property is in 1 class (MSFT_PhysicalDisk) of ROOT\Microsoft\Windows\Storage\ms_409 and in 3 namespaces
LogicalSectorSize property
CIMTYPE'uint64'
Description'This field indicates the logical sector size of the physical disk in bytes. For example: a 4K native disk should report 4096, while a 512 emulated disk should report 512.'
Units'Bytes'
LogicalSectorSize property is in 5 classes of ROOT\Microsoft\Windows\Storage\ms_409 and in 5 namespaces
Manufacturer property
CIMTYPE'string'
Description'This field represents the name of the company responsible for the hardware backing the physical disk. This manufacturer information must match what is reported by the disk's SCSI inquiry data.'
Manufacturer property is in 5 classes of ROOT\Microsoft\Windows\Storage\ms_409 and in 17 namespaces
MediaType property
CIMTYPE'uint16'
Description'Media type of this physical disk'
Values['Unspecified', 'HDD', 'SSD']
MediaType property is in 2 classes of ROOT\Microsoft\Windows\Storage\ms_409 and in 7 namespaces
Model property
CIMTYPE'string'
Description'This field represents the model number of the physical disk hardware. This information must match what is reported by the disk's SCSI inquiry data.'
Model property is in 4 classes of ROOT\Microsoft\Windows\Storage\ms_409 and in 11 namespaces
OperationalStatus property
CIMTYPE'uint16'
Description'Denotes the operational status of the PhysicalDisk.'
Values['Unknown', 'Other', 'OK', 'Degraded', 'Stressed', 'Predictive Failure', 'Error', 'Non-Recoverable Error', 'Starting', 'Stopping', 'Stopped', 'In Service', 'No Contact', 'Lost Communication', 'Aborted', 'Dormant', 'Supporting Entity in Error', 'Completed', 'Power Mode', 'Relocating', 'Microsoft Reserved', 'Failed Media', 'Split', 'Stale Metadata', 'IO Error', 'Unrecognized Metadata', 'Microsoft Reserved']
OperationalStatus property is in 10 classes of ROOT\Microsoft\Windows\Storage\ms_409 and in 18 namespaces
OtherCannotPoolReasonDescription property
CIMTYPE'string'
Description'If CannotPoolReason contains 1 - 'Other', this field contains the string representing the vendor defined reason why this physical disk cannot be added to a concrete pool. This property must be NULL if CannotPoolReason does not contain 1 - 'Other'.'
OtherCannotPoolReasonDescription property is in 1 class (MSFT_PhysicalDisk) of ROOT\Microsoft\Windows\Storage\ms_409 and in 3 namespaces
PartNumber property
CIMTYPE'string'
Description'This field is a string representation of the physical disk's part number or SKU.'
PartNumber property is in 1 class (MSFT_PhysicalDisk) of ROOT\Microsoft\Windows\Storage\ms_409 and in 9 namespaces
PhysicalLocation property
CIMTYPE'string'
Description'This field is a free-form string indicating where the disk physically resides.'
PhysicalLocation property is in 1 class (MSFT_PhysicalDisk) of ROOT\Microsoft\Windows\Storage\ms_409 and in 7 namespaces
PhysicalSectorSize property
CIMTYPE'uint64'
Description'This field indicates the physical sector size of the physical disk in bytes. For example: for 4K native and 512 emulated disks, the value should be 4096.'
Units'Bytes'
PhysicalSectorSize property is in 4 classes of ROOT\Microsoft\Windows\Storage\ms_409 and in 5 namespaces
SerialNumber property
CIMTYPE'string'
Description'This field is a string representation of the physical disk's serial number. This information must match what is reported by the disk's SCSI inquiry data.'
SerialNumber property is in 4 classes of ROOT\Microsoft\Windows\Storage\ms_409 and in 24 namespaces
Size property
CIMTYPE'uint64'
Description'Indicates the total physical storage size of the disk in bytes'
Units'Bytes'
Size property is in 8 classes of ROOT\Microsoft\Windows\Storage\ms_409 and in 16 namespaces
SlotNumber property
CIMTYPE'uint16'
Description'Indicates the enclosure slot number in which the disk physically resides'
SlotNumber property is in 1 class (MSFT_PhysicalDisk) of ROOT\Microsoft\Windows\Storage\ms_409 and in 5 namespaces
SoftwareVersion property
CIMTYPE'string'
Description'This field is a string representation of the physical disk's software version.'
SoftwareVersion property is in 1 class (MSFT_PhysicalDisk) of ROOT\Microsoft\Windows\Storage\ms_409 and in 5 namespaces
SpindleSpeed property
CIMTYPE'uint32'
Units'RPM'
SpindleSpeed property is in 1 class (MSFT_PhysicalDisk) of ROOT\Microsoft\Windows\Storage\ms_409 and in 5 namespaces
SupportedUsages property
CIMTYPE'uint16'
Description'This field describes the supported usages of this physical disk.'
Values['Auto-Select', 'Manual-Select', 'Hot Spare', 'Retired', 'Journal']
SupportedUsages property is in 1 class (MSFT_PhysicalDisk) of ROOT\Microsoft\Windows\Storage\ms_409 and in 3 namespaces
Usage property
CIMTYPE'uint16'
Description'This field describes the intended usage of this physical disk within a concrete pool. Storage pools are required to follow the assigned policy for a physical disk.
1 - 'Auto-Select': This physical disk should only be used for data storage.
2 - 'Manual-Select': This physical disk should only be used if manually selected by an administrator at the time of virtual disk creation. A manual-select disk is selected using the PhysicalDisksToUse parameter to CreateVirtualDisk.
3 - 'Hot Spare': This physical disk should be used as a hot spare.
4 - 'Retired': This physical disk should be retired from use. At a minimum, no new allocations should go to this disk. If the virtual disks that reside on this disk are repaired, the data should be moved to another active physical disk.'
Values['Unknown', 'Auto-Select', 'Manual-Select', 'Hot Spare', 'Retired', 'Journal']
Usage property is in 3 classes of ROOT\Microsoft\Windows\Storage\ms_409 and in 12 namespaces

Derived properties (6) of MSFT_PhysicalDisk class

ObjectId property
CIMTYPE'string'
Description'ObjectId is a mandatory property that is used to opaquely and uniquely identify an instance of a class. ObjectIds must be unique within the scope of the management server (which is hosting the provider). The ObjectId is created and maintained for use of the Storage Management Providers and their clients to track instances of objects. If an object is visible through two different paths (for example: there are two separate Storage Management Providers that point to the same storage subsystem) then the same object may appear with two different ObjectIds. For determining if two object instances are the same object, refer to the UniqueId property.'
keyTrue
ObjectId property is in 19 classes of ROOT\Microsoft\Windows\Storage\ms_409 and in 6 namespaces
PassThroughClass property
CIMTYPE'string'
Description'PassThroughClass is the WBEM class name of the proprietary storage provider object.'
PassThroughClass property is in 17 classes of ROOT\Microsoft\Windows\Storage\ms_409 and in 3 namespaces
PassThroughIds property
CIMTYPE'string'
Description'PassThroughIds is a comma-separated list of all implementation specific keys. It is used by storage management applications to access the vendor proprietary object model. This field should be in the form: key1='value1',key2='value2'.'
PassThroughIds property is in 17 classes of ROOT\Microsoft\Windows\Storage\ms_409 and in 3 namespaces
PassThroughNamespace property
CIMTYPE'string'
Description'PassThroughNamespace is the WBEM namespace that contains the proprietary storage provider classes.'
PassThroughNamespace property is in 17 classes of ROOT\Microsoft\Windows\Storage\ms_409 and in 3 namespaces
PassThroughServer property
CIMTYPE'string'
Description'PassThroughServer is the name or address of the computer system hosting the proprietary storage provider classes.'
PassThroughServer property is in 17 classes of ROOT\Microsoft\Windows\Storage\ms_409 and in 3 namespaces
UniqueId property
CIMTYPE'string'
Description'UniqueId is a mandatory property that is used to uniquely identify a logical instance of a storage subsystem's object. This value must be the same for an object viewed by two or more provider instances (even if they are running on seperate management servers). UniqueId can be any globally unique, opaque value unless otherwise specified by a derived class.'
UniqueId property is in 18 classes of ROOT\Microsoft\Windows\Storage\ms_409 and in 6 namespaces

MSFT_PhysicalDisk Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
AMENDMENTTrue
ClassVersion'1.0'
Description'A subsystem drive or spindle.'
LOCALE'MS_409'

MSFT_PhysicalDisk System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\Microsoft\Windows\Storage\ms_409:MSFT_PhysicalDisk'___SYSTEM8
__NAMESPACE'ROOT\Microsoft\Windows\Storage\ms_409'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION['MSFT_StorageObject']___SYSTEM8
__PROPERTY_COUNT34___SYSTEM3
__RELPATH'MSFT_PhysicalDisk'___SYSTEM8
__DYNASTY'MSFT_StorageObject'___SYSTEM8
__SUPERCLASS'MSFT_StorageObject'___SYSTEM8
__CLASS'MSFT_PhysicalDisk'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to MSFT_PhysicalDisk

Number of classes:23
comments powered by Disqus
WUtils.com