public static base_responses unset ( nitro_service client , autoscalepolicy resources [ ] , String [ ] args ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { autoscalepolicy unsetresources [ ] = new autoscalepolicy [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { unsetresources [ i ] = new autoscalepolicy ( ) ; unsetresources [ i ] . name = resources [ i ] . name ; unsetresources [ i ] . rule = resources [ i ] . rule ; unsetresources [ i ] . action = resources [ i ] . action ; unsetresources [ i ] . comment = resources [ i ] . comment ; unsetresources [ i ] . logaction = resources [ i ] . logaction ; } result = unset_bulk_request ( client , unsetresources , args ) ; } return result ; }
Use this API to unset the properties of autoscalepolicy resources . Properties that need to be unset are specified in args array .