MSFT_StorageTier class
Represents a storage tier.
The following syntax is simplified from MOF code and includes all inherited properties.
Syntax
class MSFT_StorageTier : MSFT_StorageObject
{
String FriendlyName;
UInt16 MediaType;
UInt64 Size;
String Description;
};
Members
The MSFT_StorageTier class has these types of members:
Methods
The MSFT_StorageTier class has these methods.
Method | Description |
---|---|
DeleteObject | Deletes the storage tier. |
GetSupportedSize | Returns the supported sizes for a new storage tier. |
Resize | Resizes the storage tier on the virtual disk. |
SetAttributes | Updates or sets various attributes on the storage tier. |
SetDescription | Updates the description of the storage tier. |
SetFriendlyName | Renames the storage tier. |
Properties
The MSFT_StorageTier class has these properties.
Description
Data type: String
Access type: Read-only
A description of the storage tier, provided by the user.
FriendlyName
Data type: String
Access type: Read-only
The friendly name of the storage tier, defined by the user.
MediaType
Data type: UInt16
Access type: Read-only
The media type of the storage tier.
Value | Meaning |
---|---|
0 | Unspecified |
3 | HDD |
4 | SSD |
Size
Data type: UInt64
Access type: Read-only
The size of the tier on the virtual disk. This property is available only when the storage tier is part of a virtual disk. The property is unspecified for pool-level storage tiers.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8.1 [desktop apps only] |
Minimum supported server | Windows Server 2012 R2 [desktop apps only] |
Namespace | Root\Microsoft\Windows\Storage |
MOF | Storagewmi.mof |