original_docstring: ListVolumeStatsByVolume returns high-level activity measurements for every volume, by volume. Values are cumulative from the
docstring: ListVolumeStatsByVolume returns high-level activity measurements for every volume, by volume. Values are cumulative from the
docstring_tokens: ListVolumeStatsByVolume returns high - level activity measurements for every volume by volume . Values are cumulative from the
code: def liststatsby(ctx,
             # Optional main parameter
             includevirtualvolumes = None):
      """ListVolumeStatsByVolume returns high-level activity measurements for every volume, by volume. Values are cumulative from the"""
      """creation of the volume."""
  
      
  
      cli_utils.establish_connection(ctx)
      
      
  
      
  
      ctx.logger.info(""": """"""includevirtualvolumes = """+str(includevirtualvolumes)+""";"""+"")
      try:
          _ListVolumeStatsByVolumeResult = ctx.element.list_volume_stats_by_volume(include_virtual_volumes=includevirtualvolumes)
      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(_ListVolumeStatsByVolumeResult), indent=4))
          return
      else:
          cli_utils.print_result(_ListVolumeStatsByVolumeResult, ctx.logger, as_json=ctx.json, as_pickle=ctx.pickle, depth=ctx.depth, filter_tree=ctx.filter_tree)
code_tokens: def liststatsby ( ctx , includevirtualvolumes = None ) : """creation of the volume.""" cli_utils . establish_connection ( ctx ) ctx . logger . info ( """: """ """includevirtualvolumes = """ + str ( includevirtualvolumes ) + """;""" + "" ) try : _ListVolumeStatsByVolumeResult = ctx . element . list_volume_stats_by_volume ( include_virtual_volumes = includevirtualvolumes ) 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 ( _ListVolumeStatsByVolumeResult ) , indent = 4 ) ) return else : cli_utils . print_result ( _ListVolumeStatsByVolumeResult , ctx . logger , as_json = ctx . json , as_pickle = ctx . pickle , depth = ctx . depth , filter_tree = ctx . filter_tree )
short_docstring: ListVolumeStatsByVolume returns high-level activity measurements for every volume, by volume.
short_docstring_tokens: ListVolumeStatsByVolume returns high - level activity measurements for every volume by volume .
comment: # Optional main parameter$SEP$"""ListVolumeStatsByVolume returns high-level activity measurements for every volume, by volume. Values are cumulative from the"""$SEP$"""creation of the volume."""