original_docstring: PurgeDeletedVolume immediately and permanently purges a volume that has been deleted. You must delete a volume using
docstring: PurgeDeletedVolume immediately and permanently purges a volume that has been deleted. You must delete a volume using
docstring_tokens: PurgeDeletedVolume immediately and permanently purges a volume that has been deleted . You must delete a volume using
code: def purgedeleted(ctx,
             # Mandatory main parameter
             volumeid):
      """PurgeDeletedVolume immediately and permanently purges a volume that has been deleted. You must delete a volume using"""
      """DeleteVolume before it can be purged. Volumes are purged automatically after a period of time, so usage of this method is not"""
      """typically required."""
  
      
  
      cli_utils.establish_connection(ctx)
      
      
  
      
  
      ctx.logger.info(""": """"""volumeid = """ + str(volumeid)+""";"""+"")
      try:
          _PurgeDeletedVolumeResult = ctx.element.purge_deleted_volume(volume_id=volumeid)
      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(_PurgeDeletedVolumeResult), indent=4))
          return
      else:
          cli_utils.print_result(_PurgeDeletedVolumeResult, ctx.logger, as_json=ctx.json, as_pickle=ctx.pickle, depth=ctx.depth, filter_tree=ctx.filter_tree)
code_tokens: def purgedeleted ( ctx , volumeid ) : """DeleteVolume before it can be purged. Volumes are purged automatically after a period of time, so usage of this method is not""" """typically required.""" cli_utils . establish_connection ( ctx ) ctx . logger . info ( """: """ """volumeid = """ + str ( volumeid ) + """;""" + "" ) try : _PurgeDeletedVolumeResult = ctx . element . purge_deleted_volume ( volume_id = volumeid ) 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 ( _PurgeDeletedVolumeResult ) , indent = 4 ) ) return else : cli_utils . print_result ( _PurgeDeletedVolumeResult , ctx . logger , as_json = ctx . json , as_pickle = ctx . pickle , depth = ctx . depth , filter_tree = ctx . filter_tree )
short_docstring: PurgeDeletedVolume immediately and permanently purges a volume that has been deleted.
short_docstring_tokens: PurgeDeletedVolume immediately and permanently purges a volume that has been deleted .
comment: # Mandatory main parameter$SEP$"""PurgeDeletedVolume immediately and permanently purges a volume that has been deleted. You must delete a volume using"""$SEP$"""DeleteVolume before it can be purged. Volumes are purged automatically after a period of time, so usage of this method is not"""$SEP$"""typically required."""