idx
int64
0
41.2k
question
stringlengths
74
4.04k
target
stringlengths
7
750
1,600
public static base_response update ( nitro_service client , rsskeytype resource ) throws Exception { rsskeytype updateresource = new rsskeytype ( ) ; updateresource . rsstype = resource . rsstype ; return updateresource . update_resource ( client ) ; }
Use this API to update rsskeytype .
1,601
public static rsskeytype get ( nitro_service service ) throws Exception { rsskeytype obj = new rsskeytype ( ) ; rsskeytype [ ] response = ( rsskeytype [ ] ) obj . get_resources ( service ) ; return response [ 0 ] ; }
Use this API to fetch all the rsskeytype resources that are configured on netscaler .
1,602
public static vpntrafficpolicy_vpnglobal_binding [ ] get ( nitro_service service , String name ) throws Exception { vpntrafficpolicy_vpnglobal_binding obj = new vpntrafficpolicy_vpnglobal_binding ( ) ; obj . set_name ( name ) ; vpntrafficpolicy_vpnglobal_binding response [ ] = ( vpntrafficpolicy_vpnglobal_binding [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch vpntrafficpolicy_vpnglobal_binding resources of given name .
1,603
public static tmglobal_tmsessionpolicy_binding [ ] get ( nitro_service service ) throws Exception { tmglobal_tmsessionpolicy_binding obj = new tmglobal_tmsessionpolicy_binding ( ) ; tmglobal_tmsessionpolicy_binding response [ ] = ( tmglobal_tmsessionpolicy_binding [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch a tmglobal_tmsessionpolicy_binding resources .
1,604
public static systemglobal_authenticationldappolicy_binding [ ] get ( nitro_service service ) throws Exception { systemglobal_authenticationldappolicy_binding obj = new systemglobal_authenticationldappolicy_binding ( ) ; systemglobal_authenticationldappolicy_binding response [ ] = ( systemglobal_authenticationldappolicy_binding [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch a systemglobal_authenticationldappolicy_binding resources .
1,605
public static authenticationvserver_authenticationradiuspolicy_binding [ ] get ( nitro_service service , String name ) throws Exception { authenticationvserver_authenticationradiuspolicy_binding obj = new authenticationvserver_authenticationradiuspolicy_binding ( ) ; obj . set_name ( name ) ; authenticationvserver_authenticationradiuspolicy_binding response [ ] = ( authenticationvserver_authenticationradiuspolicy_binding [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch authenticationvserver_authenticationradiuspolicy_binding resources of given name .
1,606
public static auditnslogpolicy_authenticationvserver_binding [ ] get ( nitro_service service , String name ) throws Exception { auditnslogpolicy_authenticationvserver_binding obj = new auditnslogpolicy_authenticationvserver_binding ( ) ; obj . set_name ( name ) ; auditnslogpolicy_authenticationvserver_binding response [ ] = ( auditnslogpolicy_authenticationvserver_binding [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch auditnslogpolicy_authenticationvserver_binding resources of given name .
1,607
public static vlan_nsip6_binding [ ] get ( nitro_service service , Long id ) throws Exception { vlan_nsip6_binding obj = new vlan_nsip6_binding ( ) ; obj . set_id ( id ) ; vlan_nsip6_binding response [ ] = ( vlan_nsip6_binding [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch vlan_nsip6_binding resources of given name .
1,608
public static appflowpolicylabel [ ] get ( nitro_service service ) throws Exception { appflowpolicylabel obj = new appflowpolicylabel ( ) ; appflowpolicylabel [ ] response = ( appflowpolicylabel [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch all the appflowpolicylabel resources that are configured on netscaler .
1,609
public static appflowpolicylabel get ( nitro_service service , String labelname ) throws Exception { appflowpolicylabel obj = new appflowpolicylabel ( ) ; obj . set_labelname ( labelname ) ; appflowpolicylabel response = ( appflowpolicylabel ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch appflowpolicylabel resource of given name .
1,610
public static nslimitidentifier_stats [ ] get ( nitro_service service ) throws Exception { nslimitidentifier_stats obj = new nslimitidentifier_stats ( ) ; nslimitidentifier_stats [ ] response = ( nslimitidentifier_stats [ ] ) obj . stat_resources ( service ) ; return response ; }
Use this API to fetch the statistics of all nslimitidentifier_stats resources that are configured on netscaler .
1,611
public static nslimitidentifier_stats get ( nitro_service service , String name ) throws Exception { nslimitidentifier_stats obj = new nslimitidentifier_stats ( ) ; obj . set_name ( name ) ; nslimitidentifier_stats response = ( nslimitidentifier_stats ) obj . stat_resource ( service ) ; return response ; }
Use this API to fetch statistics of nslimitidentifier_stats resource of given name .
1,612
public static base_response add ( nitro_service client , cachecontentgroup resource ) throws Exception { cachecontentgroup addresource = new cachecontentgroup ( ) ; addresource . name = resource . name ; addresource . weakposrelexpiry = resource . weakposrelexpiry ; addresource . heurexpiryparam = resource . heurexpiryparam ; addresource . relexpiry = resource . relexpiry ; addresource . relexpirymillisec = resource . relexpirymillisec ; addresource . absexpiry = resource . absexpiry ; addresource . absexpirygmt = resource . absexpirygmt ; addresource . weaknegrelexpiry = resource . weaknegrelexpiry ; addresource . hitparams = resource . hitparams ; addresource . invalparams = resource . invalparams ; addresource . ignoreparamvaluecase = resource . ignoreparamvaluecase ; addresource . matchcookies = resource . matchcookies ; addresource . invalrestrictedtohost = resource . invalrestrictedtohost ; addresource . polleverytime = resource . polleverytime ; addresource . ignorereloadreq = resource . ignorereloadreq ; addresource . removecookies = resource . removecookies ; addresource . prefetch = resource . prefetch ; addresource . prefetchperiod = resource . prefetchperiod ; addresource . prefetchperiodmillisec = resource . prefetchperiodmillisec ; addresource . prefetchmaxpending = resource . prefetchmaxpending ; addresource . flashcache = resource . flashcache ; addresource . expireatlastbyte = resource . expireatlastbyte ; addresource . insertvia = resource . insertvia ; addresource . insertage = resource . insertage ; addresource . insertetag = resource . insertetag ; addresource . cachecontrol = resource . cachecontrol ; addresource . quickabortsize = resource . quickabortsize ; addresource . minressize = resource . minressize ; addresource . maxressize = resource . maxressize ; addresource . memlimit = resource . memlimit ; addresource . ignorereqcachinghdrs = resource . ignorereqcachinghdrs ; addresource . minhits = resource . minhits ; addresource . alwaysevalpolicies = resource . alwaysevalpolicies ; addresource . persist = resource . persist ; addresource . pinned = resource . pinned ; addresource . lazydnsresolve = resource . lazydnsresolve ; addresource . hitselector = resource . hitselector ; addresource . invalselector = resource . invalselector ; addresource . type = resource . type ; return addresource . add_resource ( client ) ; }
Use this API to add cachecontentgroup .
1,613
public static base_response update ( nitro_service client , cachecontentgroup resource ) throws Exception { cachecontentgroup updateresource = new cachecontentgroup ( ) ; updateresource . name = resource . name ; updateresource . weakposrelexpiry = resource . weakposrelexpiry ; updateresource . heurexpiryparam = resource . heurexpiryparam ; updateresource . relexpiry = resource . relexpiry ; updateresource . relexpirymillisec = resource . relexpirymillisec ; updateresource . absexpiry = resource . absexpiry ; updateresource . absexpirygmt = resource . absexpirygmt ; updateresource . weaknegrelexpiry = resource . weaknegrelexpiry ; updateresource . hitparams = resource . hitparams ; updateresource . invalparams = resource . invalparams ; updateresource . ignoreparamvaluecase = resource . ignoreparamvaluecase ; updateresource . matchcookies = resource . matchcookies ; updateresource . invalrestrictedtohost = resource . invalrestrictedtohost ; updateresource . polleverytime = resource . polleverytime ; updateresource . ignorereloadreq = resource . ignorereloadreq ; updateresource . removecookies = resource . removecookies ; updateresource . prefetch = resource . prefetch ; updateresource . prefetchperiod = resource . prefetchperiod ; updateresource . prefetchperiodmillisec = resource . prefetchperiodmillisec ; updateresource . prefetchmaxpending = resource . prefetchmaxpending ; updateresource . flashcache = resource . flashcache ; updateresource . expireatlastbyte = resource . expireatlastbyte ; updateresource . insertvia = resource . insertvia ; updateresource . insertage = resource . insertage ; updateresource . insertetag = resource . insertetag ; updateresource . cachecontrol = resource . cachecontrol ; updateresource . quickabortsize = resource . quickabortsize ; updateresource . minressize = resource . minressize ; updateresource . maxressize = resource . maxressize ; updateresource . memlimit = resource . memlimit ; updateresource . ignorereqcachinghdrs = resource . ignorereqcachinghdrs ; updateresource . minhits = resource . minhits ; updateresource . alwaysevalpolicies = resource . alwaysevalpolicies ; updateresource . persist = resource . persist ; updateresource . pinned = resource . pinned ; updateresource . lazydnsresolve = resource . lazydnsresolve ; updateresource . hitselector = resource . hitselector ; updateresource . invalselector = resource . invalselector ; return updateresource . update_resource ( client ) ; }
Use this API to update cachecontentgroup .
1,614
public static base_response expire ( nitro_service client , cachecontentgroup resource ) throws Exception { cachecontentgroup expireresource = new cachecontentgroup ( ) ; expireresource . name = resource . name ; return expireresource . perform_operation ( client , "expire" ) ; }
Use this API to expire cachecontentgroup .
1,615
public static base_responses expire ( nitro_service client , cachecontentgroup resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { cachecontentgroup expireresources [ ] = new cachecontentgroup [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { expireresources [ i ] = new cachecontentgroup ( ) ; expireresources [ i ] . name = resources [ i ] . name ; } result = perform_operation_bulk_request ( client , expireresources , "expire" ) ; } return result ; }
Use this API to expire cachecontentgroup resources .
1,616
public static base_response flush ( nitro_service client , cachecontentgroup resource ) throws Exception { cachecontentgroup flushresource = new cachecontentgroup ( ) ; flushresource . name = resource . name ; flushresource . query = resource . query ; flushresource . host = resource . host ; flushresource . selectorvalue = resource . selectorvalue ; flushresource . force = resource . force ; return flushresource . perform_operation ( client , "flush" ) ; }
Use this API to flush cachecontentgroup .
1,617
public static base_responses flush ( nitro_service client , cachecontentgroup resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { cachecontentgroup flushresources [ ] = new cachecontentgroup [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { flushresources [ i ] = new cachecontentgroup ( ) ; flushresources [ i ] . name = resources [ i ] . name ; flushresources [ i ] . query = resources [ i ] . query ; flushresources [ i ] . host = resources [ i ] . host ; flushresources [ i ] . selectorvalue = resources [ i ] . selectorvalue ; flushresources [ i ] . force = resources [ i ] . force ; } result = perform_operation_bulk_request ( client , flushresources , "flush" ) ; } return result ; }
Use this API to flush cachecontentgroup resources .
1,618
public static base_response save ( nitro_service client , cachecontentgroup resource ) throws Exception { cachecontentgroup saveresource = new cachecontentgroup ( ) ; saveresource . name = resource . name ; return saveresource . perform_operation ( client , "save" ) ; }
Use this API to save cachecontentgroup .
1,619
public static base_responses save ( nitro_service client , cachecontentgroup resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { cachecontentgroup saveresources [ ] = new cachecontentgroup [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { saveresources [ i ] = new cachecontentgroup ( ) ; saveresources [ i ] . name = resources [ i ] . name ; } result = perform_operation_bulk_request ( client , saveresources , "save" ) ; } return result ; }
Use this API to save cachecontentgroup resources .
1,620
public static cachecontentgroup [ ] get ( nitro_service service ) throws Exception { cachecontentgroup obj = new cachecontentgroup ( ) ; cachecontentgroup [ ] response = ( cachecontentgroup [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch all the cachecontentgroup resources that are configured on netscaler .
1,621
public static cachecontentgroup get ( nitro_service service , String name ) throws Exception { cachecontentgroup obj = new cachecontentgroup ( ) ; obj . set_name ( name ) ; cachecontentgroup response = ( cachecontentgroup ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch cachecontentgroup resource of given name .
1,622
public static lbvserver_auditnslogpolicy_binding [ ] get ( nitro_service service , String name ) throws Exception { lbvserver_auditnslogpolicy_binding obj = new lbvserver_auditnslogpolicy_binding ( ) ; obj . set_name ( name ) ; lbvserver_auditnslogpolicy_binding response [ ] = ( lbvserver_auditnslogpolicy_binding [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch lbvserver_auditnslogpolicy_binding resources of given name .
1,623
public static base_response update ( nitro_service client , csparameter resource ) throws Exception { csparameter updateresource = new csparameter ( ) ; updateresource . stateupdate = resource . stateupdate ; return updateresource . update_resource ( client ) ; }
Use this API to update csparameter .
1,624
public static base_response unset ( nitro_service client , csparameter resource , String [ ] args ) throws Exception { csparameter unsetresource = new csparameter ( ) ; return unsetresource . unset_resource ( client , args ) ; }
Use this API to unset the properties of csparameter resource . Properties that need to be unset are specified in args array .
1,625
public static csparameter get ( nitro_service service ) throws Exception { csparameter obj = new csparameter ( ) ; csparameter [ ] response = ( csparameter [ ] ) obj . get_resources ( service ) ; return response [ 0 ] ; }
Use this API to fetch all the csparameter resources that are configured on netscaler .
1,626
public static vpnvserver_rewritepolicy_binding [ ] get ( nitro_service service , String name ) throws Exception { vpnvserver_rewritepolicy_binding obj = new vpnvserver_rewritepolicy_binding ( ) ; obj . set_name ( name ) ; vpnvserver_rewritepolicy_binding response [ ] = ( vpnvserver_rewritepolicy_binding [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch vpnvserver_rewritepolicy_binding resources of given name .
1,627
public static auditnslogpolicy_systemglobal_binding [ ] get ( nitro_service service , String name ) throws Exception { auditnslogpolicy_systemglobal_binding obj = new auditnslogpolicy_systemglobal_binding ( ) ; obj . set_name ( name ) ; auditnslogpolicy_systemglobal_binding response [ ] = ( auditnslogpolicy_systemglobal_binding [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch auditnslogpolicy_systemglobal_binding resources of given name .
1,628
public static responderpolicy_binding get ( nitro_service service , String name ) throws Exception { responderpolicy_binding obj = new responderpolicy_binding ( ) ; obj . set_name ( name ) ; responderpolicy_binding response = ( responderpolicy_binding ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch responderpolicy_binding resource of given name .
1,629
public void setLabels ( Collection < LabelType > labels ) { this . labels . clear ( ) ; if ( labels != null ) { this . labels . addAll ( labels ) ; } }
Removes all currently assigned labels for this Datum then adds all of the given Labels .
1,630
public synchronized void onViewChangeEvent ( ViewChangedEvent event ) { if ( logger . isDebugEnabled ( ) ) { logger . debug ( "onViewChangeEvent : pre[" + event . isPre ( ) + "] : event local address[" + event . getCache ( ) . getLocalAddress ( ) + "]" ) ; } final List < Address > oldView = currentView ; currentView = new ArrayList < Address > ( event . getNewView ( ) . getMembers ( ) ) ; final Address localAddress = getLocalAddress ( ) ; if ( oldView != null ) { final Cache jbossCache = mobicentsCache . getJBossCache ( ) ; final Configuration config = jbossCache . getConfiguration ( ) ; final boolean isBuddyReplicationEnabled = config . getBuddyReplicationConfig ( ) != null && config . getBuddyReplicationConfig ( ) . isEnabled ( ) ; Runnable runnable = new Runnable ( ) { public void run ( ) { for ( Address oldMember : oldView ) { if ( ! currentView . contains ( oldMember ) ) { if ( logger . isDebugEnabled ( ) ) { logger . debug ( "onViewChangeEvent : processing lost member " + oldMember ) ; } for ( FailOverListener localListener : failOverListeners ) { ClientLocalListenerElector localListenerElector = localListener . getElector ( ) ; if ( localListenerElector != null && ! isBuddyReplicationEnabled ) { performTakeOver ( localListener , oldMember , localAddress , true , isBuddyReplicationEnabled ) ; } else { List < Address > electionView = getElectionView ( oldMember ) ; if ( electionView != null && elector . elect ( electionView ) . equals ( localAddress ) ) { performTakeOver ( localListener , oldMember , localAddress , false , isBuddyReplicationEnabled ) ; } cleanAfterTakeOver ( localListener , oldMember ) ; } } } } } } ; Thread t = new Thread ( runnable ) ; t . start ( ) ; } }
Method handle a change on the cluster members set
1,631
public static appfwpolicy_stats [ ] get ( nitro_service service ) throws Exception { appfwpolicy_stats obj = new appfwpolicy_stats ( ) ; appfwpolicy_stats [ ] response = ( appfwpolicy_stats [ ] ) obj . stat_resources ( service ) ; return response ; }
Use this API to fetch the statistics of all appfwpolicy_stats resources that are configured on netscaler .
1,632
public static appfwpolicy_stats get ( nitro_service service , String name ) throws Exception { appfwpolicy_stats obj = new appfwpolicy_stats ( ) ; obj . set_name ( name ) ; appfwpolicy_stats response = ( appfwpolicy_stats ) obj . stat_resource ( service ) ; return response ; }
Use this API to fetch statistics of appfwpolicy_stats resource of given name .
1,633
public static pqbinding [ ] get ( nitro_service service , pqbinding_args args ) throws Exception { pqbinding obj = new pqbinding ( ) ; options option = new options ( ) ; option . set_args ( nitro_util . object_to_string_withoutquotes ( args ) ) ; pqbinding [ ] response = ( pqbinding [ ] ) obj . get_resources ( service , option ) ; return response ; }
Use this API to fetch all the pqbinding resources that are configured on netscaler . This uses pqbinding_args which is a way to provide additional arguments while fetching the resources .
1,634
public void delete ( Object element , boolean testForEquality ) { int index = indexOfFromTo ( element , 0 , size - 1 , testForEquality ) ; if ( index >= 0 ) removeFromTo ( index , index ) ; }
Deletes the first element from the receiver that matches the specified element . Does nothing if no such matching element is contained .
1,635
public void fillFromToWith ( int from , int to , Object val ) { checkRangeFromTo ( from , to , this . size ) ; for ( int i = from ; i <= to ; ) setQuick ( i ++ , val ) ; }
Sets the specified range of elements in the specified array to the specified value .
1,636
public static dnspolicy_dnspolicylabel_binding [ ] get ( nitro_service service , String name ) throws Exception { dnspolicy_dnspolicylabel_binding obj = new dnspolicy_dnspolicylabel_binding ( ) ; obj . set_name ( name ) ; dnspolicy_dnspolicylabel_binding response [ ] = ( dnspolicy_dnspolicylabel_binding [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch dnspolicy_dnspolicylabel_binding resources of given name .
1,637
public static tmtrafficpolicy_tmglobal_binding [ ] get ( nitro_service service , String name ) throws Exception { tmtrafficpolicy_tmglobal_binding obj = new tmtrafficpolicy_tmglobal_binding ( ) ; obj . set_name ( name ) ; tmtrafficpolicy_tmglobal_binding response [ ] = ( tmtrafficpolicy_tmglobal_binding [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch tmtrafficpolicy_tmglobal_binding resources of given name .
1,638
public static clusternodegroup_nslimitidentifier_binding [ ] get ( nitro_service service , String name ) throws Exception { clusternodegroup_nslimitidentifier_binding obj = new clusternodegroup_nslimitidentifier_binding ( ) ; obj . set_name ( name ) ; clusternodegroup_nslimitidentifier_binding response [ ] = ( clusternodegroup_nslimitidentifier_binding [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch clusternodegroup_nslimitidentifier_binding resources of given name .
1,639
public static rewritepolicylabel_rewritepolicy_binding [ ] get ( nitro_service service , String labelname ) throws Exception { rewritepolicylabel_rewritepolicy_binding obj = new rewritepolicylabel_rewritepolicy_binding ( ) ; obj . set_labelname ( labelname ) ; rewritepolicylabel_rewritepolicy_binding response [ ] = ( rewritepolicylabel_rewritepolicy_binding [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch rewritepolicylabel_rewritepolicy_binding resources of given name .
1,640
public static appfwhtmlerrorpage get ( nitro_service service , options option ) throws Exception { appfwhtmlerrorpage obj = new appfwhtmlerrorpage ( ) ; appfwhtmlerrorpage [ ] response = ( appfwhtmlerrorpage [ ] ) obj . get_resources ( service , option ) ; return response [ 0 ] ; }
Use this API to fetch all the appfwhtmlerrorpage resources that are configured on netscaler .
1,641
public static appfwhtmlerrorpage get ( nitro_service service , String name ) throws Exception { appfwhtmlerrorpage obj = new appfwhtmlerrorpage ( ) ; obj . set_name ( name ) ; appfwhtmlerrorpage response = ( appfwhtmlerrorpage ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch appfwhtmlerrorpage resource of given name .
1,642
public static authenticationvserver_stats [ ] get ( nitro_service service ) throws Exception { authenticationvserver_stats obj = new authenticationvserver_stats ( ) ; authenticationvserver_stats [ ] response = ( authenticationvserver_stats [ ] ) obj . stat_resources ( service ) ; return response ; }
Use this API to fetch the statistics of all authenticationvserver_stats resources that are configured on netscaler .
1,643
public static authenticationvserver_stats get ( nitro_service service , String name ) throws Exception { authenticationvserver_stats obj = new authenticationvserver_stats ( ) ; obj . set_name ( name ) ; authenticationvserver_stats response = ( authenticationvserver_stats ) obj . stat_resource ( service ) ; return response ; }
Use this API to fetch statistics of authenticationvserver_stats resource of given name .
1,644
public static vrid_nsip6_binding [ ] get ( nitro_service service , Long id ) throws Exception { vrid_nsip6_binding obj = new vrid_nsip6_binding ( ) ; obj . set_id ( id ) ; vrid_nsip6_binding response [ ] = ( vrid_nsip6_binding [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch vrid_nsip6_binding resources of given name .
1,645
public static servicegroup_stats [ ] get ( nitro_service service , options option ) throws Exception { servicegroup_stats obj = new servicegroup_stats ( ) ; servicegroup_stats [ ] response = ( servicegroup_stats [ ] ) obj . stat_resources ( service , option ) ; return response ; }
Use this API to fetch the statistics of all servicegroup_stats resources that are configured on netscaler .
1,646
public static servicegroup_stats get ( nitro_service service , String servicegroupname ) throws Exception { servicegroup_stats obj = new servicegroup_stats ( ) ; obj . set_servicegroupname ( servicegroupname ) ; servicegroup_stats response = ( servicegroup_stats ) obj . stat_resource ( service ) ; return response ; }
Use this API to fetch statistics of servicegroup_stats resource of given name .
1,647
public static clusterinstance_binding get ( nitro_service service , Long clid ) throws Exception { clusterinstance_binding obj = new clusterinstance_binding ( ) ; obj . set_clid ( clid ) ; clusterinstance_binding response = ( clusterinstance_binding ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch clusterinstance_binding resource of given name .
1,648
public static auditmessages [ ] get ( nitro_service service ) throws Exception { auditmessages obj = new auditmessages ( ) ; auditmessages [ ] response = ( auditmessages [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch all the auditmessages resources that are configured on netscaler .
1,649
public static auditmessages [ ] get ( nitro_service service , auditmessages_args args ) throws Exception { auditmessages obj = new auditmessages ( ) ; options option = new options ( ) ; option . set_args ( nitro_util . object_to_string_withoutquotes ( args ) ) ; auditmessages [ ] response = ( auditmessages [ ] ) obj . get_resources ( service , option ) ; return response ; }
Use this API to fetch all the auditmessages resources that are configured on netscaler . This uses auditmessages_args which is a way to provide additional arguments while fetching the resources .
1,650
public static cmppolicylabel_policybinding_binding [ ] get ( nitro_service service , String labelname ) throws Exception { cmppolicylabel_policybinding_binding obj = new cmppolicylabel_policybinding_binding ( ) ; obj . set_labelname ( labelname ) ; cmppolicylabel_policybinding_binding response [ ] = ( cmppolicylabel_policybinding_binding [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch cmppolicylabel_policybinding_binding resources of given name .
1,651
public static vpnglobal_appcontroller_binding [ ] get ( nitro_service service ) throws Exception { vpnglobal_appcontroller_binding obj = new vpnglobal_appcontroller_binding ( ) ; vpnglobal_appcontroller_binding response [ ] = ( vpnglobal_appcontroller_binding [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch a vpnglobal_appcontroller_binding resources .
1,652
private static Clique valueOfHelper ( int [ ] relativeIndices ) { Clique c = new Clique ( ) ; c . relativeIndices = relativeIndices ; return intern ( c ) ; }
This version assumes relativeIndices array no longer needs to be copied . Further it is assumed that it has already been checked or assured by construction that relativeIndices is sorted .
1,653
private static void checkSorted ( int [ ] sorted ) { for ( int i = 0 ; i < sorted . length - 1 ; i ++ ) { if ( sorted [ i ] > sorted [ i + 1 ] ) { throw new RuntimeException ( "input must be sorted!" ) ; } } }
Parameter validity check .
1,654
public static aaapreauthenticationpolicy_aaaglobal_binding [ ] get ( nitro_service service , String name ) throws Exception { aaapreauthenticationpolicy_aaaglobal_binding obj = new aaapreauthenticationpolicy_aaaglobal_binding ( ) ; obj . set_name ( name ) ; aaapreauthenticationpolicy_aaaglobal_binding response [ ] = ( aaapreauthenticationpolicy_aaaglobal_binding [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch aaapreauthenticationpolicy_aaaglobal_binding resources of given name .
1,655
public static base_response restart ( nitro_service client ) throws Exception { dbsmonitors restartresource = new dbsmonitors ( ) ; return restartresource . perform_operation ( client , "restart" ) ; }
Use this API to restart dbsmonitors .
1,656
public static wisite_accessmethod_binding [ ] get ( nitro_service service , String sitepath ) throws Exception { wisite_accessmethod_binding obj = new wisite_accessmethod_binding ( ) ; obj . set_sitepath ( sitepath ) ; wisite_accessmethod_binding response [ ] = ( wisite_accessmethod_binding [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch wisite_accessmethod_binding resources of given name .
1,657
public static < X , Y > Pair < X , Y > makePair ( X x , Y y ) { return new Pair < X , Y > ( x , y ) ; }
Returns a Pair constructed from X and Y . Convenience method ; the compiler will disambiguate the classes used for you so that you don t have to write out potentially long class names .
1,658
public static Pair < String , String > stringIntern ( Pair < String , String > p ) { return new MutableInternedPair ( p ) ; }
If first and second are Strings then this returns an MutableInternedPair where the Strings have been interned and if this Pair is serialized and then deserialized first and second are interned upon deserialization .
1,659
public static base_response add ( nitro_service client , authenticationradiusaction resource ) throws Exception { authenticationradiusaction addresource = new authenticationradiusaction ( ) ; addresource . name = resource . name ; addresource . serverip = resource . serverip ; addresource . serverport = resource . serverport ; addresource . authtimeout = resource . authtimeout ; addresource . radkey = resource . radkey ; addresource . radnasip = resource . radnasip ; addresource . radnasid = resource . radnasid ; addresource . radvendorid = resource . radvendorid ; addresource . radattributetype = resource . radattributetype ; addresource . radgroupsprefix = resource . radgroupsprefix ; addresource . radgroupseparator = resource . radgroupseparator ; addresource . passencoding = resource . passencoding ; addresource . ipvendorid = resource . ipvendorid ; addresource . ipattributetype = resource . ipattributetype ; addresource . accounting = resource . accounting ; addresource . pwdvendorid = resource . pwdvendorid ; addresource . pwdattributetype = resource . pwdattributetype ; addresource . defaultauthenticationgroup = resource . defaultauthenticationgroup ; addresource . callingstationid = resource . callingstationid ; return addresource . add_resource ( client ) ; }
Use this API to add authenticationradiusaction .
1,660
public static base_responses add ( nitro_service client , authenticationradiusaction resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { authenticationradiusaction addresources [ ] = new authenticationradiusaction [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addresources [ i ] = new authenticationradiusaction ( ) ; addresources [ i ] . name = resources [ i ] . name ; addresources [ i ] . serverip = resources [ i ] . serverip ; addresources [ i ] . serverport = resources [ i ] . serverport ; addresources [ i ] . authtimeout = resources [ i ] . authtimeout ; addresources [ i ] . radkey = resources [ i ] . radkey ; addresources [ i ] . radnasip = resources [ i ] . radnasip ; addresources [ i ] . radnasid = resources [ i ] . radnasid ; addresources [ i ] . radvendorid = resources [ i ] . radvendorid ; addresources [ i ] . radattributetype = resources [ i ] . radattributetype ; addresources [ i ] . radgroupsprefix = resources [ i ] . radgroupsprefix ; addresources [ i ] . radgroupseparator = resources [ i ] . radgroupseparator ; addresources [ i ] . passencoding = resources [ i ] . passencoding ; addresources [ i ] . ipvendorid = resources [ i ] . ipvendorid ; addresources [ i ] . ipattributetype = resources [ i ] . ipattributetype ; addresources [ i ] . accounting = resources [ i ] . accounting ; addresources [ i ] . pwdvendorid = resources [ i ] . pwdvendorid ; addresources [ i ] . pwdattributetype = resources [ i ] . pwdattributetype ; addresources [ i ] . defaultauthenticationgroup = resources [ i ] . defaultauthenticationgroup ; addresources [ i ] . callingstationid = resources [ i ] . callingstationid ; } result = add_bulk_request ( client , addresources ) ; } return result ; }
Use this API to add authenticationradiusaction resources .
1,661
public static authenticationradiusaction [ ] get ( nitro_service service ) throws Exception { authenticationradiusaction obj = new authenticationradiusaction ( ) ; authenticationradiusaction [ ] response = ( authenticationradiusaction [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch all the authenticationradiusaction resources that are configured on netscaler .
1,662
public static authenticationradiusaction get ( nitro_service service , String name ) throws Exception { authenticationradiusaction obj = new authenticationradiusaction ( ) ; obj . set_name ( name ) ; authenticationradiusaction response = ( authenticationradiusaction ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch authenticationradiusaction resource of given name .
1,663
public static authenticationradiusaction [ ] get_filtered ( nitro_service service , filtervalue [ ] filter ) throws Exception { authenticationradiusaction obj = new authenticationradiusaction ( ) ; options option = new options ( ) ; option . set_filter ( filter ) ; authenticationradiusaction [ ] response = ( authenticationradiusaction [ ] ) obj . getfiltered ( service , option ) ; return response ; }
Use this API to fetch filtered set of authenticationradiusaction resources . set the filter parameter values in filtervalue object .
1,664
public static sslcertkey_sslvserver_binding [ ] get ( nitro_service service , String certkey ) throws Exception { sslcertkey_sslvserver_binding obj = new sslcertkey_sslvserver_binding ( ) ; obj . set_certkey ( certkey ) ; sslcertkey_sslvserver_binding response [ ] = ( sslcertkey_sslvserver_binding [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch sslcertkey_sslvserver_binding resources of given name .
1,665
private double getConstraint ( double x1 , double x2 ) { double c1 , c2 , h ; c1 = - x1 * x1 - x2 * x2 + 1 + 0.1 * Math . cos ( 16 * Math . atan ( x1 / x2 ) ) ; c2 = ( x1 - 0.5 ) * ( x1 - 0.5 ) + ( x2 - 0.5 ) * ( x2 - 0.5 ) - 0.5 ; if ( c1 > c2 ) h = ( c1 > 0 ) ? c1 : 0 ; else h = ( c2 > 0 ) ? c2 : 0 ; return h ; }
use the design parameters to compute the constraint equation to get the value
1,666
public static lbvserver_stats [ ] get ( nitro_service service ) throws Exception { lbvserver_stats obj = new lbvserver_stats ( ) ; lbvserver_stats [ ] response = ( lbvserver_stats [ ] ) obj . stat_resources ( service ) ; return response ; }
Use this API to fetch the statistics of all lbvserver_stats resources that are configured on netscaler .
1,667
public static lbvserver_stats get ( nitro_service service , String name ) throws Exception { lbvserver_stats obj = new lbvserver_stats ( ) ; obj . set_name ( name ) ; lbvserver_stats response = ( lbvserver_stats ) obj . stat_resource ( service ) ; return response ; }
Use this API to fetch statistics of lbvserver_stats resource of given name .
1,668
private void updateMax ( MtasRBTreeNode n , MtasRBTreeNode c ) { if ( c != null ) { if ( n . max < c . max ) { n . max = c . max ; } } }
Update max .
1,669
private void setMax ( MtasRBTreeNode n ) { n . max = n . right ; if ( n . leftChild != null ) { n . max = Math . max ( n . max , n . leftChild . max ) ; } if ( n . rightChild != null ) { n . max = Math . max ( n . max , n . rightChild . max ) ; } }
Sets the max .
1,670
public static base_response update ( nitro_service client , filterhtmlinjectionparameter resource ) throws Exception { filterhtmlinjectionparameter updateresource = new filterhtmlinjectionparameter ( ) ; updateresource . rate = resource . rate ; updateresource . frequency = resource . frequency ; updateresource . strict = resource . strict ; updateresource . htmlsearchlen = resource . htmlsearchlen ; return updateresource . update_resource ( client ) ; }
Use this API to update filterhtmlinjectionparameter .
1,671
public static base_response unset ( nitro_service client , filterhtmlinjectionparameter resource , String [ ] args ) throws Exception { filterhtmlinjectionparameter unsetresource = new filterhtmlinjectionparameter ( ) ; return unsetresource . unset_resource ( client , args ) ; }
Use this API to unset the properties of filterhtmlinjectionparameter resource . Properties that need to be unset are specified in args array .
1,672
public static filterhtmlinjectionparameter get ( nitro_service service , options option ) throws Exception { filterhtmlinjectionparameter obj = new filterhtmlinjectionparameter ( ) ; filterhtmlinjectionparameter [ ] response = ( filterhtmlinjectionparameter [ ] ) obj . get_resources ( service , option ) ; return response [ 0 ] ; }
Use this API to fetch all the filterhtmlinjectionparameter resources that are configured on netscaler .
1,673
public static aaauser_binding get ( nitro_service service , String username ) throws Exception { aaauser_binding obj = new aaauser_binding ( ) ; obj . set_username ( username ) ; aaauser_binding response = ( aaauser_binding ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch aaauser_binding resource of given name .
1,674
public static sslvserver_sslcertkey_binding [ ] get ( nitro_service service , String vservername ) throws Exception { sslvserver_sslcertkey_binding obj = new sslvserver_sslcertkey_binding ( ) ; obj . set_vservername ( vservername ) ; sslvserver_sslcertkey_binding response [ ] = ( sslvserver_sslcertkey_binding [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch sslvserver_sslcertkey_binding resources of given name .
1,675
public static base_response unset ( nitro_service client , tmsessionparameter resource , String [ ] args ) throws Exception { tmsessionparameter unsetresource = new tmsessionparameter ( ) ; return unsetresource . unset_resource ( client , args ) ; }
Use this API to unset the properties of tmsessionparameter resource . Properties that need to be unset are specified in args array .
1,676
public static tmsessionparameter get ( nitro_service service ) throws Exception { tmsessionparameter obj = new tmsessionparameter ( ) ; tmsessionparameter [ ] response = ( tmsessionparameter [ ] ) obj . get_resources ( service ) ; return response [ 0 ] ; }
Use this API to fetch all the tmsessionparameter resources that are configured on netscaler .
1,677
public static base_response add ( nitro_service client , systemuser resource ) throws Exception { systemuser addresource = new systemuser ( ) ; addresource . username = resource . username ; addresource . password = resource . password ; addresource . externalauth = resource . externalauth ; addresource . promptstring = resource . promptstring ; addresource . timeout = resource . timeout ; return addresource . add_resource ( client ) ; }
Use this API to add systemuser .
1,678
public static base_responses add ( nitro_service client , systemuser resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { systemuser addresources [ ] = new systemuser [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addresources [ i ] = new systemuser ( ) ; addresources [ i ] . username = resources [ i ] . username ; addresources [ i ] . password = resources [ i ] . password ; addresources [ i ] . externalauth = resources [ i ] . externalauth ; addresources [ i ] . promptstring = resources [ i ] . promptstring ; addresources [ i ] . timeout = resources [ i ] . timeout ; } result = add_bulk_request ( client , addresources ) ; } return result ; }
Use this API to add systemuser resources .
1,679
public static base_response delete ( nitro_service client , String username ) throws Exception { systemuser deleteresource = new systemuser ( ) ; deleteresource . username = username ; return deleteresource . delete_resource ( client ) ; }
Use this API to delete systemuser of given name .
1,680
public static base_response update ( nitro_service client , systemuser resource ) throws Exception { systemuser updateresource = new systemuser ( ) ; updateresource . username = resource . username ; updateresource . password = resource . password ; updateresource . externalauth = resource . externalauth ; updateresource . promptstring = resource . promptstring ; updateresource . timeout = resource . timeout ; return updateresource . update_resource ( client ) ; }
Use this API to update systemuser .
1,681
public static base_responses update ( nitro_service client , systemuser resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { systemuser updateresources [ ] = new systemuser [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { updateresources [ i ] = new systemuser ( ) ; updateresources [ i ] . username = resources [ i ] . username ; updateresources [ i ] . password = resources [ i ] . password ; updateresources [ i ] . externalauth = resources [ i ] . externalauth ; updateresources [ i ] . promptstring = resources [ i ] . promptstring ; updateresources [ i ] . timeout = resources [ i ] . timeout ; } result = update_bulk_request ( client , updateresources ) ; } return result ; }
Use this API to update systemuser resources .
1,682
public static base_response unset ( nitro_service client , systemuser resource , String [ ] args ) throws Exception { systemuser unsetresource = new systemuser ( ) ; unsetresource . username = resource . username ; return unsetresource . unset_resource ( client , args ) ; }
Use this API to unset the properties of systemuser resource . Properties that need to be unset are specified in args array .
1,683
public static base_responses unset ( nitro_service client , String username [ ] , String args [ ] ) throws Exception { base_responses result = null ; if ( username != null && username . length > 0 ) { systemuser unsetresources [ ] = new systemuser [ username . length ] ; for ( int i = 0 ; i < username . length ; i ++ ) { unsetresources [ i ] = new systemuser ( ) ; unsetresources [ i ] . username = username [ i ] ; } result = unset_bulk_request ( client , unsetresources , args ) ; } return result ; }
Use this API to unset the properties of systemuser resources . Properties that need to be unset are specified in args array .
1,684
public static systemuser [ ] get ( nitro_service service ) throws Exception { systemuser obj = new systemuser ( ) ; systemuser [ ] response = ( systemuser [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch all the systemuser resources that are configured on netscaler .
1,685
public static systemuser get ( nitro_service service , String username ) throws Exception { systemuser obj = new systemuser ( ) ; obj . set_username ( username ) ; systemuser response = ( systemuser ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch systemuser resource of given name .
1,686
public static service_stats [ ] get ( nitro_service service ) throws Exception { service_stats obj = new service_stats ( ) ; service_stats [ ] response = ( service_stats [ ] ) obj . stat_resources ( service ) ; return response ; }
Use this API to fetch the statistics of all service_stats resources that are configured on netscaler .
1,687
public static service_stats get ( nitro_service service , String name ) throws Exception { service_stats obj = new service_stats ( ) ; obj . set_name ( name ) ; service_stats response = ( service_stats ) obj . stat_resource ( service ) ; return response ; }
Use this API to fetch statistics of service_stats resource of given name .
1,688
public static base_response update ( nitro_service client , inatparam resource ) throws Exception { inatparam updateresource = new inatparam ( ) ; updateresource . nat46v6prefix = resource . nat46v6prefix ; updateresource . nat46ignoretos = resource . nat46ignoretos ; updateresource . nat46zerochecksum = resource . nat46zerochecksum ; updateresource . nat46v6mtu = resource . nat46v6mtu ; updateresource . nat46fragheader = resource . nat46fragheader ; return updateresource . update_resource ( client ) ; }
Use this API to update inatparam .
1,689
public static base_response unset ( nitro_service client , inatparam resource , String [ ] args ) throws Exception { inatparam unsetresource = new inatparam ( ) ; return unsetresource . unset_resource ( client , args ) ; }
Use this API to unset the properties of inatparam resource . Properties that need to be unset are specified in args array .
1,690
public static inatparam get ( nitro_service service ) throws Exception { inatparam obj = new inatparam ( ) ; inatparam [ ] response = ( inatparam [ ] ) obj . get_resources ( service ) ; return response [ 0 ] ; }
Use this API to fetch all the inatparam resources that are configured on netscaler .
1,691
public float conditionalLogProb ( int [ ] given , int of ) { if ( given . length != windowSize - 1 ) { System . err . println ( "error computing conditional log prob" ) ; System . exit ( 0 ) ; } int [ ] label = indicesFront ( given ) ; float [ ] masses = new float [ label . length ] ; for ( int i = 0 ; i < masses . length ; i ++ ) { masses [ i ] = table [ label [ i ] ] ; } float z = ArrayMath . logSum ( masses ) ; return table [ indexOf ( given , of ) ] - z ; }
given is at the begining of is at the end
1,692
public static base_response update ( nitro_service client , aaaparameter resource ) throws Exception { aaaparameter updateresource = new aaaparameter ( ) ; updateresource . enablestaticpagecaching = resource . enablestaticpagecaching ; updateresource . enableenhancedauthfeedback = resource . enableenhancedauthfeedback ; updateresource . defaultauthtype = resource . defaultauthtype ; updateresource . maxaaausers = resource . maxaaausers ; updateresource . maxloginattempts = resource . maxloginattempts ; updateresource . failedlogintimeout = resource . failedlogintimeout ; updateresource . aaadnatip = resource . aaadnatip ; return updateresource . update_resource ( client ) ; }
Use this API to update aaaparameter .
1,693
public static base_response unset ( nitro_service client , aaaparameter resource , String [ ] args ) throws Exception { aaaparameter unsetresource = new aaaparameter ( ) ; return unsetresource . unset_resource ( client , args ) ; }
Use this API to unset the properties of aaaparameter resource . Properties that need to be unset are specified in args array .
1,694
public static aaaparameter get ( nitro_service service ) throws Exception { aaaparameter obj = new aaaparameter ( ) ; aaaparameter [ ] response = ( aaaparameter [ ] ) obj . get_resources ( service ) ; return response [ 0 ] ; }
Use this API to fetch all the aaaparameter resources that are configured on netscaler .
1,695
public static gslbvserver_spilloverpolicy_binding [ ] get ( nitro_service service , String name ) throws Exception { gslbvserver_spilloverpolicy_binding obj = new gslbvserver_spilloverpolicy_binding ( ) ; obj . set_name ( name ) ; gslbvserver_spilloverpolicy_binding response [ ] = ( gslbvserver_spilloverpolicy_binding [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch gslbvserver_spilloverpolicy_binding resources of given name .
1,696
public void setFirstOccurence ( int min , int max ) throws ParseException { if ( fullCondition == null ) { if ( ( min < 0 ) || ( min > max ) || ( max < 1 ) ) { throw new ParseException ( "Illegal number {" + min + "," + max + "}" ) ; } if ( min == 0 ) { firstOptional = true ; } firstMinimumOccurence = Math . max ( 1 , min ) ; firstMaximumOccurence = max ; } else { throw new ParseException ( "fullCondition already generated" ) ; } }
Sets the first occurence .
1,697
public MtasCQLParserSentenceCondition createFullSentence ( ) throws ParseException { if ( fullCondition == null ) { if ( secondSentencePart == null ) { if ( firstBasicSentence != null ) { fullCondition = new MtasCQLParserSentenceCondition ( firstBasicSentence , ignoreClause , maximumIgnoreLength ) ; } else { fullCondition = firstSentence ; } fullCondition . setOccurence ( firstMinimumOccurence , firstMaximumOccurence ) ; if ( firstOptional ) { fullCondition . setOptional ( firstOptional ) ; } return fullCondition ; } else { if ( ! orOperator ) { if ( firstBasicSentence != null ) { firstBasicSentence . setOccurence ( firstMinimumOccurence , firstMaximumOccurence ) ; firstBasicSentence . setOptional ( firstOptional ) ; fullCondition = new MtasCQLParserSentenceCondition ( firstBasicSentence , ignoreClause , maximumIgnoreLength ) ; } else { firstSentence . setOccurence ( firstMinimumOccurence , firstMaximumOccurence ) ; firstSentence . setOptional ( firstOptional ) ; fullCondition = new MtasCQLParserSentenceCondition ( firstSentence , ignoreClause , maximumIgnoreLength ) ; } fullCondition . addSentenceToEndLatestSequence ( secondSentencePart . createFullSentence ( ) ) ; } else { MtasCQLParserSentenceCondition sentence = secondSentencePart . createFullSentence ( ) ; if ( firstBasicSentence != null ) { sentence . addSentenceAsFirstOption ( new MtasCQLParserSentenceCondition ( firstBasicSentence , ignoreClause , maximumIgnoreLength ) ) ; } else { sentence . addSentenceAsFirstOption ( firstSentence ) ; } fullCondition = sentence ; } return fullCondition ; } } else { return fullCondition ; } }
Creates the full sentence .
1,698
public static base_response update ( nitro_service client , vserver resource ) throws Exception { vserver updateresource = new vserver ( ) ; updateresource . name = resource . name ; updateresource . backupvserver = resource . backupvserver ; updateresource . redirecturl = resource . redirecturl ; updateresource . cacheable = resource . cacheable ; updateresource . clttimeout = resource . clttimeout ; updateresource . somethod = resource . somethod ; updateresource . sopersistence = resource . sopersistence ; updateresource . sopersistencetimeout = resource . sopersistencetimeout ; updateresource . sothreshold = resource . sothreshold ; updateresource . pushvserver = resource . pushvserver ; return updateresource . update_resource ( client ) ; }
Use this API to update vserver .
1,699
public static base_response disable ( nitro_service client , String name ) throws Exception { vserver disableresource = new vserver ( ) ; disableresource . name = name ; return disableresource . perform_operation ( client , "disable" ) ; }
Use this API to disable vserver of given name .