original_docstring: ListDeletedVolumes enables you to retrieve the list of volumes that have been marked for deletion and purged from the system.
docstring: ListDeletedVolumes enables you to retrieve the list of volumes that have been marked for deletion and purged from the system.
docstring_tokens: ListDeletedVolumes enables you to retrieve the list of volumes that have been marked for deletion and purged from the system .
code: def listdeleted(ctx,
             # Optional main parameter
             includevirtualvolumes = None):
      """ListDeletedVolumes enables you to retrieve the list of volumes that have been marked for deletion and purged from the system."""
  
      
  
      cli_utils.establish_connection(ctx)
      
      
  
      
  
      ctx.logger.info(""": """"""includevirtualvolumes = """+str(includevirtualvolumes)+""";"""+"")
      try:
          _ListDeletedVolumesResult = ctx.element.list_deleted_volumes(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(_ListDeletedVolumesResult), indent=4))
          return
      else:
          cli_utils.print_result(_ListDeletedVolumesResult, ctx.logger, as_json=ctx.json, as_pickle=ctx.pickle, depth=ctx.depth, filter_tree=ctx.filter_tree)
code_tokens: def listdeleted ( ctx , includevirtualvolumes = None ) : cli_utils . establish_connection ( ctx ) ctx . logger . info ( """: """ """includevirtualvolumes = """ + str ( includevirtualvolumes ) + """;""" + "" ) try : _ListDeletedVolumesResult = ctx . element . list_deleted_volumes ( 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 ( _ListDeletedVolumesResult ) , indent = 4 ) ) return else : cli_utils . print_result ( _ListDeletedVolumesResult , ctx . logger , as_json = ctx . json , as_pickle = ctx . pickle , depth = ctx . depth , filter_tree = ctx . filter_tree )
short_docstring: ListDeletedVolumes enables you to retrieve the list of volumes that have been marked for deletion and purged from the system.
short_docstring_tokens: ListDeletedVolumes enables you to retrieve the list of volumes that have been marked for deletion and purged from the system .
comment: # Optional main parameter$SEP$"""ListDeletedVolumes enables you to retrieve the list of volumes that have been marked for deletion and purged from the system."""