question: public VNXeCommandResult deleteConsistencyGroup ( String cgId , boolean isForceSnapDeletion , boolean isForceVolumeDeletion ) { if ( isForceVolumeDeletion ) { DeleteStorageResourceRequest deleteReq = new DeleteStorageResourceRequest ( _khClient ) ; return deleteReq . deleteLunGroup ( cgId , isForceSnapDeletion ) ; } else { BlockLunRequests lunReq = new BlockLunRequests ( _khClient ) ; List < VNXeLun > luns = lunReq . getLunsInLunGroup ( cgId ) ; if ( luns != null && ! luns . isEmpty ( ) ) { List < String > lunIds = new ArrayList < String > ( ) ; for ( VNXeLun lun : luns ) { lunIds . add ( lun . getId ( ) ) ; } removeLunsFromConsistencyGroup ( cgId , lunIds ) ; } DeleteStorageResourceRequest deleteReq = new DeleteStorageResourceRequest ( _khClient ) ; return deleteReq . deleteLunGroup ( cgId , isForceSnapDeletion ) ; } }
target:  Delete Consistency group. if isForceVolumeDeletion is true, it would delete all the volumes in the Consistency group and the Consistency group. if isForceVolumeDeletion is false, it would remove all the volumes from the Consistency group, then delete the Consistency group.