private void disableConsistencyGroup(ConsistencyGroupUID cgUID) throws FunctionalAPIActionFailedException_Exception, FunctionalAPIInternalError_Exception {
  functionalAPI.disableConsistencyGroup(cgUID);
  String cgName=functionalAPI.getGroupName(cgUID);
  logger.info("Protection disabled on CG: " + cgName);
  RecoverPointImageManagementUtils imageManager=new RecoverPointImageManagementUtils();
  imageManager.waitForCGLinkState(functionalAPI,cgUID,PipeState.UNKNOWN);
}

private void disableConsistencyGroup ( ConsistencyGroupUID cgUID ) throws FunctionalAPIActionFailedException_Exception , FunctionalAPIInternalError_Exception { functionalAPI . disableConsistencyGroup ( cgUID ) ; String cgName = functionalAPI . getGroupName ( cgUID ) ; logger . info ( "Protection disabled on CG: " + cgName ) ; RecoverPointImageManagementUtils imageManager = new RecoverPointImageManagementUtils ( ) ; imageManager . waitForCGLinkState ( functionalAPI , cgUID , PipeState . UNKNOWN ) ; }
disables the whole consistency group .
