GetQoSPolicy
You can use the GetQoSPolicy method to get details about a specific QoS policy from the system.
Parameter
This method has the following input parameter:
| Name | Description | Type | Default value | Required |
|---|---|---|---|---|
qosPolicyID |
The ID of the policy to be retrieved. |
integer |
None |
Yes |
Return value
This method has the following return value:
| Name | Description | Type |
|---|---|---|
qosPolicy |
Details of the requested QoS policy. |
Request example
Requests for this method are similar to the following example:
{
"method": "GetQoSPolicy",
"params": {
"qosPolicyID": 2
},
"id": 1
}
Response example
This method returns a response similar to the following example:
{
"id": 1,
"result": {
"qosPolicy": {
"name": "bronze",
"qos": {
"burstIOPS": 15002,
"burstTime": 60,
"curve": {
"4096": 100,
"8192": 160,
"16384": 270,
"32768": 500,
"65536": 1000,
"131072": 1950,
"262144": 3900,
"524288": 7600,
"1048576": 15000
},
"maxIOPS": 15002,
"minIOPS": 51
},
"qosPolicyID": 2,
"volumeIDs": [
2
]
}
}
}
New since version
10.0