public static base_responses add ( nitro_service client , autoscaleprofile resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { autoscaleprofile addresources [ ] = new autoscaleprofile [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addresources [ i ] = new autoscaleprofile ( ) ; addresources [ i ] . name = resources [ i ] . name ; addresources [ i ] . type = resources [ i ] . type ; addresources [ i ] . url = resources [ i ] . url ; addresources [ i ] . apikey = resources [ i ] . apikey ; addresources [ i ] . sharedsecret = resources [ i ] . sharedsecret ; } result = add_bulk_request ( client , addresources ) ; } return result ; }
Use this API to add autoscaleprofile resources .