original_docstring: ListVolumeQoSHistograms returns histograms detailing volume performance relative to QOS settings.
docstring: ListVolumeQoSHistograms returns histograms detailing volume performance relative to QOS settings.
docstring_tokens: ListVolumeQoSHistograms returns histograms detailing volume performance relative to QOS settings .
code: def listqoshistograms(ctx,
             # Optional main parameter
             volumeids = None):
      """ListVolumeQoSHistograms returns histograms detailing volume performance relative to QOS settings."""
      """It may take up to 5 seconds for newly created volumes to have accurate histogram data available."""
  
      
  
      cli_utils.establish_connection(ctx)
      
      
  
      
  
      ctx.logger.info(""": """"""volumeids = """+str(volumeids)+""";"""+"")
      try:
          _ListVolumeQoSHistogramsResult = ctx.element.list_volume_qos_histograms(volume_ids=volumeids)
      except common.ApiServerError as e:
          ctx.logger.error(e.message)
          exit()
      except BaseException as e:
          ctx.logger.error(e.__str__())
          exit()
      if ctx.json:
          print(simplejson.dumps(simplejson.loads(_ListVolumeQoSHistogramsResult), indent=4))
          return
      else:
          cli_utils.print_result(_ListVolumeQoSHistogramsResult, ctx.logger, as_json=ctx.json, as_pickle=ctx.pickle, depth=ctx.depth, filter_tree=ctx.filter_tree)
code_tokens: def listqoshistograms ( ctx , volumeids = None ) : """It may take up to 5 seconds for newly created volumes to have accurate histogram data available.""" cli_utils . establish_connection ( ctx ) ctx . logger . info ( """: """ """volumeids = """ + str ( volumeids ) + """;""" + "" ) try : _ListVolumeQoSHistogramsResult = ctx . element . list_volume_qos_histograms ( volume_ids = volumeids ) except common . ApiServerError as e : ctx . logger . error ( e . message ) exit ( ) except BaseException as e : ctx . logger . error ( e . __str__ ( ) ) exit ( ) if ctx . json : print ( simplejson . dumps ( simplejson . loads ( _ListVolumeQoSHistogramsResult ) , indent = 4 ) ) return else : cli_utils . print_result ( _ListVolumeQoSHistogramsResult , ctx . logger , as_json = ctx . json , as_pickle = ctx . pickle , depth = ctx . depth , filter_tree = ctx . filter_tree )
short_docstring: ListVolumeQoSHistograms returns histograms detailing volume performance relative to QOS settings.
short_docstring_tokens: ListVolumeQoSHistograms returns histograms detailing volume performance relative to QOS settings .
comment: # Optional main parameter$SEP$"""ListVolumeQoSHistograms returns histograms detailing volume performance relative to QOS settings."""$SEP$"""It may take up to 5 seconds for newly created volumes to have accurate histogram data available."""