original_docstring: ListVolumeStatsByVolumeAccessGroup enables you to get total activity measurements for all of the volumes that are a member of the
docstring: ListVolumeStatsByVolumeAccessGroup enables you to get total activity measurements for all of the volumes that are a member of the
docstring_tokens: ListVolumeStatsByVolumeAccessGroup enables you to get total activity measurements for all of the volumes that are a member of the
code: def liststatsbyaccessgroup(ctx,
             # Optional main parameter
             volumeaccessgroups = None,
             # Optional main parameter
             includevirtualvolumes = None):
      """ListVolumeStatsByVolumeAccessGroup enables you to get total activity measurements for all of the volumes that are a member of the"""
      """specified volume access group(s)."""
  
      
  
      cli_utils.establish_connection(ctx)
      
  
      volumeaccessgroups = parser.parse_array(volumeaccessgroups)
      
      
  
      
  
      ctx.logger.info(""": """"""volumeaccessgroups = """+str(volumeaccessgroups)+";" + """includevirtualvolumes = """+str(includevirtualvolumes)+""";"""+"")
      try:
          _ListVolumeStatsByVolumeAccessGroupResult = ctx.element.list_volume_stats_by_volume_access_group(volume_access_groups=volumeaccessgroups, 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(_ListVolumeStatsByVolumeAccessGroupResult), indent=4))
          return
      else:
          cli_utils.print_result(_ListVolumeStatsByVolumeAccessGroupResult, ctx.logger, as_json=ctx.json, as_pickle=ctx.pickle, depth=ctx.depth, filter_tree=ctx.filter_tree)
code_tokens: def liststatsbyaccessgroup ( ctx , volumeaccessgroups = None , includevirtualvolumes = None ) : """specified volume access group(s).""" cli_utils . establish_connection ( ctx ) volumeaccessgroups = parser . parse_array ( volumeaccessgroups ) ctx . logger . info ( """: """ """volumeaccessgroups = """ + str ( volumeaccessgroups ) + ";" + """includevirtualvolumes = """ + str ( includevirtualvolumes ) + """;""" + "" ) try : _ListVolumeStatsByVolumeAccessGroupResult = ctx . element . list_volume_stats_by_volume_access_group ( volume_access_groups = volumeaccessgroups , 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 ( _ListVolumeStatsByVolumeAccessGroupResult ) , indent = 4 ) ) return else : cli_utils . print_result ( _ListVolumeStatsByVolumeAccessGroupResult , ctx . logger , as_json = ctx . json , as_pickle = ctx . pickle , depth = ctx . depth , filter_tree = ctx . filter_tree )
short_docstring: ListVolumeStatsByVolumeAccessGroup enables you to get total activity measurements for all of the volumes that are a member of the
short_docstring_tokens: ListVolumeStatsByVolumeAccessGroup enables you to get total activity measurements for all of the volumes that are a member of the
comment: # Optional main parameter$SEP$# Optional main parameter$SEP$"""ListVolumeStatsByVolumeAccessGroup enables you to get total activity measurements for all of the volumes that are a member of the"""$SEP$"""specified volume access group(s)."""