MSFT_StorageQoSPolicy class
Defines a storage QOS policy.
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("STORAGEQOS"), AMENDMENT]
class MSFT_StorageQoSPolicy
{
string PolicyId;
string Name;
uint64 ThroughputLimit;
uint64 ThroughputReservation;
uint64 BandwidthLimit;
string ParentPolicy;
uint16 PolicyType;
uint16 Status;
};
Members
The MSFT_StorageQoSPolicy class has these types of members:
Methods
The MSFT_StorageQoSPolicy class has these methods.
Method | Description |
---|---|
DeletePolicy | Deletes a policy. |
SetAttributes | Sets the attributes of an existing policy. |
Properties
The MSFT_StorageQoSPolicy class has these properties.
-
BandwidthLimit
-
-
Data type: uint64
-
Access type: Read/write
-
Qualifiers: Required
Bandwidth limit in bytes per second.
-
-
Name
-
-
Data type: string
-
Access type: Read/write
The name of the policy.
-
-
ParentPolicy
-
-
Data type: string
-
Access type: Read/write
The parent of the policy.
-
-
PolicyId
-
-
Data type: string
-
Access type: Read-only
-
Qualifiers: key
A UUID uniquely identifying the policy.
-
-
PolicyType
-
-
Data type: uint16
-
Access type: Read-only
Indicates whether the throughput limits/reservations are shared among all initiators (SingleInstance), or are per-initiator (MultiInstance).
-
-
Single Instance (0)
-
Multi Instance (1)
Status
-
Data type: uint16
-
Access type: Read-only
Indicates whether reserve for policy is being met.
OK (0)
Insufficient Throughput (1)
ThroughputLimit
-
Data type: uint64
-
Access type: Read/write
-
Qualifiers: Required
Throughput limit in normalized IOPS.
ThroughputReservation
-
Data type: uint64
-
Access type: Read/write
-
Qualifiers: Required
Throughput reserve in normalized IOPS.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2016 |
Namespace |
Root\Microsoft\Windows\storage |
MOF |
|
DLL |
|