idx
int64 0
41.2k
| question
stringlengths 74
4.04k
| target
stringlengths 7
750
|
|---|---|---|
3,500
|
public static base_response unset ( nitro_service client , dnssoarec resource , String [ ] args ) throws Exception { dnssoarec unsetresource = new dnssoarec ( ) ; unsetresource . domain = resource . domain ; return unsetresource . unset_resource ( client , args ) ; }
|
Use this API to unset the properties of dnssoarec resource . Properties that need to be unset are specified in args array .
|
3,501
|
public static base_responses unset ( nitro_service client , String domain [ ] , String args [ ] ) throws Exception { base_responses result = null ; if ( domain != null && domain . length > 0 ) { dnssoarec unsetresources [ ] = new dnssoarec [ domain . length ] ; for ( int i = 0 ; i < domain . length ; i ++ ) { unsetresources [ i ] = new dnssoarec ( ) ; unsetresources [ i ] . domain = domain [ i ] ; } result = unset_bulk_request ( client , unsetresources , args ) ; } return result ; }
|
Use this API to unset the properties of dnssoarec resources . Properties that need to be unset are specified in args array .
|
3,502
|
public static dnssoarec [ ] get ( nitro_service service ) throws Exception { dnssoarec obj = new dnssoarec ( ) ; dnssoarec [ ] response = ( dnssoarec [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch all the dnssoarec resources that are configured on netscaler .
|
3,503
|
public static dnssoarec [ ] get ( nitro_service service , dnssoarec_args args ) throws Exception { dnssoarec obj = new dnssoarec ( ) ; options option = new options ( ) ; option . set_args ( nitro_util . object_to_string_withoutquotes ( args ) ) ; dnssoarec [ ] response = ( dnssoarec [ ] ) obj . get_resources ( service , option ) ; return response ; }
|
Use this API to fetch all the dnssoarec resources that are configured on netscaler . This uses dnssoarec_args which is a way to provide additional arguments while fetching the resources .
|
3,504
|
public static dnssoarec get ( nitro_service service , String domain ) throws Exception { dnssoarec obj = new dnssoarec ( ) ; obj . set_domain ( domain ) ; dnssoarec response = ( dnssoarec ) obj . get_resource ( service ) ; return response ; }
|
Use this API to fetch dnssoarec resource of given name .
|
3,505
|
public static vpnglobal_domain_binding [ ] get ( nitro_service service ) throws Exception { vpnglobal_domain_binding obj = new vpnglobal_domain_binding ( ) ; vpnglobal_domain_binding response [ ] = ( vpnglobal_domain_binding [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch a vpnglobal_domain_binding resources .
|
3,506
|
public static base_response add ( nitro_service client , cachepolicy resource ) throws Exception { cachepolicy addresource = new cachepolicy ( ) ; addresource . policyname = resource . policyname ; addresource . rule = resource . rule ; addresource . action = resource . action ; addresource . storeingroup = resource . storeingroup ; addresource . invalgroups = resource . invalgroups ; addresource . invalobjects = resource . invalobjects ; addresource . undefaction = resource . undefaction ; return addresource . add_resource ( client ) ; }
|
Use this API to add cachepolicy .
|
3,507
|
public static base_responses add ( nitro_service client , cachepolicy resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { cachepolicy addresources [ ] = new cachepolicy [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addresources [ i ] = new cachepolicy ( ) ; addresources [ i ] . policyname = resources [ i ] . policyname ; addresources [ i ] . rule = resources [ i ] . rule ; addresources [ i ] . action = resources [ i ] . action ; addresources [ i ] . storeingroup = resources [ i ] . storeingroup ; addresources [ i ] . invalgroups = resources [ i ] . invalgroups ; addresources [ i ] . invalobjects = resources [ i ] . invalobjects ; addresources [ i ] . undefaction = resources [ i ] . undefaction ; } result = add_bulk_request ( client , addresources ) ; } return result ; }
|
Use this API to add cachepolicy resources .
|
3,508
|
public static base_response update ( nitro_service client , cachepolicy resource ) throws Exception { cachepolicy updateresource = new cachepolicy ( ) ; updateresource . policyname = resource . policyname ; updateresource . rule = resource . rule ; updateresource . action = resource . action ; updateresource . storeingroup = resource . storeingroup ; updateresource . invalgroups = resource . invalgroups ; updateresource . invalobjects = resource . invalobjects ; updateresource . undefaction = resource . undefaction ; return updateresource . update_resource ( client ) ; }
|
Use this API to update cachepolicy .
|
3,509
|
public static base_responses update ( nitro_service client , cachepolicy resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { cachepolicy updateresources [ ] = new cachepolicy [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { updateresources [ i ] = new cachepolicy ( ) ; updateresources [ i ] . policyname = resources [ i ] . policyname ; updateresources [ i ] . rule = resources [ i ] . rule ; updateresources [ i ] . action = resources [ i ] . action ; updateresources [ i ] . storeingroup = resources [ i ] . storeingroup ; updateresources [ i ] . invalgroups = resources [ i ] . invalgroups ; updateresources [ i ] . invalobjects = resources [ i ] . invalobjects ; updateresources [ i ] . undefaction = resources [ i ] . undefaction ; } result = update_bulk_request ( client , updateresources ) ; } return result ; }
|
Use this API to update cachepolicy resources .
|
3,510
|
public static base_responses unset ( nitro_service client , String policyname [ ] , String args [ ] ) throws Exception { base_responses result = null ; if ( policyname != null && policyname . length > 0 ) { cachepolicy unsetresources [ ] = new cachepolicy [ policyname . length ] ; for ( int i = 0 ; i < policyname . length ; i ++ ) { unsetresources [ i ] = new cachepolicy ( ) ; unsetresources [ i ] . policyname = policyname [ i ] ; } result = unset_bulk_request ( client , unsetresources , args ) ; } return result ; }
|
Use this API to unset the properties of cachepolicy resources . Properties that need to be unset are specified in args array .
|
3,511
|
public static base_response rename ( nitro_service client , cachepolicy resource , String new_policyname ) throws Exception { cachepolicy renameresource = new cachepolicy ( ) ; renameresource . policyname = resource . policyname ; return renameresource . rename_resource ( client , new_policyname ) ; }
|
Use this API to rename a cachepolicy resource .
|
3,512
|
public static cachepolicy [ ] get ( nitro_service service ) throws Exception { cachepolicy obj = new cachepolicy ( ) ; cachepolicy [ ] response = ( cachepolicy [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch all the cachepolicy resources that are configured on netscaler .
|
3,513
|
public static cachepolicy get ( nitro_service service , String policyname ) throws Exception { cachepolicy obj = new cachepolicy ( ) ; obj . set_policyname ( policyname ) ; cachepolicy response = ( cachepolicy ) obj . get_resource ( service ) ; return response ; }
|
Use this API to fetch cachepolicy resource of given name .
|
3,514
|
public static authorizationpolicy_lbvserver_binding [ ] get ( nitro_service service , String name ) throws Exception { authorizationpolicy_lbvserver_binding obj = new authorizationpolicy_lbvserver_binding ( ) ; obj . set_name ( name ) ; authorizationpolicy_lbvserver_binding response [ ] = ( authorizationpolicy_lbvserver_binding [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch authorizationpolicy_lbvserver_binding resources of given name .
|
3,515
|
private String getNext ( ) { StringBuilder result = new StringBuilder ( ) ; try { XMLUtils . XMLTag tag ; do { XMLUtils . readUntilTag ( inputReader ) ; tag = XMLUtils . readAndParseTag ( inputReader ) ; if ( tag == null ) { return null ; } } while ( ! tagNamePattern . matcher ( tag . name ) . matches ( ) || tag . isEndTag || tag . isSingleTag ) ; if ( keepDelimitingTags ) { result . append ( tag . toString ( ) ) ; } int depth = 1 ; while ( true ) { String text = XMLUtils . readUntilTag ( inputReader ) ; if ( text != null ) { result . append ( text ) ; } String tagString = XMLUtils . readTag ( inputReader ) ; tag = XMLUtils . parseTag ( tagString ) ; if ( tag == null ) { return null ; } if ( tagNamePattern . matcher ( tag . name ) . matches ( ) && tag . isEndTag ) { if ( ( countDepth && depth == 1 ) || ! countDepth ) { if ( keepDelimitingTags ) { result . append ( tagString ) ; } break ; } else { -- depth ; if ( keepInternalTags ) { result . append ( tagString ) ; } } } else if ( tagNamePattern . matcher ( tag . name ) . matches ( ) && ! tag . isEndTag && ! tag . isSingleTag && countDepth ) { ++ depth ; if ( keepInternalTags ) { result . append ( tagString ) ; } } else { if ( keepInternalTags ) { result . append ( tagString ) ; } } } } catch ( Exception e ) { e . printStackTrace ( ) ; } return result . toString ( ) ; }
|
returns null if there is no next object
|
3,516
|
public List < E > tokenize ( ) { List < E > result = new ArrayList < E > ( ) ; while ( hasNext ( ) ) { result . add ( next ( ) ) ; } return result ; }
|
Returns pieces of text in element as a List of tokens .
|
3,517
|
public static IteratorFromReaderFactory < String > getFactory ( String tag ) { return new XMLBeginEndIterator . XMLBeginEndIteratorFactory < String > ( tag , new IdentityFunction < String > ( ) , false , false ) ; }
|
Returns a factory that vends BeginEndIterators that reads the contents of the given Reader extracts text between the specified Strings then returns the result .
|
3,518
|
public static lbvserver_service_binding [ ] get ( nitro_service service , String name ) throws Exception { lbvserver_service_binding obj = new lbvserver_service_binding ( ) ; obj . set_name ( name ) ; lbvserver_service_binding response [ ] = ( lbvserver_service_binding [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch lbvserver_service_binding resources of given name .
|
3,519
|
public static base_response update ( nitro_service client , sslservicegroup resource ) throws Exception { sslservicegroup updateresource = new sslservicegroup ( ) ; updateresource . servicegroupname = resource . servicegroupname ; updateresource . sessreuse = resource . sessreuse ; updateresource . sesstimeout = resource . sesstimeout ; updateresource . nonfipsciphers = resource . nonfipsciphers ; updateresource . ssl3 = resource . ssl3 ; updateresource . tls1 = resource . tls1 ; updateresource . serverauth = resource . serverauth ; updateresource . commonname = resource . commonname ; updateresource . sendclosenotify = resource . sendclosenotify ; return updateresource . update_resource ( client ) ; }
|
Use this API to update sslservicegroup .
|
3,520
|
public static base_responses update ( nitro_service client , sslservicegroup resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { sslservicegroup updateresources [ ] = new sslservicegroup [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { updateresources [ i ] = new sslservicegroup ( ) ; updateresources [ i ] . servicegroupname = resources [ i ] . servicegroupname ; updateresources [ i ] . sessreuse = resources [ i ] . sessreuse ; updateresources [ i ] . sesstimeout = resources [ i ] . sesstimeout ; updateresources [ i ] . nonfipsciphers = resources [ i ] . nonfipsciphers ; updateresources [ i ] . ssl3 = resources [ i ] . ssl3 ; updateresources [ i ] . tls1 = resources [ i ] . tls1 ; updateresources [ i ] . serverauth = resources [ i ] . serverauth ; updateresources [ i ] . commonname = resources [ i ] . commonname ; updateresources [ i ] . sendclosenotify = resources [ i ] . sendclosenotify ; } result = update_bulk_request ( client , updateresources ) ; } return result ; }
|
Use this API to update sslservicegroup resources .
|
3,521
|
public static base_response unset ( nitro_service client , sslservicegroup resource , String [ ] args ) throws Exception { sslservicegroup unsetresource = new sslservicegroup ( ) ; unsetresource . servicegroupname = resource . servicegroupname ; return unsetresource . unset_resource ( client , args ) ; }
|
Use this API to unset the properties of sslservicegroup resource . Properties that need to be unset are specified in args array .
|
3,522
|
public static base_responses unset ( nitro_service client , String servicegroupname [ ] , String args [ ] ) throws Exception { base_responses result = null ; if ( servicegroupname != null && servicegroupname . length > 0 ) { sslservicegroup unsetresources [ ] = new sslservicegroup [ servicegroupname . length ] ; for ( int i = 0 ; i < servicegroupname . length ; i ++ ) { unsetresources [ i ] = new sslservicegroup ( ) ; unsetresources [ i ] . servicegroupname = servicegroupname [ i ] ; } result = unset_bulk_request ( client , unsetresources , args ) ; } return result ; }
|
Use this API to unset the properties of sslservicegroup resources . Properties that need to be unset are specified in args array .
|
3,523
|
public static sslservicegroup [ ] get ( nitro_service service ) throws Exception { sslservicegroup obj = new sslservicegroup ( ) ; sslservicegroup [ ] response = ( sslservicegroup [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch all the sslservicegroup resources that are configured on netscaler .
|
3,524
|
public static sslservicegroup [ ] get ( nitro_service service , sslservicegroup_args args ) throws Exception { sslservicegroup obj = new sslservicegroup ( ) ; options option = new options ( ) ; option . set_args ( nitro_util . object_to_string_withoutquotes ( args ) ) ; sslservicegroup [ ] response = ( sslservicegroup [ ] ) obj . get_resources ( service , option ) ; return response ; }
|
Use this API to fetch all the sslservicegroup resources that are configured on netscaler . This uses sslservicegroup_args which is a way to provide additional arguments while fetching the resources .
|
3,525
|
public static sslservicegroup get ( nitro_service service , String servicegroupname ) throws Exception { sslservicegroup obj = new sslservicegroup ( ) ; obj . set_servicegroupname ( servicegroupname ) ; sslservicegroup response = ( sslservicegroup ) obj . get_resource ( service ) ; return response ; }
|
Use this API to fetch sslservicegroup resource of given name .
|
3,526
|
public static authenticationsamlpolicy_authenticationvserver_binding [ ] get ( nitro_service service , String name ) throws Exception { authenticationsamlpolicy_authenticationvserver_binding obj = new authenticationsamlpolicy_authenticationvserver_binding ( ) ; obj . set_name ( name ) ; authenticationsamlpolicy_authenticationvserver_binding response [ ] = ( authenticationsamlpolicy_authenticationvserver_binding [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch authenticationsamlpolicy_authenticationvserver_binding resources of given name .
|
3,527
|
public static base_response add ( nitro_service client , servicegroup resource ) throws Exception { servicegroup addresource = new servicegroup ( ) ; addresource . servicegroupname = resource . servicegroupname ; addresource . servicetype = resource . servicetype ; addresource . cachetype = resource . cachetype ; addresource . td = resource . td ; addresource . maxclient = resource . maxclient ; addresource . maxreq = resource . maxreq ; addresource . cacheable = resource . cacheable ; addresource . cip = resource . cip ; addresource . cipheader = resource . cipheader ; addresource . usip = resource . usip ; addresource . pathmonitor = resource . pathmonitor ; addresource . pathmonitorindv = resource . pathmonitorindv ; addresource . useproxyport = resource . useproxyport ; addresource . healthmonitor = resource . healthmonitor ; addresource . sc = resource . sc ; addresource . sp = resource . sp ; addresource . rtspsessionidremap = resource . rtspsessionidremap ; addresource . clttimeout = resource . clttimeout ; addresource . svrtimeout = resource . svrtimeout ; addresource . cka = resource . cka ; addresource . tcpb = resource . tcpb ; addresource . cmp = resource . cmp ; addresource . maxbandwidth = resource . maxbandwidth ; addresource . monthreshold = resource . monthreshold ; addresource . state = resource . state ; addresource . downstateflush = resource . downstateflush ; addresource . tcpprofilename = resource . tcpprofilename ; addresource . httpprofilename = resource . httpprofilename ; addresource . comment = resource . comment ; addresource . appflowlog = resource . appflowlog ; addresource . netprofile = resource . netprofile ; addresource . autoscale = resource . autoscale ; addresource . memberport = resource . memberport ; return addresource . add_resource ( client ) ; }
|
Use this API to add servicegroup .
|
3,528
|
public static base_response delete ( nitro_service client , String servicegroupname ) throws Exception { servicegroup deleteresource = new servicegroup ( ) ; deleteresource . servicegroupname = servicegroupname ; return deleteresource . delete_resource ( client ) ; }
|
Use this API to delete servicegroup of given name .
|
3,529
|
public static base_responses delete ( nitro_service client , servicegroup resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { servicegroup deleteresources [ ] = new servicegroup [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { deleteresources [ i ] = new servicegroup ( ) ; deleteresources [ i ] . servicegroupname = resources [ i ] . servicegroupname ; } result = delete_bulk_request ( client , deleteresources ) ; } return result ; }
|
Use this API to delete servicegroup resources .
|
3,530
|
public static base_response update ( nitro_service client , servicegroup resource ) throws Exception { servicegroup updateresource = new servicegroup ( ) ; updateresource . servicegroupname = resource . servicegroupname ; updateresource . servername = resource . servername ; updateresource . port = resource . port ; updateresource . weight = resource . weight ; updateresource . customserverid = resource . customserverid ; updateresource . serverid = resource . serverid ; updateresource . hashid = resource . hashid ; updateresource . monitor_name_svc = resource . monitor_name_svc ; updateresource . dup_weight = resource . dup_weight ; updateresource . maxclient = resource . maxclient ; updateresource . maxreq = resource . maxreq ; updateresource . healthmonitor = resource . healthmonitor ; updateresource . cacheable = resource . cacheable ; updateresource . cip = resource . cip ; updateresource . cipheader = resource . cipheader ; updateresource . usip = resource . usip ; updateresource . pathmonitor = resource . pathmonitor ; updateresource . pathmonitorindv = resource . pathmonitorindv ; updateresource . useproxyport = resource . useproxyport ; updateresource . sc = resource . sc ; updateresource . sp = resource . sp ; updateresource . rtspsessionidremap = resource . rtspsessionidremap ; updateresource . clttimeout = resource . clttimeout ; updateresource . svrtimeout = resource . svrtimeout ; updateresource . cka = resource . cka ; updateresource . tcpb = resource . tcpb ; updateresource . cmp = resource . cmp ; updateresource . maxbandwidth = resource . maxbandwidth ; updateresource . monthreshold = resource . monthreshold ; updateresource . downstateflush = resource . downstateflush ; updateresource . tcpprofilename = resource . tcpprofilename ; updateresource . httpprofilename = resource . httpprofilename ; updateresource . comment = resource . comment ; updateresource . appflowlog = resource . appflowlog ; updateresource . netprofile = resource . netprofile ; return updateresource . update_resource ( client ) ; }
|
Use this API to update servicegroup .
|
3,531
|
public static base_response unset ( nitro_service client , servicegroup resource , String [ ] args ) throws Exception { servicegroup unsetresource = new servicegroup ( ) ; unsetresource . servicegroupname = resource . servicegroupname ; unsetresource . servername = resource . servername ; unsetresource . port = resource . port ; unsetresource . weight = resource . weight ; unsetresource . customserverid = resource . customserverid ; unsetresource . serverid = resource . serverid ; unsetresource . hashid = resource . hashid ; return unsetresource . unset_resource ( client , args ) ; }
|
Use this API to unset the properties of servicegroup resource . Properties that need to be unset are specified in args array .
|
3,532
|
public static base_responses unset ( nitro_service client , servicegroup resources [ ] , String [ ] args ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { servicegroup unsetresources [ ] = new servicegroup [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { unsetresources [ i ] = new servicegroup ( ) ; unsetresources [ i ] . servicegroupname = resources [ i ] . servicegroupname ; unsetresources [ i ] . servername = resources [ i ] . servername ; unsetresources [ i ] . port = resources [ i ] . port ; unsetresources [ i ] . weight = resources [ i ] . weight ; unsetresources [ i ] . customserverid = resources [ i ] . customserverid ; unsetresources [ i ] . serverid = resources [ i ] . serverid ; unsetresources [ i ] . hashid = resources [ i ] . hashid ; } result = unset_bulk_request ( client , unsetresources , args ) ; } return result ; }
|
Use this API to unset the properties of servicegroup resources . Properties that need to be unset are specified in args array .
|
3,533
|
public static base_response enable ( nitro_service client , String servicegroupname ) throws Exception { servicegroup enableresource = new servicegroup ( ) ; enableresource . servicegroupname = servicegroupname ; return enableresource . perform_operation ( client , "enable" ) ; }
|
Use this API to enable servicegroup of given name .
|
3,534
|
public static base_response enable ( nitro_service client , servicegroup resource ) throws Exception { servicegroup enableresource = new servicegroup ( ) ; enableresource . servicegroupname = resource . servicegroupname ; enableresource . servername = resource . servername ; enableresource . port = resource . port ; return enableresource . perform_operation ( client , "enable" ) ; }
|
Use this API to enable servicegroup .
|
3,535
|
public static base_responses enable ( nitro_service client , String servicegroupname [ ] ) throws Exception { base_responses result = null ; if ( servicegroupname != null && servicegroupname . length > 0 ) { servicegroup enableresources [ ] = new servicegroup [ servicegroupname . length ] ; for ( int i = 0 ; i < servicegroupname . length ; i ++ ) { enableresources [ i ] = new servicegroup ( ) ; enableresources [ i ] . servicegroupname = servicegroupname [ i ] ; } result = perform_operation_bulk_request ( client , enableresources , "enable" ) ; } return result ; }
|
Use this API to enable servicegroup resources of given names .
|
3,536
|
public static base_responses enable ( nitro_service client , servicegroup resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { servicegroup enableresources [ ] = new servicegroup [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { enableresources [ i ] = new servicegroup ( ) ; enableresources [ i ] . servicegroupname = resources [ i ] . servicegroupname ; enableresources [ i ] . servername = resources [ i ] . servername ; enableresources [ i ] . port = resources [ i ] . port ; } result = perform_operation_bulk_request ( client , enableresources , "enable" ) ; } return result ; }
|
Use this API to enable servicegroup resources .
|
3,537
|
public static base_response disable ( nitro_service client , String servicegroupname ) throws Exception { servicegroup disableresource = new servicegroup ( ) ; disableresource . servicegroupname = servicegroupname ; return disableresource . perform_operation ( client , "disable" ) ; }
|
Use this API to disable servicegroup of given name .
|
3,538
|
public static base_response disable ( nitro_service client , servicegroup resource ) throws Exception { servicegroup disableresource = new servicegroup ( ) ; disableresource . servicegroupname = resource . servicegroupname ; disableresource . servername = resource . servername ; disableresource . port = resource . port ; disableresource . delay = resource . delay ; disableresource . graceful = resource . graceful ; return disableresource . perform_operation ( client , "disable" ) ; }
|
Use this API to disable servicegroup .
|
3,539
|
public static base_responses disable ( nitro_service client , String servicegroupname [ ] ) throws Exception { base_responses result = null ; if ( servicegroupname != null && servicegroupname . length > 0 ) { servicegroup disableresources [ ] = new servicegroup [ servicegroupname . length ] ; for ( int i = 0 ; i < servicegroupname . length ; i ++ ) { disableresources [ i ] = new servicegroup ( ) ; disableresources [ i ] . servicegroupname = servicegroupname [ i ] ; } result = perform_operation_bulk_request ( client , disableresources , "disable" ) ; } return result ; }
|
Use this API to disable servicegroup resources of given names .
|
3,540
|
public static base_responses disable ( nitro_service client , servicegroup resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { servicegroup disableresources [ ] = new servicegroup [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { disableresources [ i ] = new servicegroup ( ) ; disableresources [ i ] . servicegroupname = resources [ i ] . servicegroupname ; disableresources [ i ] . servername = resources [ i ] . servername ; disableresources [ i ] . port = resources [ i ] . port ; disableresources [ i ] . delay = resources [ i ] . delay ; disableresources [ i ] . graceful = resources [ i ] . graceful ; } result = perform_operation_bulk_request ( client , disableresources , "disable" ) ; } return result ; }
|
Use this API to disable servicegroup resources .
|
3,541
|
public static base_response rename ( nitro_service client , servicegroup resource , String new_servicegroupname ) throws Exception { servicegroup renameresource = new servicegroup ( ) ; renameresource . servicegroupname = resource . servicegroupname ; return renameresource . rename_resource ( client , new_servicegroupname ) ; }
|
Use this API to rename a servicegroup resource .
|
3,542
|
public static servicegroup [ ] get ( nitro_service service ) throws Exception { servicegroup obj = new servicegroup ( ) ; servicegroup [ ] response = ( servicegroup [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch all the servicegroup resources that are configured on netscaler .
|
3,543
|
public static servicegroup [ ] get ( nitro_service service , servicegroup_args args ) throws Exception { servicegroup obj = new servicegroup ( ) ; options option = new options ( ) ; option . set_args ( nitro_util . object_to_string_withoutquotes ( args ) ) ; servicegroup [ ] response = ( servicegroup [ ] ) obj . get_resources ( service , option ) ; return response ; }
|
Use this API to fetch all the servicegroup resources that are configured on netscaler . This uses servicegroup_args which is a way to provide additional arguments while fetching the resources .
|
3,544
|
public static servicegroup get ( nitro_service service , String servicegroupname ) throws Exception { servicegroup obj = new servicegroup ( ) ; obj . set_servicegroupname ( servicegroupname ) ; servicegroup response = ( servicegroup ) obj . get_resource ( service ) ; return response ; }
|
Use this API to fetch servicegroup resource of given name .
|
3,545
|
public static base_response flush ( nitro_service client ) throws Exception { dnsproxyrecords flushresource = new dnsproxyrecords ( ) ; return flushresource . perform_operation ( client , "flush" ) ; }
|
Use this API to flush dnsproxyrecords .
|
3,546
|
public static transformpolicy_transformpolicylabel_binding [ ] get ( nitro_service service , String name ) throws Exception { transformpolicy_transformpolicylabel_binding obj = new transformpolicy_transformpolicylabel_binding ( ) ; obj . set_name ( name ) ; transformpolicy_transformpolicylabel_binding response [ ] = ( transformpolicy_transformpolicylabel_binding [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch transformpolicy_transformpolicylabel_binding resources of given name .
|
3,547
|
public static base_response update ( nitro_service client , arpparam resource ) throws Exception { arpparam updateresource = new arpparam ( ) ; updateresource . timeout = resource . timeout ; updateresource . spoofvalidation = resource . spoofvalidation ; return updateresource . update_resource ( client ) ; }
|
Use this API to update arpparam .
|
3,548
|
public static base_response unset ( nitro_service client , arpparam resource , String [ ] args ) throws Exception { arpparam unsetresource = new arpparam ( ) ; return unsetresource . unset_resource ( client , args ) ; }
|
Use this API to unset the properties of arpparam resource . Properties that need to be unset are specified in args array .
|
3,549
|
public static arpparam get ( nitro_service service ) throws Exception { arpparam obj = new arpparam ( ) ; arpparam [ ] response = ( arpparam [ ] ) obj . get_resources ( service ) ; return response [ 0 ] ; }
|
Use this API to fetch all the arpparam resources that are configured on netscaler .
|
3,550
|
public static int getInt ( Properties props , String key , int defaultValue ) { String value = props . getProperty ( key ) ; if ( value != null ) { return Integer . parseInt ( value ) ; } else { return defaultValue ; } }
|
Load an integer property . If the key is not present returns defaultValue .
|
3,551
|
public static double getDouble ( Properties props , String key , double defaultValue ) { String value = props . getProperty ( key ) ; if ( value != null ) { return Double . parseDouble ( value ) ; } else { return defaultValue ; } }
|
Load a double property . If the key is not present returns defaultValue .
|
3,552
|
public static boolean getBool ( Properties props , String key , boolean defaultValue ) { String value = props . getProperty ( key ) ; if ( value != null ) { return Boolean . parseBoolean ( value ) ; } else { return defaultValue ; } }
|
Load a boolean property . If the key is not present returns defaultValue .
|
3,553
|
public static int [ ] getIntArray ( Properties props , String key ) { Integer [ ] result = MetaClass . cast ( props . getProperty ( key ) , Integer [ ] . class ) ; return ArrayUtils . toPrimitive ( result ) ; }
|
Loads a comma - separated list of integers from Properties . The list cannot include any whitespace .
|
3,554
|
public static double [ ] getDoubleArray ( Properties props , String key ) { Double [ ] result = MetaClass . cast ( props . getProperty ( key ) , Double [ ] . class ) ; return ArrayUtils . toPrimitive ( result ) ; }
|
Loads a comma - separated list of doubles from Properties . The list cannot include any whitespace .
|
3,555
|
public static int invertedCompare ( Solution s1 , Solution s2 ) { int flag = InvertedCompareUtils . ConstraintCompare ( s1 , s2 ) ; if ( flag == 0 ) { flag = InvertedCompareUtils . ParetoObjectiveCompare ( s1 , s2 ) ; } return flag ; }
|
return 1 if s2 is better
|
3,556
|
public boolean add ( Solution solution_to_add ) { List < Solution > solutions_to_remove = new ArrayList < > ( ) ; boolean should_add = true ; for ( Solution solution : solutions ) { int flag = invertedCompare ( solution_to_add , solution ) ; if ( flag < 0 ) { solutions_to_remove . add ( solution ) ; } else if ( flag > 0 ) { should_add = false ; break ; } else if ( getDistance ( solution_to_add , solution ) < Epsilon ) { should_add = false ; break ; } } solutions . removeAll ( solutions_to_remove ) ; if ( should_add ) { return solutions . add ( solution_to_add ) ; } return should_add ; }
|
only add solution if solution is not worse than any solution in the non - dominated population
|
3,557
|
public static vpntrafficpolicy [ ] get ( nitro_service service ) throws Exception { vpntrafficpolicy obj = new vpntrafficpolicy ( ) ; vpntrafficpolicy [ ] response = ( vpntrafficpolicy [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch all the vpntrafficpolicy resources that are configured on netscaler .
|
3,558
|
public static vpntrafficpolicy get ( nitro_service service , String name ) throws Exception { vpntrafficpolicy obj = new vpntrafficpolicy ( ) ; obj . set_name ( name ) ; vpntrafficpolicy response = ( vpntrafficpolicy ) obj . get_resource ( service ) ; return response ; }
|
Use this API to fetch vpntrafficpolicy resource of given name .
|
3,559
|
public int numFeatureTokens ( ) { int x = 0 ; for ( int i = 0 , m = size ; i < m ; i ++ ) { x += data [ i ] . length ; } return x ; }
|
returns the number of feature tokens in the Dataset .
|
3,560
|
public void addAll ( Iterable < ? extends Datum < L , F > > data ) { for ( Datum < L , F > d : data ) { add ( d ) ; } }
|
Adds all Datums in the given collection of data to this dataset
|
3,561
|
public String [ ] makeSvmLabelMap ( ) { String [ ] labelMap = new String [ numClasses ( ) ] ; if ( numClasses ( ) > 2 ) { for ( int i = 0 ; i < labelMap . length ; i ++ ) { labelMap [ i ] = String . valueOf ( ( i + 1 ) ) ; } } else { labelMap = new String [ ] { "+1" , "-1" } ; } return labelMap ; }
|
Maps our labels to labels that are compatible with svm_light
|
3,562
|
public void printSVMLightFormat ( PrintWriter pw ) { String [ ] labelMap = makeSvmLabelMap ( ) ; for ( int i = 0 ; i < size ; i ++ ) { RVFDatum < L , F > d = getRVFDatum ( i ) ; Counter < F > c = d . asFeaturesCounter ( ) ; ClassicCounter < Integer > printC = new ClassicCounter < Integer > ( ) ; for ( F f : c . keySet ( ) ) { printC . setCount ( featureIndex . indexOf ( f ) , c . getCount ( f ) ) ; } Integer [ ] features = printC . keySet ( ) . toArray ( new Integer [ printC . keySet ( ) . size ( ) ] ) ; Arrays . sort ( features ) ; StringBuilder sb = new StringBuilder ( ) ; sb . append ( labelMap [ labels [ i ] ] ) . append ( ' ' ) ; for ( int f : features ) { sb . append ( ( f + 1 ) ) . append ( ':' ) . append ( printC . getCount ( f ) ) . append ( ' ' ) ; } pw . println ( sb . toString ( ) ) ; } }
|
Print SVM Light Format file .
|
3,563
|
public static tmglobal_auditnslogpolicy_binding [ ] get ( nitro_service service ) throws Exception { tmglobal_auditnslogpolicy_binding obj = new tmglobal_auditnslogpolicy_binding ( ) ; tmglobal_auditnslogpolicy_binding response [ ] = ( tmglobal_auditnslogpolicy_binding [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch a tmglobal_auditnslogpolicy_binding resources .
|
3,564
|
public static cachepolicylabel_cachepolicy_binding [ ] get ( nitro_service service , String labelname ) throws Exception { cachepolicylabel_cachepolicy_binding obj = new cachepolicylabel_cachepolicy_binding ( ) ; obj . set_labelname ( labelname ) ; cachepolicylabel_cachepolicy_binding response [ ] = ( cachepolicylabel_cachepolicy_binding [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch cachepolicylabel_cachepolicy_binding resources of given name .
|
3,565
|
public static base_response add ( nitro_service client , sslcrl resource ) throws Exception { sslcrl addresource = new sslcrl ( ) ; addresource . crlname = resource . crlname ; addresource . crlpath = resource . crlpath ; addresource . inform = resource . inform ; addresource . refresh = resource . refresh ; addresource . cacert = resource . cacert ; addresource . method = resource . method ; addresource . server = resource . server ; addresource . url = resource . url ; addresource . port = resource . port ; addresource . basedn = resource . basedn ; addresource . scope = resource . scope ; addresource . interval = resource . interval ; addresource . day = resource . day ; addresource . time = resource . time ; addresource . binddn = resource . binddn ; addresource . password = resource . password ; addresource . binary = resource . binary ; return addresource . add_resource ( client ) ; }
|
Use this API to add sslcrl .
|
3,566
|
public static base_responses add ( nitro_service client , sslcrl resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { sslcrl addresources [ ] = new sslcrl [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addresources [ i ] = new sslcrl ( ) ; addresources [ i ] . crlname = resources [ i ] . crlname ; addresources [ i ] . crlpath = resources [ i ] . crlpath ; addresources [ i ] . inform = resources [ i ] . inform ; addresources [ i ] . refresh = resources [ i ] . refresh ; addresources [ i ] . cacert = resources [ i ] . cacert ; addresources [ i ] . method = resources [ i ] . method ; addresources [ i ] . server = resources [ i ] . server ; addresources [ i ] . url = resources [ i ] . url ; addresources [ i ] . port = resources [ i ] . port ; addresources [ i ] . basedn = resources [ i ] . basedn ; addresources [ i ] . scope = resources [ i ] . scope ; addresources [ i ] . interval = resources [ i ] . interval ; addresources [ i ] . day = resources [ i ] . day ; addresources [ i ] . time = resources [ i ] . time ; addresources [ i ] . binddn = resources [ i ] . binddn ; addresources [ i ] . password = resources [ i ] . password ; addresources [ i ] . binary = resources [ i ] . binary ; } result = add_bulk_request ( client , addresources ) ; } return result ; }
|
Use this API to add sslcrl resources .
|
3,567
|
public static base_response create ( nitro_service client , sslcrl resource ) throws Exception { sslcrl createresource = new sslcrl ( ) ; createresource . cacertfile = resource . cacertfile ; createresource . cakeyfile = resource . cakeyfile ; createresource . indexfile = resource . indexfile ; createresource . revoke = resource . revoke ; createresource . gencrl = resource . gencrl ; createresource . password = resource . password ; return createresource . perform_operation ( client , "create" ) ; }
|
Use this API to create sslcrl .
|
3,568
|
public static base_responses create ( nitro_service client , sslcrl resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { sslcrl createresources [ ] = new sslcrl [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { createresources [ i ] = new sslcrl ( ) ; createresources [ i ] . cacertfile = resources [ i ] . cacertfile ; createresources [ i ] . cakeyfile = resources [ i ] . cakeyfile ; createresources [ i ] . indexfile = resources [ i ] . indexfile ; createresources [ i ] . revoke = resources [ i ] . revoke ; createresources [ i ] . gencrl = resources [ i ] . gencrl ; createresources [ i ] . password = resources [ i ] . password ; } result = perform_operation_bulk_request ( client , createresources , "create" ) ; } return result ; }
|
Use this API to create sslcrl resources .
|
3,569
|
public static base_response delete ( nitro_service client , String crlname ) throws Exception { sslcrl deleteresource = new sslcrl ( ) ; deleteresource . crlname = crlname ; return deleteresource . delete_resource ( client ) ; }
|
Use this API to delete sslcrl of given name .
|
3,570
|
public static base_responses delete ( nitro_service client , String crlname [ ] ) throws Exception { base_responses result = null ; if ( crlname != null && crlname . length > 0 ) { sslcrl deleteresources [ ] = new sslcrl [ crlname . length ] ; for ( int i = 0 ; i < crlname . length ; i ++ ) { deleteresources [ i ] = new sslcrl ( ) ; deleteresources [ i ] . crlname = crlname [ i ] ; } result = delete_bulk_request ( client , deleteresources ) ; } return result ; }
|
Use this API to delete sslcrl resources of given names .
|
3,571
|
public static base_response update ( nitro_service client , sslcrl resource ) throws Exception { sslcrl updateresource = new sslcrl ( ) ; updateresource . crlname = resource . crlname ; updateresource . refresh = resource . refresh ; updateresource . cacert = resource . cacert ; updateresource . server = resource . server ; updateresource . method = resource . method ; updateresource . url = resource . url ; updateresource . port = resource . port ; updateresource . basedn = resource . basedn ; updateresource . scope = resource . scope ; updateresource . interval = resource . interval ; updateresource . day = resource . day ; updateresource . time = resource . time ; updateresource . binddn = resource . binddn ; updateresource . password = resource . password ; updateresource . binary = resource . binary ; return updateresource . update_resource ( client ) ; }
|
Use this API to update sslcrl .
|
3,572
|
public static base_responses update ( nitro_service client , sslcrl resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { sslcrl updateresources [ ] = new sslcrl [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { updateresources [ i ] = new sslcrl ( ) ; updateresources [ i ] . crlname = resources [ i ] . crlname ; updateresources [ i ] . refresh = resources [ i ] . refresh ; updateresources [ i ] . cacert = resources [ i ] . cacert ; updateresources [ i ] . server = resources [ i ] . server ; updateresources [ i ] . method = resources [ i ] . method ; updateresources [ i ] . url = resources [ i ] . url ; updateresources [ i ] . port = resources [ i ] . port ; updateresources [ i ] . basedn = resources [ i ] . basedn ; updateresources [ i ] . scope = resources [ i ] . scope ; updateresources [ i ] . interval = resources [ i ] . interval ; updateresources [ i ] . day = resources [ i ] . day ; updateresources [ i ] . time = resources [ i ] . time ; updateresources [ i ] . binddn = resources [ i ] . binddn ; updateresources [ i ] . password = resources [ i ] . password ; updateresources [ i ] . binary = resources [ i ] . binary ; } result = update_bulk_request ( client , updateresources ) ; } return result ; }
|
Use this API to update sslcrl resources .
|
3,573
|
public static base_response unset ( nitro_service client , sslcrl resource , String [ ] args ) throws Exception { sslcrl unsetresource = new sslcrl ( ) ; unsetresource . crlname = resource . crlname ; return unsetresource . unset_resource ( client , args ) ; }
|
Use this API to unset the properties of sslcrl resource . Properties that need to be unset are specified in args array .
|
3,574
|
public static base_responses unset ( nitro_service client , String crlname [ ] , String args [ ] ) throws Exception { base_responses result = null ; if ( crlname != null && crlname . length > 0 ) { sslcrl unsetresources [ ] = new sslcrl [ crlname . length ] ; for ( int i = 0 ; i < crlname . length ; i ++ ) { unsetresources [ i ] = new sslcrl ( ) ; unsetresources [ i ] . crlname = crlname [ i ] ; } result = unset_bulk_request ( client , unsetresources , args ) ; } return result ; }
|
Use this API to unset the properties of sslcrl resources . Properties that need to be unset are specified in args array .
|
3,575
|
public static sslcrl [ ] get ( nitro_service service ) throws Exception { sslcrl obj = new sslcrl ( ) ; sslcrl [ ] response = ( sslcrl [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch all the sslcrl resources that are configured on netscaler .
|
3,576
|
public static sslcrl get ( nitro_service service , String crlname ) throws Exception { sslcrl obj = new sslcrl ( ) ; obj . set_crlname ( crlname ) ; sslcrl response = ( sslcrl ) obj . get_resource ( service ) ; return response ; }
|
Use this API to fetch sslcrl resource of given name .
|
3,577
|
public static sslcrl [ ] get ( nitro_service service , String crlname [ ] ) throws Exception { if ( crlname != null && crlname . length > 0 ) { sslcrl response [ ] = new sslcrl [ crlname . length ] ; sslcrl obj [ ] = new sslcrl [ crlname . length ] ; for ( int i = 0 ; i < crlname . length ; i ++ ) { obj [ i ] = new sslcrl ( ) ; obj [ i ] . set_crlname ( crlname [ i ] ) ; response [ i ] = ( sslcrl ) obj [ i ] . get_resource ( service ) ; } return response ; } return null ; }
|
Use this API to fetch sslcrl resources of given names .
|
3,578
|
public static base_response update ( nitro_service client , l3param resource ) throws Exception { l3param updateresource = new l3param ( ) ; updateresource . srcnat = resource . srcnat ; updateresource . icmpgenratethreshold = resource . icmpgenratethreshold ; updateresource . overridernat = resource . overridernat ; updateresource . dropdfflag = resource . dropdfflag ; updateresource . miproundrobin = resource . miproundrobin ; updateresource . externalloopback = resource . externalloopback ; updateresource . tnlpmtuwoconn = resource . tnlpmtuwoconn ; updateresource . usipserverstraypkt = resource . usipserverstraypkt ; updateresource . forwardicmpfragments = resource . forwardicmpfragments ; updateresource . dropipfragments = resource . dropipfragments ; updateresource . acllogtime = resource . acllogtime ; return updateresource . update_resource ( client ) ; }
|
Use this API to update l3param .
|
3,579
|
public static base_response unset ( nitro_service client , l3param resource , String [ ] args ) throws Exception { l3param unsetresource = new l3param ( ) ; return unsetresource . unset_resource ( client , args ) ; }
|
Use this API to unset the properties of l3param resource . Properties that need to be unset are specified in args array .
|
3,580
|
public static l3param get ( nitro_service service ) throws Exception { l3param obj = new l3param ( ) ; l3param [ ] response = ( l3param [ ] ) obj . get_resources ( service ) ; return response [ 0 ] ; }
|
Use this API to fetch all the l3param resources that are configured on netscaler .
|
3,581
|
public static responderpolicy_responderpolicylabel_binding [ ] get ( nitro_service service , String name ) throws Exception { responderpolicy_responderpolicylabel_binding obj = new responderpolicy_responderpolicylabel_binding ( ) ; obj . set_name ( name ) ; responderpolicy_responderpolicylabel_binding response [ ] = ( responderpolicy_responderpolicylabel_binding [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch responderpolicy_responderpolicylabel_binding resources of given name .
|
3,582
|
public static appflowpolicy_lbvserver_binding [ ] get ( nitro_service service , String name ) throws Exception { appflowpolicy_lbvserver_binding obj = new appflowpolicy_lbvserver_binding ( ) ; obj . set_name ( name ) ; appflowpolicy_lbvserver_binding response [ ] = ( appflowpolicy_lbvserver_binding [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch appflowpolicy_lbvserver_binding resources of given name .
|
3,583
|
public static base_response enable ( nitro_service client ) throws Exception { ntpsync enableresource = new ntpsync ( ) ; return enableresource . perform_operation ( client , "enable" ) ; }
|
Use this API to enable ntpsync .
|
3,584
|
public static base_response disable ( nitro_service client ) throws Exception { ntpsync disableresource = new ntpsync ( ) ; return disableresource . perform_operation ( client , "disable" ) ; }
|
Use this API to disable ntpsync .
|
3,585
|
public static ntpsync get ( nitro_service service ) throws Exception { ntpsync obj = new ntpsync ( ) ; ntpsync [ ] response = ( ntpsync [ ] ) obj . get_resources ( service ) ; return response [ 0 ] ; }
|
Use this API to fetch all the ntpsync resources that are configured on netscaler .
|
3,586
|
public static vlan_stats [ ] get ( nitro_service service ) throws Exception { vlan_stats obj = new vlan_stats ( ) ; vlan_stats [ ] response = ( vlan_stats [ ] ) obj . stat_resources ( service ) ; return response ; }
|
Use this API to fetch the statistics of all vlan_stats resources that are configured on netscaler .
|
3,587
|
public static vlan_stats get ( nitro_service service , Long id ) throws Exception { vlan_stats obj = new vlan_stats ( ) ; obj . set_id ( id ) ; vlan_stats response = ( vlan_stats ) obj . stat_resource ( service ) ; return response ; }
|
Use this API to fetch statistics of vlan_stats resource of given name .
|
3,588
|
protected static void checkRangeFromTo ( int from , int to , int theSize ) { if ( to == from - 1 ) return ; if ( from < 0 || from > to || to >= theSize ) throw new IndexOutOfBoundsException ( "from: " + from + ", to: " + to + ", size=" + theSize ) ; }
|
Checks if the given range is within the contained array s bounds .
|
3,589
|
public static lbvserver_authorizationpolicy_binding [ ] get ( nitro_service service , String name ) throws Exception { lbvserver_authorizationpolicy_binding obj = new lbvserver_authorizationpolicy_binding ( ) ; obj . set_name ( name ) ; lbvserver_authorizationpolicy_binding response [ ] = ( lbvserver_authorizationpolicy_binding [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch lbvserver_authorizationpolicy_binding resources of given name .
|
3,590
|
public static base_response add ( nitro_service client , vpntrafficaction resource ) throws Exception { vpntrafficaction addresource = new vpntrafficaction ( ) ; addresource . name = resource . name ; addresource . qual = resource . qual ; addresource . apptimeout = resource . apptimeout ; addresource . sso = resource . sso ; addresource . formssoaction = resource . formssoaction ; addresource . fta = resource . fta ; addresource . wanscaler = resource . wanscaler ; addresource . kcdaccount = resource . kcdaccount ; addresource . samlssoprofile = resource . samlssoprofile ; return addresource . add_resource ( client ) ; }
|
Use this API to add vpntrafficaction .
|
3,591
|
public static base_responses add ( nitro_service client , vpntrafficaction resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { vpntrafficaction addresources [ ] = new vpntrafficaction [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addresources [ i ] = new vpntrafficaction ( ) ; addresources [ i ] . name = resources [ i ] . name ; addresources [ i ] . qual = resources [ i ] . qual ; addresources [ i ] . apptimeout = resources [ i ] . apptimeout ; addresources [ i ] . sso = resources [ i ] . sso ; addresources [ i ] . formssoaction = resources [ i ] . formssoaction ; addresources [ i ] . fta = resources [ i ] . fta ; addresources [ i ] . wanscaler = resources [ i ] . wanscaler ; addresources [ i ] . kcdaccount = resources [ i ] . kcdaccount ; addresources [ i ] . samlssoprofile = resources [ i ] . samlssoprofile ; } result = add_bulk_request ( client , addresources ) ; } return result ; }
|
Use this API to add vpntrafficaction resources .
|
3,592
|
public static base_response update ( nitro_service client , vpntrafficaction resource ) throws Exception { vpntrafficaction updateresource = new vpntrafficaction ( ) ; updateresource . name = resource . name ; updateresource . apptimeout = resource . apptimeout ; updateresource . sso = resource . sso ; updateresource . formssoaction = resource . formssoaction ; updateresource . fta = resource . fta ; updateresource . wanscaler = resource . wanscaler ; updateresource . kcdaccount = resource . kcdaccount ; updateresource . samlssoprofile = resource . samlssoprofile ; return updateresource . update_resource ( client ) ; }
|
Use this API to update vpntrafficaction .
|
3,593
|
public static base_responses update ( nitro_service client , vpntrafficaction resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { vpntrafficaction updateresources [ ] = new vpntrafficaction [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { updateresources [ i ] = new vpntrafficaction ( ) ; updateresources [ i ] . name = resources [ i ] . name ; updateresources [ i ] . apptimeout = resources [ i ] . apptimeout ; updateresources [ i ] . sso = resources [ i ] . sso ; updateresources [ i ] . formssoaction = resources [ i ] . formssoaction ; updateresources [ i ] . fta = resources [ i ] . fta ; updateresources [ i ] . wanscaler = resources [ i ] . wanscaler ; updateresources [ i ] . kcdaccount = resources [ i ] . kcdaccount ; updateresources [ i ] . samlssoprofile = resources [ i ] . samlssoprofile ; } result = update_bulk_request ( client , updateresources ) ; } return result ; }
|
Use this API to update vpntrafficaction resources .
|
3,594
|
public static vpntrafficaction [ ] get ( nitro_service service ) throws Exception { vpntrafficaction obj = new vpntrafficaction ( ) ; vpntrafficaction [ ] response = ( vpntrafficaction [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch all the vpntrafficaction resources that are configured on netscaler .
|
3,595
|
public static vpntrafficaction get ( nitro_service service , String name ) throws Exception { vpntrafficaction obj = new vpntrafficaction ( ) ; obj . set_name ( name ) ; vpntrafficaction response = ( vpntrafficaction ) obj . get_resource ( service ) ; return response ; }
|
Use this API to fetch vpntrafficaction resource of given name .
|
3,596
|
public static tmtrafficpolicy [ ] get ( nitro_service service , options option ) throws Exception { tmtrafficpolicy obj = new tmtrafficpolicy ( ) ; tmtrafficpolicy [ ] response = ( tmtrafficpolicy [ ] ) obj . get_resources ( service , option ) ; return response ; }
|
Use this API to fetch all the tmtrafficpolicy resources that are configured on netscaler .
|
3,597
|
public static tmtrafficpolicy get ( nitro_service service , String name ) throws Exception { tmtrafficpolicy obj = new tmtrafficpolicy ( ) ; obj . set_name ( name ) ; tmtrafficpolicy response = ( tmtrafficpolicy ) obj . get_resource ( service ) ; return response ; }
|
Use this API to fetch tmtrafficpolicy resource of given name .
|
3,598
|
public static aaagroup_tmsessionpolicy_binding [ ] get ( nitro_service service , String groupname ) throws Exception { aaagroup_tmsessionpolicy_binding obj = new aaagroup_tmsessionpolicy_binding ( ) ; obj . set_groupname ( groupname ) ; aaagroup_tmsessionpolicy_binding response [ ] = ( aaagroup_tmsessionpolicy_binding [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch aaagroup_tmsessionpolicy_binding resources of given name .
|
3,599
|
public static sslcrl_binding get ( nitro_service service , String crlname ) throws Exception { sslcrl_binding obj = new sslcrl_binding ( ) ; obj . set_crlname ( crlname ) ; sslcrl_binding response = ( sslcrl_binding ) obj . get_resource ( service ) ; return response ; }
|
Use this API to fetch sslcrl_binding resource of given name .
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.