def _find_monitor_type(cs, vtype):
 return utils.find_resource(cs.monitor_types, vtype)

def _find_monitor_type ( cs , vtype ) : return utils . find_resource ( cs . monitor_types , vtype )
get a monitor type by name or id .