idx
int64 0
165k
| question
stringlengths 73
5.81k
| target
stringlengths 5
918
|
|---|---|---|
4,100
|
public static base_responses add ( nitro_service client , streamidentifier resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { streamidentifier addresources [ ] = new streamidentifier [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addresources [ i ] = new streamidentifier ( ) ; addresources [ i ] . name = resources [ i ] . name ; addresources [ i ] . selectorname = resources [ i ] . selectorname ; addresources [ i ] . interval = resources [ i ] . interval ; addresources [ i ] . samplecount = resources [ i ] . samplecount ; addresources [ i ] . sort = resources [ i ] . sort ; } result = add_bulk_request ( client , addresources ) ; } return result ; }
|
Use this API to add streamidentifier resources .
|
4,101
|
public static base_response update ( nitro_service client , streamidentifier resource ) throws Exception { streamidentifier updateresource = new streamidentifier ( ) ; updateresource . name = resource . name ; updateresource . selectorname = resource . selectorname ; updateresource . interval = resource . interval ; updateresource . samplecount = resource . samplecount ; updateresource . sort = resource . sort ; return updateresource . update_resource ( client ) ; }
|
Use this API to update streamidentifier .
|
4,102
|
public static base_responses update ( nitro_service client , streamidentifier resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { streamidentifier updateresources [ ] = new streamidentifier [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { updateresources [ i ] = new streamidentifier ( ) ; updateresources [ i ] . name = resources [ i ] . name ; updateresources [ i ] . selectorname = resources [ i ] . selectorname ; updateresources [ i ] . interval = resources [ i ] . interval ; updateresources [ i ] . samplecount = resources [ i ] . samplecount ; updateresources [ i ] . sort = resources [ i ] . sort ; } result = update_bulk_request ( client , updateresources ) ; } return result ; }
|
Use this API to update streamidentifier resources .
|
4,103
|
public static streamidentifier [ ] get ( nitro_service service ) throws Exception { streamidentifier obj = new streamidentifier ( ) ; streamidentifier [ ] response = ( streamidentifier [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch all the streamidentifier resources that are configured on netscaler .
|
4,104
|
public static streamidentifier get ( nitro_service service , String name ) throws Exception { streamidentifier obj = new streamidentifier ( ) ; obj . set_name ( name ) ; streamidentifier response = ( streamidentifier ) obj . get_resource ( service ) ; return response ; }
|
Use this API to fetch streamidentifier resource of given name .
|
4,105
|
public static streamidentifier [ ] get_filtered ( nitro_service service , filtervalue [ ] filter ) throws Exception { streamidentifier obj = new streamidentifier ( ) ; options option = new options ( ) ; option . set_filter ( filter ) ; streamidentifier [ ] response = ( streamidentifier [ ] ) obj . getfiltered ( service , option ) ; return response ; }
|
Use this API to fetch filtered set of streamidentifier resources . set the filter parameter values in filtervalue object .
|
4,106
|
@ SuppressWarnings ( { "InfiniteLoopStatement" , "ConstantConditions" , "null" } ) public void run ( ) { Socket client = null ; while ( true ) { try { client = listener . accept ( ) ; if ( DEBUG ) { System . err . print ( "Accepted request from " ) ; System . err . println ( client . getInetAddress ( ) . getHostName ( ) ) ; } new Session ( client ) ; } catch ( Exception e1 ) { System . err . println ( "NERServer: couldn't accept" ) ; e1 . printStackTrace ( System . err ) ; try { client . close ( ) ; } catch ( Exception e2 ) { System . err . println ( "NERServer: couldn't close client" ) ; e2 . printStackTrace ( System . err ) ; } } } }
|
Runs this named entity recognizer server .
|
4,107
|
public static nat64_stats get ( nitro_service service ) throws Exception { nat64_stats obj = new nat64_stats ( ) ; nat64_stats [ ] response = ( nat64_stats [ ] ) obj . stat_resources ( service ) ; return response [ 0 ] ; }
|
Use this API to fetch the statistics of all nat64_stats resources that are configured on netscaler .
|
4,108
|
public static csvserver_transformpolicy_binding [ ] get ( nitro_service service , String name ) throws Exception { csvserver_transformpolicy_binding obj = new csvserver_transformpolicy_binding ( ) ; obj . set_name ( name ) ; csvserver_transformpolicy_binding response [ ] = ( csvserver_transformpolicy_binding [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch csvserver_transformpolicy_binding resources of given name .
|
4,109
|
public static appfwprofile_xmlsqlinjection_binding [ ] get ( nitro_service service , String name ) throws Exception { appfwprofile_xmlsqlinjection_binding obj = new appfwprofile_xmlsqlinjection_binding ( ) ; obj . set_name ( name ) ; appfwprofile_xmlsqlinjection_binding response [ ] = ( appfwprofile_xmlsqlinjection_binding [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch appfwprofile_xmlsqlinjection_binding resources of given name .
|
4,110
|
public E removeFirst ( ) { E first = getFirst ( ) ; swap ( 0 , size - 1 ) ; size -- ; elements . remove ( size ) ; heapifyDown ( 0 ) ; return first ; }
|
Returns the highest - priority element and removes it from the queue .
|
4,111
|
public static base_response add ( nitro_service client , pqpolicy resource ) throws Exception { pqpolicy addresource = new pqpolicy ( ) ; addresource . policyname = resource . policyname ; addresource . rule = resource . rule ; addresource . priority = resource . priority ; addresource . weight = resource . weight ; addresource . qdepth = resource . qdepth ; addresource . polqdepth = resource . polqdepth ; return addresource . add_resource ( client ) ; }
|
Use this API to add pqpolicy .
|
4,112
|
public static base_responses add ( nitro_service client , pqpolicy resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { pqpolicy addresources [ ] = new pqpolicy [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addresources [ i ] = new pqpolicy ( ) ; addresources [ i ] . policyname = resources [ i ] . policyname ; addresources [ i ] . rule = resources [ i ] . rule ; addresources [ i ] . priority = resources [ i ] . priority ; addresources [ i ] . weight = resources [ i ] . weight ; addresources [ i ] . qdepth = resources [ i ] . qdepth ; addresources [ i ] . polqdepth = resources [ i ] . polqdepth ; } result = add_bulk_request ( client , addresources ) ; } return result ; }
|
Use this API to add pqpolicy resources .
|
4,113
|
public static base_response update ( nitro_service client , pqpolicy resource ) throws Exception { pqpolicy updateresource = new pqpolicy ( ) ; updateresource . policyname = resource . policyname ; updateresource . weight = resource . weight ; updateresource . qdepth = resource . qdepth ; updateresource . polqdepth = resource . polqdepth ; return updateresource . update_resource ( client ) ; }
|
Use this API to update pqpolicy .
|
4,114
|
public static base_responses update ( nitro_service client , pqpolicy resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { pqpolicy updateresources [ ] = new pqpolicy [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { updateresources [ i ] = new pqpolicy ( ) ; updateresources [ i ] . policyname = resources [ i ] . policyname ; updateresources [ i ] . weight = resources [ i ] . weight ; updateresources [ i ] . qdepth = resources [ i ] . qdepth ; updateresources [ i ] . polqdepth = resources [ i ] . polqdepth ; } result = update_bulk_request ( client , updateresources ) ; } return result ; }
|
Use this API to update pqpolicy resources .
|
4,115
|
public static base_response unset ( nitro_service client , pqpolicy resource , String [ ] args ) throws Exception { pqpolicy unsetresource = new pqpolicy ( ) ; unsetresource . policyname = resource . policyname ; return unsetresource . unset_resource ( client , args ) ; }
|
Use this API to unset the properties of pqpolicy resource . Properties that need to be unset are specified in args array .
|
4,116
|
public static pqpolicy [ ] get ( nitro_service service ) throws Exception { pqpolicy obj = new pqpolicy ( ) ; pqpolicy [ ] response = ( pqpolicy [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch all the pqpolicy resources that are configured on netscaler .
|
4,117
|
public static pqpolicy get ( nitro_service service , String policyname ) throws Exception { pqpolicy obj = new pqpolicy ( ) ; obj . set_policyname ( policyname ) ; pqpolicy response = ( pqpolicy ) obj . get_resource ( service ) ; return response ; }
|
Use this API to fetch pqpolicy resource of given name .
|
4,118
|
public static lbmonbindings_binding get ( nitro_service service , String monitorname ) throws Exception { lbmonbindings_binding obj = new lbmonbindings_binding ( ) ; obj . set_monitorname ( monitorname ) ; lbmonbindings_binding response = ( lbmonbindings_binding ) obj . get_resource ( service ) ; return response ; }
|
Use this API to fetch lbmonbindings_binding resource of given name .
|
4,119
|
public static transformpolicy_transformglobal_binding [ ] get ( nitro_service service , String name ) throws Exception { transformpolicy_transformglobal_binding obj = new transformpolicy_transformglobal_binding ( ) ; obj . set_name ( name ) ; transformpolicy_transformglobal_binding response [ ] = ( transformpolicy_transformglobal_binding [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch transformpolicy_transformglobal_binding resources of given name .
|
4,120
|
public static tunnelip6_stats [ ] get ( nitro_service service ) throws Exception { tunnelip6_stats obj = new tunnelip6_stats ( ) ; tunnelip6_stats [ ] response = ( tunnelip6_stats [ ] ) obj . stat_resources ( service ) ; return response ; }
|
Use this API to fetch the statistics of all tunnelip6_stats resources that are configured on netscaler .
|
4,121
|
public static tunnelip6_stats get ( nitro_service service , String tunnelip6 ) throws Exception { tunnelip6_stats obj = new tunnelip6_stats ( ) ; obj . set_tunnelip6 ( tunnelip6 ) ; tunnelip6_stats response = ( tunnelip6_stats ) obj . stat_resource ( service ) ; return response ; }
|
Use this API to fetch statistics of tunnelip6_stats resource of given name .
|
4,122
|
public AuxiliaryTree copy ( TsurgeonPattern p ) { Map < String , Tree > newNamesToNodes = new HashMap < String , Tree > ( ) ; Pair < Tree , Tree > result = copyHelper ( tree , newNamesToNodes ) ; p . root . newNodeNames . putAll ( newNamesToNodes ) ; return new AuxiliaryTree ( result . first ( ) , result . second ( ) , newNamesToNodes , originalTreeString ) ; }
|
Copies the Auxiliary tree . Also puts the new names - > nodes map in the TsurgeonPattern that called copy .
|
4,123
|
private static Tree findFootNode ( Tree t ) { Tree footNode = findFootNodeHelper ( t ) ; Tree result = footNode ; if ( footNode != null ) { Tree parent = footNode . parent ( t ) ; int i = parent . indexOf ( footNode ) ; Tree newFootNode = footNode . treeFactory ( ) . newTreeNode ( footNode . label ( ) , new ArrayList < Tree > ( ) ) ; parent . setChild ( i , newFootNode ) ; result = newFootNode ; } return result ; }
|
Returns the foot node of the adjunction tree which is the terminal node that ends in
|
4,124
|
private void initializeNamesNodesMaps ( Tree t ) { for ( Tree node : t . subTreeList ( ) ) { Matcher m = namePattern . matcher ( node . label ( ) . value ( ) ) ; if ( m . find ( ) ) { namesToNodes . put ( m . group ( 1 ) , node ) ; nodesToNames . put ( node , m . group ( 1 ) ) ; node . label ( ) . setValue ( m . replaceFirst ( "" ) ) ; } Matcher m1 = escapedNameChar . matcher ( node . label ( ) . value ( ) ) ; node . label ( ) . setValue ( m1 . replaceAll ( nameIntroducingChar ) ) ; } }
|
Looks for new names destructively strips them out . Destructively unescapes escaped = too .
|
4,125
|
public static base_response add ( nitro_service client , dnsmxrec resource ) throws Exception { dnsmxrec addresource = new dnsmxrec ( ) ; addresource . domain = resource . domain ; addresource . mx = resource . mx ; addresource . pref = resource . pref ; addresource . ttl = resource . ttl ; return addresource . add_resource ( client ) ; }
|
Use this API to add dnsmxrec .
|
4,126
|
public static base_responses add ( nitro_service client , dnsmxrec resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { dnsmxrec addresources [ ] = new dnsmxrec [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addresources [ i ] = new dnsmxrec ( ) ; addresources [ i ] . domain = resources [ i ] . domain ; addresources [ i ] . mx = resources [ i ] . mx ; addresources [ i ] . pref = resources [ i ] . pref ; addresources [ i ] . ttl = resources [ i ] . ttl ; } result = add_bulk_request ( client , addresources ) ; } return result ; }
|
Use this API to add dnsmxrec resources .
|
4,127
|
public static base_response delete ( nitro_service client , dnsmxrec resource ) throws Exception { dnsmxrec deleteresource = new dnsmxrec ( ) ; deleteresource . domain = resource . domain ; deleteresource . mx = resource . mx ; return deleteresource . delete_resource ( client ) ; }
|
Use this API to delete dnsmxrec .
|
4,128
|
public static base_response update ( nitro_service client , dnsmxrec resource ) throws Exception { dnsmxrec updateresource = new dnsmxrec ( ) ; updateresource . domain = resource . domain ; updateresource . mx = resource . mx ; updateresource . pref = resource . pref ; updateresource . ttl = resource . ttl ; return updateresource . update_resource ( client ) ; }
|
Use this API to update dnsmxrec .
|
4,129
|
public static base_responses update ( nitro_service client , dnsmxrec resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { dnsmxrec updateresources [ ] = new dnsmxrec [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { updateresources [ i ] = new dnsmxrec ( ) ; updateresources [ i ] . domain = resources [ i ] . domain ; updateresources [ i ] . mx = resources [ i ] . mx ; updateresources [ i ] . pref = resources [ i ] . pref ; updateresources [ i ] . ttl = resources [ i ] . ttl ; } result = update_bulk_request ( client , updateresources ) ; } return result ; }
|
Use this API to update dnsmxrec resources .
|
4,130
|
public static base_response unset ( nitro_service client , dnsmxrec resource , String [ ] args ) throws Exception { dnsmxrec unsetresource = new dnsmxrec ( ) ; unsetresource . domain = resource . domain ; unsetresource . mx = resource . mx ; return unsetresource . unset_resource ( client , args ) ; }
|
Use this API to unset the properties of dnsmxrec resource . Properties that need to be unset are specified in args array .
|
4,131
|
public static dnsmxrec [ ] get ( nitro_service service , options option ) throws Exception { dnsmxrec obj = new dnsmxrec ( ) ; dnsmxrec [ ] response = ( dnsmxrec [ ] ) obj . get_resources ( service , option ) ; return response ; }
|
Use this API to fetch all the dnsmxrec resources that are configured on netscaler .
|
4,132
|
public static dnsmxrec [ ] get ( nitro_service service , dnsmxrec_args args ) throws Exception { dnsmxrec obj = new dnsmxrec ( ) ; options option = new options ( ) ; option . set_args ( nitro_util . object_to_string_withoutquotes ( args ) ) ; dnsmxrec [ ] response = ( dnsmxrec [ ] ) obj . get_resources ( service , option ) ; return response ; }
|
Use this API to fetch all the dnsmxrec resources that are configured on netscaler . This uses dnsmxrec_args which is a way to provide additional arguments while fetching the resources .
|
4,133
|
public static dnsmxrec get ( nitro_service service , String domain ) throws Exception { dnsmxrec obj = new dnsmxrec ( ) ; obj . set_domain ( domain ) ; dnsmxrec response = ( dnsmxrec ) obj . get_resource ( service ) ; return response ; }
|
Use this API to fetch dnsmxrec resource of given name .
|
4,134
|
public static base_response add ( nitro_service client , nstrafficdomain resource ) throws Exception { nstrafficdomain addresource = new nstrafficdomain ( ) ; addresource . td = resource . td ; addresource . aliasname = resource . aliasname ; return addresource . add_resource ( client ) ; }
|
Use this API to add nstrafficdomain .
|
4,135
|
public static base_responses add ( nitro_service client , nstrafficdomain resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { nstrafficdomain addresources [ ] = new nstrafficdomain [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addresources [ i ] = new nstrafficdomain ( ) ; addresources [ i ] . td = resources [ i ] . td ; addresources [ i ] . aliasname = resources [ i ] . aliasname ; } result = add_bulk_request ( client , addresources ) ; } return result ; }
|
Use this API to add nstrafficdomain resources .
|
4,136
|
public static base_response delete ( nitro_service client , Long td ) throws Exception { nstrafficdomain deleteresource = new nstrafficdomain ( ) ; deleteresource . td = td ; return deleteresource . delete_resource ( client ) ; }
|
Use this API to delete nstrafficdomain of given name .
|
4,137
|
public static base_response clear ( nitro_service client , nstrafficdomain resource ) throws Exception { nstrafficdomain clearresource = new nstrafficdomain ( ) ; clearresource . td = resource . td ; return clearresource . perform_operation ( client , "clear" ) ; }
|
Use this API to clear nstrafficdomain .
|
4,138
|
public static base_responses clear ( nitro_service client , nstrafficdomain resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { nstrafficdomain clearresources [ ] = new nstrafficdomain [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { clearresources [ i ] = new nstrafficdomain ( ) ; clearresources [ i ] . td = resources [ i ] . td ; } result = perform_operation_bulk_request ( client , clearresources , "clear" ) ; } return result ; }
|
Use this API to clear nstrafficdomain resources .
|
4,139
|
public static base_response enable ( nitro_service client , Long td ) throws Exception { nstrafficdomain enableresource = new nstrafficdomain ( ) ; enableresource . td = td ; return enableresource . perform_operation ( client , "enable" ) ; }
|
Use this API to enable nstrafficdomain of given name .
|
4,140
|
public static base_response enable ( nitro_service client , nstrafficdomain resource ) throws Exception { nstrafficdomain enableresource = new nstrafficdomain ( ) ; enableresource . td = resource . td ; enableresource . state = resource . state ; return enableresource . perform_operation ( client , "enable" ) ; }
|
Use this API to enable nstrafficdomain .
|
4,141
|
public static base_responses enable ( nitro_service client , Long td [ ] ) throws Exception { base_responses result = null ; if ( td != null && td . length > 0 ) { nstrafficdomain enableresources [ ] = new nstrafficdomain [ td . length ] ; for ( int i = 0 ; i < td . length ; i ++ ) { enableresources [ i ] = new nstrafficdomain ( ) ; enableresources [ i ] . td = td [ i ] ; } result = perform_operation_bulk_request ( client , enableresources , "enable" ) ; } return result ; }
|
Use this API to enable nstrafficdomain resources of given names .
|
4,142
|
public static base_responses enable ( nitro_service client , nstrafficdomain resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { nstrafficdomain enableresources [ ] = new nstrafficdomain [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { enableresources [ i ] = new nstrafficdomain ( ) ; enableresources [ i ] . td = resources [ i ] . td ; enableresources [ i ] . state = resources [ i ] . state ; } result = perform_operation_bulk_request ( client , enableresources , "enable" ) ; } return result ; }
|
Use this API to enable nstrafficdomain resources .
|
4,143
|
public static base_response disable ( nitro_service client , Long td ) throws Exception { nstrafficdomain disableresource = new nstrafficdomain ( ) ; disableresource . td = td ; return disableresource . perform_operation ( client , "disable" ) ; }
|
Use this API to disable nstrafficdomain of given name .
|
4,144
|
public static base_response disable ( nitro_service client , nstrafficdomain resource ) throws Exception { nstrafficdomain disableresource = new nstrafficdomain ( ) ; disableresource . td = resource . td ; disableresource . state = resource . state ; return disableresource . perform_operation ( client , "disable" ) ; }
|
Use this API to disable nstrafficdomain .
|
4,145
|
public static base_responses disable ( nitro_service client , Long td [ ] ) throws Exception { base_responses result = null ; if ( td != null && td . length > 0 ) { nstrafficdomain disableresources [ ] = new nstrafficdomain [ td . length ] ; for ( int i = 0 ; i < td . length ; i ++ ) { disableresources [ i ] = new nstrafficdomain ( ) ; disableresources [ i ] . td = td [ i ] ; } result = perform_operation_bulk_request ( client , disableresources , "disable" ) ; } return result ; }
|
Use this API to disable nstrafficdomain resources of given names .
|
4,146
|
public static base_responses disable ( nitro_service client , nstrafficdomain resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { nstrafficdomain disableresources [ ] = new nstrafficdomain [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { disableresources [ i ] = new nstrafficdomain ( ) ; disableresources [ i ] . td = resources [ i ] . td ; disableresources [ i ] . state = resources [ i ] . state ; } result = perform_operation_bulk_request ( client , disableresources , "disable" ) ; } return result ; }
|
Use this API to disable nstrafficdomain resources .
|
4,147
|
public static nstrafficdomain [ ] get ( nitro_service service ) throws Exception { nstrafficdomain obj = new nstrafficdomain ( ) ; nstrafficdomain [ ] response = ( nstrafficdomain [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch all the nstrafficdomain resources that are configured on netscaler .
|
4,148
|
public static nstrafficdomain get ( nitro_service service , Long td ) throws Exception { nstrafficdomain obj = new nstrafficdomain ( ) ; obj . set_td ( td ) ; nstrafficdomain response = ( nstrafficdomain ) obj . get_resource ( service ) ; return response ; }
|
Use this API to fetch nstrafficdomain resource of given name .
|
4,149
|
public static vpnglobal_auditsyslogpolicy_binding [ ] get ( nitro_service service ) throws Exception { vpnglobal_auditsyslogpolicy_binding obj = new vpnglobal_auditsyslogpolicy_binding ( ) ; vpnglobal_auditsyslogpolicy_binding response [ ] = ( vpnglobal_auditsyslogpolicy_binding [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch a vpnglobal_auditsyslogpolicy_binding resources .
|
4,150
|
public static nssavedconfig get ( nitro_service service ) throws Exception { nssavedconfig obj = new nssavedconfig ( ) ; nssavedconfig [ ] response = ( nssavedconfig [ ] ) obj . get_resources ( service ) ; return response [ 0 ] ; }
|
Use this API to fetch all the nssavedconfig resources that are configured on netscaler .
|
4,151
|
public static transformpolicy_stats [ ] get ( nitro_service service ) throws Exception { transformpolicy_stats obj = new transformpolicy_stats ( ) ; transformpolicy_stats [ ] response = ( transformpolicy_stats [ ] ) obj . stat_resources ( service ) ; return response ; }
|
Use this API to fetch the statistics of all transformpolicy_stats resources that are configured on netscaler .
|
4,152
|
public static transformpolicy_stats get ( nitro_service service , String name ) throws Exception { transformpolicy_stats obj = new transformpolicy_stats ( ) ; obj . set_name ( name ) ; transformpolicy_stats response = ( transformpolicy_stats ) obj . stat_resource ( service ) ; return response ; }
|
Use this API to fetch statistics of transformpolicy_stats resource of given name .
|
4,153
|
public static csvserver_appfwpolicy_binding [ ] get ( nitro_service service , String name ) throws Exception { csvserver_appfwpolicy_binding obj = new csvserver_appfwpolicy_binding ( ) ; obj . set_name ( name ) ; csvserver_appfwpolicy_binding response [ ] = ( csvserver_appfwpolicy_binding [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch csvserver_appfwpolicy_binding resources of given name .
|
4,154
|
protected void setUp ( int initialCapacity , double minLoadFactor , double maxLoadFactor ) { if ( initialCapacity < 0 ) throw new IllegalArgumentException ( "Initial Capacity must not be less than zero: " + initialCapacity ) ; if ( minLoadFactor < 0.0 || minLoadFactor >= 1.0 ) throw new IllegalArgumentException ( "Illegal minLoadFactor: " + minLoadFactor ) ; if ( maxLoadFactor <= 0.0 || maxLoadFactor >= 1.0 ) throw new IllegalArgumentException ( "Illegal maxLoadFactor: " + maxLoadFactor ) ; if ( minLoadFactor >= maxLoadFactor ) throw new IllegalArgumentException ( "Illegal minLoadFactor: " + minLoadFactor + " and maxLoadFactor: " + maxLoadFactor ) ; }
|
Initializes the receiver . You will almost certainly need to override this method in subclasses to initialize the hash table .
|
4,155
|
public static vrid6_nsip_binding [ ] get ( nitro_service service , Long id ) throws Exception { vrid6_nsip_binding obj = new vrid6_nsip_binding ( ) ; obj . set_id ( id ) ; vrid6_nsip_binding response [ ] = ( vrid6_nsip_binding [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch vrid6_nsip_binding resources of given name .
|
4,156
|
public static cmppolicy_binding get ( nitro_service service , String name ) throws Exception { cmppolicy_binding obj = new cmppolicy_binding ( ) ; obj . set_name ( name ) ; cmppolicy_binding response = ( cmppolicy_binding ) obj . get_resource ( service ) ; return response ; }
|
Use this API to fetch cmppolicy_binding resource of given name .
|
4,157
|
public static tunneltrafficpolicy_tunnelglobal_binding [ ] get ( nitro_service service , String name ) throws Exception { tunneltrafficpolicy_tunnelglobal_binding obj = new tunneltrafficpolicy_tunnelglobal_binding ( ) ; obj . set_name ( name ) ; tunneltrafficpolicy_tunnelglobal_binding response [ ] = ( tunneltrafficpolicy_tunnelglobal_binding [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch tunneltrafficpolicy_tunnelglobal_binding resources of given name .
|
4,158
|
public static base_response update ( nitro_service client , scparameter resource ) throws Exception { scparameter updateresource = new scparameter ( ) ; updateresource . sessionlife = resource . sessionlife ; updateresource . vsr = resource . vsr ; return updateresource . update_resource ( client ) ; }
|
Use this API to update scparameter .
|
4,159
|
public static base_response unset ( nitro_service client , scparameter resource , String [ ] args ) throws Exception { scparameter unsetresource = new scparameter ( ) ; return unsetresource . unset_resource ( client , args ) ; }
|
Use this API to unset the properties of scparameter resource . Properties that need to be unset are specified in args array .
|
4,160
|
public static scparameter get ( nitro_service service , options option ) throws Exception { scparameter obj = new scparameter ( ) ; scparameter [ ] response = ( scparameter [ ] ) obj . get_resources ( service , option ) ; return response [ 0 ] ; }
|
Use this API to fetch all the scparameter resources that are configured on netscaler .
|
4,161
|
public static sslservice_sslciphersuite_binding [ ] get ( nitro_service service , String servicename ) throws Exception { sslservice_sslciphersuite_binding obj = new sslservice_sslciphersuite_binding ( ) ; obj . set_servicename ( servicename ) ; sslservice_sslciphersuite_binding response [ ] = ( sslservice_sslciphersuite_binding [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch sslservice_sslciphersuite_binding resources of given name .
|
4,162
|
public static long count ( nitro_service service , String servicename ) throws Exception { sslservice_sslciphersuite_binding obj = new sslservice_sslciphersuite_binding ( ) ; obj . set_servicename ( servicename ) ; options option = new options ( ) ; option . set_count ( true ) ; sslservice_sslciphersuite_binding response [ ] = ( sslservice_sslciphersuite_binding [ ] ) obj . get_resources ( service , option ) ; if ( response != null ) { return response [ 0 ] . __count ; } return 0 ; }
|
Use this API to count sslservice_sslciphersuite_binding resources configued on NetScaler .
|
4,163
|
public static vrid_binding get ( nitro_service service , Long id ) throws Exception { vrid_binding obj = new vrid_binding ( ) ; obj . set_id ( id ) ; vrid_binding response = ( vrid_binding ) obj . get_resource ( service ) ; return response ; }
|
Use this API to fetch vrid_binding resource of given name .
|
4,164
|
private String getFieldType ( IndexSchema schema , String field ) throws IOException { SchemaField sf = schema . getField ( field ) ; FieldType ft = sf . getType ( ) ; if ( ft != null ) { if ( ft . isPointField ( ) && ! sf . hasDocValues ( ) ) { return ComponentFacet . TYPE_POINTFIELD_WITHOUT_DOCVALUES ; } NumberType nt = ft . getNumberType ( ) ; if ( nt != null ) { return nt . name ( ) ; } else { return ComponentFacet . TYPE_STRING ; } } else { return ComponentFacet . TYPE_STRING ; } }
|
Gets the field type .
|
4,165
|
public static appfw_stats get ( nitro_service service ) throws Exception { appfw_stats obj = new appfw_stats ( ) ; appfw_stats [ ] response = ( appfw_stats [ ] ) obj . stat_resources ( service ) ; return response [ 0 ] ; }
|
Use this API to fetch the statistics of all appfw_stats resources that are configured on netscaler .
|
4,166
|
public static appfwtransactionrecords [ ] get ( nitro_service service ) throws Exception { appfwtransactionrecords obj = new appfwtransactionrecords ( ) ; appfwtransactionrecords [ ] response = ( appfwtransactionrecords [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch all the appfwtransactionrecords resources that are configured on netscaler .
|
4,167
|
public static dnszone_binding get ( nitro_service service , String zonename ) throws Exception { dnszone_binding obj = new dnszone_binding ( ) ; obj . set_zonename ( zonename ) ; dnszone_binding response = ( dnszone_binding ) obj . get_resource ( service ) ; return response ; }
|
Use this API to fetch dnszone_binding resource of given name .
|
4,168
|
public static dnszone_binding [ ] get ( nitro_service service , String zonename [ ] ) throws Exception { if ( zonename != null && zonename . length > 0 ) { dnszone_binding response [ ] = new dnszone_binding [ zonename . length ] ; dnszone_binding obj [ ] = new dnszone_binding [ zonename . length ] ; for ( int i = 0 ; i < zonename . length ; i ++ ) { obj [ i ] = new dnszone_binding ( ) ; obj [ i ] . set_zonename ( zonename [ i ] ) ; response [ i ] = ( dnszone_binding ) obj [ i ] . get_resource ( service ) ; } return response ; } return null ; }
|
Use this API to fetch dnszone_binding resources of given names .
|
4,169
|
public static base_response add ( nitro_service client , nssimpleacl6 resource ) throws Exception { nssimpleacl6 addresource = new nssimpleacl6 ( ) ; addresource . aclname = resource . aclname ; addresource . td = resource . td ; addresource . aclaction = resource . aclaction ; addresource . srcipv6 = resource . srcipv6 ; addresource . destport = resource . destport ; addresource . protocol = resource . protocol ; addresource . ttl = resource . ttl ; return addresource . add_resource ( client ) ; }
|
Use this API to add nssimpleacl6 .
|
4,170
|
public static base_responses add ( nitro_service client , nssimpleacl6 resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { nssimpleacl6 addresources [ ] = new nssimpleacl6 [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addresources [ i ] = new nssimpleacl6 ( ) ; addresources [ i ] . aclname = resources [ i ] . aclname ; addresources [ i ] . td = resources [ i ] . td ; addresources [ i ] . aclaction = resources [ i ] . aclaction ; addresources [ i ] . srcipv6 = resources [ i ] . srcipv6 ; addresources [ i ] . destport = resources [ i ] . destport ; addresources [ i ] . protocol = resources [ i ] . protocol ; addresources [ i ] . ttl = resources [ i ] . ttl ; } result = add_bulk_request ( client , addresources ) ; } return result ; }
|
Use this API to add nssimpleacl6 resources .
|
4,171
|
public static base_response clear ( nitro_service client ) throws Exception { nssimpleacl6 clearresource = new nssimpleacl6 ( ) ; return clearresource . perform_operation ( client , "clear" ) ; }
|
Use this API to clear nssimpleacl6 .
|
4,172
|
public static base_responses flush ( nitro_service client , nssimpleacl6 resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { nssimpleacl6 flushresources [ ] = new nssimpleacl6 [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { flushresources [ i ] = new nssimpleacl6 ( ) ; flushresources [ i ] . estsessions = resources [ i ] . estsessions ; } result = perform_operation_bulk_request ( client , flushresources , "flush" ) ; } return result ; }
|
Use this API to flush nssimpleacl6 resources .
|
4,173
|
public static base_responses delete ( nitro_service client , nssimpleacl6 resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { nssimpleacl6 deleteresources [ ] = new nssimpleacl6 [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { deleteresources [ i ] = new nssimpleacl6 ( ) ; deleteresources [ i ] . aclname = resources [ i ] . aclname ; } result = delete_bulk_request ( client , deleteresources ) ; } return result ; }
|
Use this API to delete nssimpleacl6 resources .
|
4,174
|
public static nssimpleacl6 [ ] get ( nitro_service service ) throws Exception { nssimpleacl6 obj = new nssimpleacl6 ( ) ; nssimpleacl6 [ ] response = ( nssimpleacl6 [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch all the nssimpleacl6 resources that are configured on netscaler .
|
4,175
|
public static nssimpleacl6 get ( nitro_service service , String aclname ) throws Exception { nssimpleacl6 obj = new nssimpleacl6 ( ) ; obj . set_aclname ( aclname ) ; nssimpleacl6 response = ( nssimpleacl6 ) obj . get_resource ( service ) ; return response ; }
|
Use this API to fetch nssimpleacl6 resource of given name .
|
4,176
|
public static dnspolicylabel_policybinding_binding [ ] get ( nitro_service service , String labelname ) throws Exception { dnspolicylabel_policybinding_binding obj = new dnspolicylabel_policybinding_binding ( ) ; obj . set_labelname ( labelname ) ; dnspolicylabel_policybinding_binding response [ ] = ( dnspolicylabel_policybinding_binding [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch dnspolicylabel_policybinding_binding resources of given name .
|
4,177
|
public static lbvserver_appqoepolicy_binding [ ] get ( nitro_service service , String name ) throws Exception { lbvserver_appqoepolicy_binding obj = new lbvserver_appqoepolicy_binding ( ) ; obj . set_name ( name ) ; lbvserver_appqoepolicy_binding response [ ] = ( lbvserver_appqoepolicy_binding [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch lbvserver_appqoepolicy_binding resources of given name .
|
4,178
|
public static aaaglobal_authenticationnegotiateaction_binding [ ] get ( nitro_service service ) throws Exception { aaaglobal_authenticationnegotiateaction_binding obj = new aaaglobal_authenticationnegotiateaction_binding ( ) ; aaaglobal_authenticationnegotiateaction_binding response [ ] = ( aaaglobal_authenticationnegotiateaction_binding [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch a aaaglobal_authenticationnegotiateaction_binding resources .
|
4,179
|
public static aaaglobal_authenticationnegotiateaction_binding [ ] get_filtered ( nitro_service service , filtervalue [ ] filter ) throws Exception { aaaglobal_authenticationnegotiateaction_binding obj = new aaaglobal_authenticationnegotiateaction_binding ( ) ; options option = new options ( ) ; option . set_filter ( filter ) ; aaaglobal_authenticationnegotiateaction_binding [ ] response = ( aaaglobal_authenticationnegotiateaction_binding [ ] ) obj . getfiltered ( service , option ) ; return response ; }
|
Use this API to fetch filtered set of aaaglobal_authenticationnegotiateaction_binding resources . set the filter parameter values in filtervalue object .
|
4,180
|
public static base_response add ( nitro_service client , dnszone resource ) throws Exception { dnszone addresource = new dnszone ( ) ; addresource . zonename = resource . zonename ; addresource . proxymode = resource . proxymode ; addresource . dnssecoffload = resource . dnssecoffload ; addresource . nsec = resource . nsec ; return addresource . add_resource ( client ) ; }
|
Use this API to add dnszone .
|
4,181
|
public static base_responses add ( nitro_service client , dnszone resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { dnszone addresources [ ] = new dnszone [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addresources [ i ] = new dnszone ( ) ; addresources [ i ] . zonename = resources [ i ] . zonename ; addresources [ i ] . proxymode = resources [ i ] . proxymode ; addresources [ i ] . dnssecoffload = resources [ i ] . dnssecoffload ; addresources [ i ] . nsec = resources [ i ] . nsec ; } result = add_bulk_request ( client , addresources ) ; } return result ; }
|
Use this API to add dnszone resources .
|
4,182
|
public static base_response update ( nitro_service client , dnszone resource ) throws Exception { dnszone updateresource = new dnszone ( ) ; updateresource . zonename = resource . zonename ; updateresource . proxymode = resource . proxymode ; updateresource . dnssecoffload = resource . dnssecoffload ; updateresource . nsec = resource . nsec ; return updateresource . update_resource ( client ) ; }
|
Use this API to update dnszone .
|
4,183
|
public static base_responses update ( nitro_service client , dnszone resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { dnszone updateresources [ ] = new dnszone [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { updateresources [ i ] = new dnszone ( ) ; updateresources [ i ] . zonename = resources [ i ] . zonename ; updateresources [ i ] . proxymode = resources [ i ] . proxymode ; updateresources [ i ] . dnssecoffload = resources [ i ] . dnssecoffload ; updateresources [ i ] . nsec = resources [ i ] . nsec ; } result = update_bulk_request ( client , updateresources ) ; } return result ; }
|
Use this API to update dnszone resources .
|
4,184
|
public static base_response unset ( nitro_service client , dnszone resource , String [ ] args ) throws Exception { dnszone unsetresource = new dnszone ( ) ; unsetresource . zonename = resource . zonename ; return unsetresource . unset_resource ( client , args ) ; }
|
Use this API to unset the properties of dnszone resource . Properties that need to be unset are specified in args array .
|
4,185
|
public static base_responses unset ( nitro_service client , String zonename [ ] , String args [ ] ) throws Exception { base_responses result = null ; if ( zonename != null && zonename . length > 0 ) { dnszone unsetresources [ ] = new dnszone [ zonename . length ] ; for ( int i = 0 ; i < zonename . length ; i ++ ) { unsetresources [ i ] = new dnszone ( ) ; unsetresources [ i ] . zonename = zonename [ i ] ; } result = unset_bulk_request ( client , unsetresources , args ) ; } return result ; }
|
Use this API to unset the properties of dnszone resources . Properties that need to be unset are specified in args array .
|
4,186
|
public static base_response delete ( nitro_service client , String zonename ) throws Exception { dnszone deleteresource = new dnszone ( ) ; deleteresource . zonename = zonename ; return deleteresource . delete_resource ( client ) ; }
|
Use this API to delete dnszone of given name .
|
4,187
|
public static base_responses delete ( nitro_service client , String zonename [ ] ) throws Exception { base_responses result = null ; if ( zonename != null && zonename . length > 0 ) { dnszone deleteresources [ ] = new dnszone [ zonename . length ] ; for ( int i = 0 ; i < zonename . length ; i ++ ) { deleteresources [ i ] = new dnszone ( ) ; deleteresources [ i ] . zonename = zonename [ i ] ; } result = delete_bulk_request ( client , deleteresources ) ; } return result ; }
|
Use this API to delete dnszone resources of given names .
|
4,188
|
public static base_response sign ( nitro_service client , dnszone resource ) throws Exception { dnszone signresource = new dnszone ( ) ; signresource . zonename = resource . zonename ; signresource . keyname = resource . keyname ; return signresource . perform_operation ( client , "sign" ) ; }
|
Use this API to sign dnszone .
|
4,189
|
public static base_responses sign ( nitro_service client , dnszone resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { dnszone signresources [ ] = new dnszone [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { signresources [ i ] = new dnszone ( ) ; signresources [ i ] . zonename = resources [ i ] . zonename ; signresources [ i ] . keyname = resources [ i ] . keyname ; } result = perform_operation_bulk_request ( client , signresources , "sign" ) ; } return result ; }
|
Use this API to sign dnszone resources .
|
4,190
|
public static base_response unsign ( nitro_service client , dnszone resource ) throws Exception { dnszone unsignresource = new dnszone ( ) ; unsignresource . zonename = resource . zonename ; unsignresource . keyname = resource . keyname ; return unsignresource . perform_operation ( client , "unsign" ) ; }
|
Use this API to unsign dnszone .
|
4,191
|
public static base_responses unsign ( nitro_service client , dnszone resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { dnszone unsignresources [ ] = new dnszone [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { unsignresources [ i ] = new dnszone ( ) ; unsignresources [ i ] . zonename = resources [ i ] . zonename ; unsignresources [ i ] . keyname = resources [ i ] . keyname ; } result = perform_operation_bulk_request ( client , unsignresources , "unsign" ) ; } return result ; }
|
Use this API to unsign dnszone resources .
|
4,192
|
public static dnszone [ ] get ( nitro_service service ) throws Exception { dnszone obj = new dnszone ( ) ; dnszone [ ] response = ( dnszone [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch all the dnszone resources that are configured on netscaler .
|
4,193
|
public static dnszone [ ] get ( nitro_service service , dnszone_args args ) throws Exception { dnszone obj = new dnszone ( ) ; options option = new options ( ) ; option . set_args ( nitro_util . object_to_string_withoutquotes ( args ) ) ; dnszone [ ] response = ( dnszone [ ] ) obj . get_resources ( service , option ) ; return response ; }
|
Use this API to fetch all the dnszone resources that are configured on netscaler . This uses dnszone_args which is a way to provide additional arguments while fetching the resources .
|
4,194
|
public static dnszone get ( nitro_service service , String zonename ) throws Exception { dnszone obj = new dnszone ( ) ; obj . set_zonename ( zonename ) ; dnszone response = ( dnszone ) obj . get_resource ( service ) ; return response ; }
|
Use this API to fetch dnszone resource of given name .
|
4,195
|
public static dnszone [ ] get_filtered ( nitro_service service , filtervalue [ ] filter ) throws Exception { dnszone obj = new dnszone ( ) ; options option = new options ( ) ; option . set_filter ( filter ) ; dnszone [ ] response = ( dnszone [ ] ) obj . getfiltered ( service , option ) ; return response ; }
|
Use this API to fetch filtered set of dnszone resources . set the filter parameter values in filtervalue object .
|
4,196
|
public static protocolicmpv6_stats get ( nitro_service service ) throws Exception { protocolicmpv6_stats obj = new protocolicmpv6_stats ( ) ; protocolicmpv6_stats [ ] response = ( protocolicmpv6_stats [ ] ) obj . stat_resources ( service ) ; return response [ 0 ] ; }
|
Use this API to fetch the statistics of all protocolicmpv6_stats resources that are configured on netscaler .
|
4,197
|
public static lbmonbindings_service_binding [ ] get ( nitro_service service , String monitorname ) throws Exception { lbmonbindings_service_binding obj = new lbmonbindings_service_binding ( ) ; obj . set_monitorname ( monitorname ) ; lbmonbindings_service_binding response [ ] = ( lbmonbindings_service_binding [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch lbmonbindings_service_binding resources of given name .
|
4,198
|
public static base_response add ( nitro_service client , fis resource ) throws Exception { fis addresource = new fis ( ) ; addresource . name = resource . name ; return addresource . add_resource ( client ) ; }
|
Use this API to add fis .
|
4,199
|
public static fis [ ] get ( nitro_service service ) throws Exception { fis obj = new fis ( ) ; fis [ ] response = ( fis [ ] ) obj . get_resources ( service ) ; return response ; }
|
Use this API to fetch all the fis resources that are configured on netscaler .
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.