MSCluster_StorageSpacesDirect class
Class for Storage Spaces direct management.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.
Syntax
[ClassVersion("1.0.0"), dynamic, provider("MSCLUSTEREXT"), AMENDMENT]
class MSCluster_StorageSpacesDirect
{
string Name;
uint32 State;
uint32 CacheState;
uint32 CachePageSizeKBytes;
uint64 CacheMetadataReserveBytes;
string CacheDeviceModel[];
uint32 CacheModeSSD;
uint32 CacheModeHDD;
string Node;
};
Members
The MSCluster_StorageSpacesDirect class has these types of members:
Methods
The MSCluster_StorageSpacesDirect class has these methods.
Method | Description |
---|---|
DisableStorageSpacesDirect | Disables Storage Spaces Direct. |
EnableStorageSpacesDirect | Enables Storage Spaces Direct. |
GetStorageSpacesDirect | Gets Storage Spaces Direct. |
GetStorageSpacesDirectDisk | Sets Storage Spaces Direct Disk. |
PostCreatePool | Creates storage tiers used by Storage Spaces Direct. |
RepairStorageSpacesDirect | Repairs Storage Spaces Direct |
SetStorageSpacesDirect | Sets Storage Spaces Direct. |
SetStorageSpacesDirectDisk | Sets Storage Spaces Direct Disk. |
Properties
The MSCluster_StorageSpacesDirect class has these properties.
-
CacheDeviceModel
-
-
Data type: string array
-
Access type: Read-only
The model prefixes of the disks to be used for cache.
-
-
CacheMetadataReserveBytes
-
-
Data type: uint64
-
Access type: Read-only
How many bytes that the cache should leave unused.
-
-
CacheModeHDD
-
-
Data type: uint32
-
Access type: Read-only
The desired state for cache HDD.
-
-
CacheModeSSD
-
-
Data type: uint32
-
Access type: Read-only
The desired state for cache SSD.
-
-
CachePageSizeKBytes
-
-
Data type: uint32
-
Access type: Read-only
Cache page size in KB.
-
-
CacheState
-
-
Data type: uint32
-
Access type: Read-only
The cache state.
-
-
Name
-
-
Data type: string
-
Access type: Read-only
-
Qualifiers: key
The friendly name of the collection.
-
-
Node
-
-
Data type: string
-
Access type: Read-only
The node name.
-
-
State
-
-
Data type: uint32
-
Access type: Read-only
The state of Storage Spaces Direct.
-
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2016 |
Namespace |
Root\MSCluster |
MOF |
|
DLL |
|