public static base_responses update(nitro_service client, systemcmdpolicy resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			systemcmdpolicy updateresources[] = new systemcmdpolicy[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new systemcmdpolicy();
				updateresources[i].policyname = resources[i].policyname;
				updateresources[i].action = resources[i].action;
				updateresources[i].cmdspec = resources[i].cmdspec;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
public static base_responses update ( nitro_service client , systemcmdpolicy resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { systemcmdpolicy updateresources [ ] = new systemcmdpolicy [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { updateresources [ i ] = new systemcmdpolicy ( ) ; updateresources [ i ] . policyname = resources [ i ] . policyname ; updateresources [ i ] . action = resources [ i ] . action ; updateresources [ i ] . cmdspec = resources [ i ] . cmdspec ; } result = update_bulk_request ( client , updateresources ) ; } return result ; }
Use this API to update systemcmdpolicy resources.