def query_qos_rule(target_name, target_type = 'vvset')
      begin
        @qos.query_qos_rule(target_name, target_type)
      rescue => ex
        Util.log_exception(ex, caller_locations(1, 1)[0].label)
        raise ex
      end
    end
def query_qos_rule(target_name, target_type = 'vvset')
      begin
        @qos.query_qos_rule(target_name, target_type)
      rescue => ex
        Util.log_exception(ex, caller_locations(1, 1)[0].label)
        raise ex
      end
    end
Queries a QoS rule

 ==== Attributes

 * target_name : Name of the target. When targetType is sys, target name must be sys:all_others.
     type target_name: String
 * target_type : Target type is vvset or sys
     type target_type: String
 ==== Returns

 QoSRule object

 ==== Raises

 * Hpe3parSdk::HTTPNotFound
        - NON_EXISTENT_QOS_RULE - QoS rule does not exist.
 * Hpe3parSdk::HTTPBadRequest
        - INV_INPUT_ILLEGAL_CHAR - Illegal character in the input.