HP 3PAR Web Service API 1.3.1 Developer's Guide

QoS Rules Modification Errors
Possible error codes for QoS rule modification are shown in Table 143 (page 142). For generic
API error codes, see Table 5 (page 22).
Deleting QoS Rules
Scheduling of the QoS rule can be turned off, and the setting can be cleared, by using the HTTP
DELETE method. The URI is in the following format:
https://<storage_system>:8080/api/v1/qos/targetType:{targetName}
where:
targetType can be vvset or sys.
targetName is the name of the target. When targetType is sys, targetName must be
sys:all_others.
QoS Rules Deletion Success
Upon successful deletion of a QoS rule, the HTTP code 200 OK is returned with no message body.
QoS Rules Deletion Errors
Table 145 (page 145) shows possible QoS deletion error codes. For generic API error codes, see
Table 5 (page 22).
Table 145 QoS Rules Deletion Error Codes
DescriptionHTTP CodeAPI Code
QoS rule does not exist.404 Not FoundNON_EXISTENT_QOS_RULE
Since WSAPI 1.3
Illegal character in the input.400 Bad RequestINV_INPUT_ILLEGAL_CHAR
Querying QoS Rules
Querying All QoS Rules
To query for information about all QoS rules, use the HTTP GET method, with no message body,
on the following URI:
https://<storage_system>:8080/v1/qos
All-QoS Rule Query Success
Unless an internal server error occurs, the response for a successful query for QoS rule information
includes a message body with members as specified in Table 146 (page 145).
Table 146 Message Body JSON Objects for All-QoS Rule Query
DescriptionAPI TypeJSON TypeMember
Number of QoS target
objects returned.
int32numbertotal
Since WSAPI 1.3
QoS rule properties.array of QoSProperty
objects.
array of objectsmembers
Since WSAPI 1.3
The Members object is a JSON array of zero or more JSON objects, one for each QoS target on
the system. These JSON objects are described in Table 147 (page 146).
Deleting QoS Rules 145