original_docstring: CancelClone enables you to stop an ongoing CloneVolume or CopyVolume process. When you cancel a group clone operation, the
docstring: CancelClone enables you to stop an ongoing CloneVolume or CopyVolume process. When you cancel a group clone operation, the
docstring_tokens: CancelClone enables you to stop an ongoing CloneVolume or CopyVolume process . When you cancel a group clone operation the
code: def cancelclone(ctx,
             # Mandatory main parameter
             cloneid):
      """CancelClone enables you to stop an ongoing CloneVolume or CopyVolume process. When you cancel a group clone operation, the"""
      """system completes and removes the operation's associated asyncHandle."""
  
      
  
      cli_utils.establish_connection(ctx)
      
      
  
      
  
      ctx.logger.info(""": """"""cloneid = """ + str(cloneid)+""";"""+"")
      try:
          _CancelCloneResult = ctx.element.cancel_clone(clone_id=cloneid)
      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(_CancelCloneResult), indent=4))
          return
      else:
          cli_utils.print_result(_CancelCloneResult, ctx.logger, as_json=ctx.json, as_pickle=ctx.pickle, depth=ctx.depth, filter_tree=ctx.filter_tree)
code_tokens: def cancelclone ( ctx , cloneid ) : """system completes and removes the operation's associated asyncHandle.""" cli_utils . establish_connection ( ctx ) ctx . logger . info ( """: """ """cloneid = """ + str ( cloneid ) + """;""" + "" ) try : _CancelCloneResult = ctx . element . cancel_clone ( clone_id = cloneid ) 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 ( _CancelCloneResult ) , indent = 4 ) ) return else : cli_utils . print_result ( _CancelCloneResult , ctx . logger , as_json = ctx . json , as_pickle = ctx . pickle , depth = ctx . depth , filter_tree = ctx . filter_tree )
short_docstring: CancelClone enables you to stop an ongoing CloneVolume or CopyVolume process.
short_docstring_tokens: CancelClone enables you to stop an ongoing CloneVolume or CopyVolume process .
comment: # Mandatory main parameter$SEP$"""CancelClone enables you to stop an ongoing CloneVolume or CopyVolume process. When you cancel a group clone operation, the"""$SEP$"""system completes and removes the operation's associated asyncHandle."""