original_docstring: The RemoveVolumeFromVolumeAccessGroup method enables you to remove volumes from a volume access group.
docstring: The RemoveVolumeFromVolumeAccessGroup method enables you to remove volumes from a volume access group.
docstring_tokens: The RemoveVolumeFromVolumeAccessGroup method enables you to remove volumes from a volume access group .
code: def removefromaccessgroup(ctx,
             # Mandatory main parameter
             volumeaccessgroupid,
             # Mandatory main parameter
             volumes):
      """The RemoveVolumeFromVolumeAccessGroup method enables you to remove volumes from a volume access group."""
  
      
  
      cli_utils.establish_connection(ctx)
      
      
  
      volumes = parser.parse_array(volumes)
      
  
      
  
      ctx.logger.info(""": """"""volumeaccessgroupid = """ + str(volumeaccessgroupid)+";"+"""volumes = """ + str(volumes)+""";"""+"")
      try:
          _ModifyVolumeAccessGroupResult = ctx.element.remove_volumes_from_volume_access_group(volume_access_group_id=volumeaccessgroupid, volumes=volumes)
      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(_ModifyVolumeAccessGroupResult), indent=4))
          return
      else:
          cli_utils.print_result(_ModifyVolumeAccessGroupResult, ctx.logger, as_json=ctx.json, as_pickle=ctx.pickle, depth=ctx.depth, filter_tree=ctx.filter_tree)
code_tokens: def removefromaccessgroup ( ctx , volumeaccessgroupid , volumes ) : cli_utils . establish_connection ( ctx ) volumes = parser . parse_array ( volumes ) ctx . logger . info ( """: """ """volumeaccessgroupid = """ + str ( volumeaccessgroupid ) + ";" + """volumes = """ + str ( volumes ) + """;""" + "" ) try : _ModifyVolumeAccessGroupResult = ctx . element . remove_volumes_from_volume_access_group ( volume_access_group_id = volumeaccessgroupid , volumes = volumes ) 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 ( _ModifyVolumeAccessGroupResult ) , indent = 4 ) ) return else : cli_utils . print_result ( _ModifyVolumeAccessGroupResult , ctx . logger , as_json = ctx . json , as_pickle = ctx . pickle , depth = ctx . depth , filter_tree = ctx . filter_tree )
short_docstring: The RemoveVolumeFromVolumeAccessGroup method enables you to remove volumes from a volume access group.
short_docstring_tokens: The RemoveVolumeFromVolumeAccessGroup method enables you to remove volumes from a volume access group .
comment: # Mandatory main parameter$SEP$# Mandatory main parameter$SEP$"""The RemoveVolumeFromVolumeAccessGroup method enables you to remove volumes from a volume access group."""