idx
int64
0
165k
question
stringlengths
73
5.81k
target
stringlengths
5
918
4,200
public static fis get ( nitro_service service , String name ) throws Exception { fis obj = new fis ( ) ; obj . set_name ( name ) ; fis response = ( fis ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch fis resource of given name .
4,201
public static spilloverpolicy_gslbvserver_binding [ ] get ( nitro_service service , String name ) throws Exception { spilloverpolicy_gslbvserver_binding obj = new spilloverpolicy_gslbvserver_binding ( ) ; obj . set_name ( name ) ; spilloverpolicy_gslbvserver_binding response [ ] = ( spilloverpolicy_gslbvserver_binding ...
Use this API to fetch spilloverpolicy_gslbvserver_binding resources of given name .
4,202
public static transformpolicy_csvserver_binding [ ] get ( nitro_service service , String name ) throws Exception { transformpolicy_csvserver_binding obj = new transformpolicy_csvserver_binding ( ) ; obj . set_name ( name ) ; transformpolicy_csvserver_binding response [ ] = ( transformpolicy_csvserver_binding [ ] ) obj ...
Use this API to fetch transformpolicy_csvserver_binding resources of given name .
4,203
public static base_responses update ( nitro_service client , dbuser resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { dbuser updateresources [ ] = new dbuser [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { updateresources ...
Use this API to update dbuser resources .
4,204
public static dbuser [ ] get ( nitro_service service ) throws Exception { dbuser obj = new dbuser ( ) ; dbuser [ ] response = ( dbuser [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch all the dbuser resources that are configured on netscaler .
4,205
public static dbuser [ ] get ( nitro_service service , dbuser_args args ) throws Exception { dbuser obj = new dbuser ( ) ; options option = new options ( ) ; option . set_args ( nitro_util . object_to_string_withoutquotes ( args ) ) ; dbuser [ ] response = ( dbuser [ ] ) obj . get_resources ( service , option ) ; retur...
Use this API to fetch all the dbuser resources that are configured on netscaler . This uses dbuser_args which is a way to provide additional arguments while fetching the resources .
4,206
public static dbuser get ( nitro_service service , String username ) throws Exception { dbuser obj = new dbuser ( ) ; obj . set_username ( username ) ; dbuser response = ( dbuser ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch dbuser resource of given name .
4,207
public static system_stats get ( nitro_service service ) throws Exception { system_stats obj = new system_stats ( ) ; system_stats [ ] response = ( system_stats [ ] ) obj . stat_resources ( service ) ; return response [ 0 ] ; }
Use this API to fetch the statistics of all system_stats resources that are configured on netscaler .
4,208
public static dnspolicylabel_binding get ( nitro_service service , String labelname ) throws Exception { dnspolicylabel_binding obj = new dnspolicylabel_binding ( ) ; obj . set_labelname ( labelname ) ; dnspolicylabel_binding response = ( dnspolicylabel_binding ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch dnspolicylabel_binding resource of given name .
4,209
public static csvserver_stats [ ] get ( nitro_service service ) throws Exception { csvserver_stats obj = new csvserver_stats ( ) ; csvserver_stats [ ] response = ( csvserver_stats [ ] ) obj . stat_resources ( service ) ; return response ; }
Use this API to fetch the statistics of all csvserver_stats resources that are configured on netscaler .
4,210
public static csvserver_stats get ( nitro_service service , String name ) throws Exception { csvserver_stats obj = new csvserver_stats ( ) ; obj . set_name ( name ) ; csvserver_stats response = ( csvserver_stats ) obj . stat_resource ( service ) ; return response ; }
Use this API to fetch statistics of csvserver_stats resource of given name .
4,211
public static ssl_stats get ( nitro_service service ) throws Exception { ssl_stats obj = new ssl_stats ( ) ; ssl_stats [ ] response = ( ssl_stats [ ] ) obj . stat_resources ( service ) ; return response [ 0 ] ; }
Use this API to fetch the statistics of all ssl_stats resources that are configured on netscaler .
4,212
public static servicegroup_binding get ( nitro_service service , String servicegroupname ) throws Exception { servicegroup_binding obj = new servicegroup_binding ( ) ; obj . set_servicegroupname ( servicegroupname ) ; servicegroup_binding response = ( servicegroup_binding ) obj . get_resource ( service ) ; return respo...
Use this API to fetch servicegroup_binding resource of given name .
4,213
public void setRecurrence ( int minimumRecurrence , int maximumRecurrence ) { if ( minimumRecurrence > maximumRecurrence ) { throw new IllegalArgumentException ( "minimumRecurrence > maximumRecurrence" ) ; } else if ( minimumRecurrence < 1 ) { throw new IllegalArgumentException ( "minimumRecurrence < 1 not supported" )...
Sets the recurrence .
4,214
public static cspolicylabel_cspolicy_binding [ ] get ( nitro_service service , String labelname ) throws Exception { cspolicylabel_cspolicy_binding obj = new cspolicylabel_cspolicy_binding ( ) ; obj . set_labelname ( labelname ) ; cspolicylabel_cspolicy_binding response [ ] = ( cspolicylabel_cspolicy_binding [ ] ) obj ...
Use this API to fetch cspolicylabel_cspolicy_binding resources of given name .
4,215
public static long count ( nitro_service service , String labelname ) throws Exception { cspolicylabel_cspolicy_binding obj = new cspolicylabel_cspolicy_binding ( ) ; obj . set_labelname ( labelname ) ; options option = new options ( ) ; option . set_count ( true ) ; cspolicylabel_cspolicy_binding response [ ] = ( cspo...
Use this API to count cspolicylabel_cspolicy_binding resources configued on NetScaler .
4,216
public static vpnvserver_appflowpolicy_binding [ ] get ( nitro_service service , String name ) throws Exception { vpnvserver_appflowpolicy_binding obj = new vpnvserver_appflowpolicy_binding ( ) ; obj . set_name ( name ) ; vpnvserver_appflowpolicy_binding response [ ] = ( vpnvserver_appflowpolicy_binding [ ] ) obj . get...
Use this API to fetch vpnvserver_appflowpolicy_binding resources of given name .
4,217
public static cspolicy_csvserver_binding [ ] get ( nitro_service service , String policyname ) throws Exception { cspolicy_csvserver_binding obj = new cspolicy_csvserver_binding ( ) ; obj . set_policyname ( policyname ) ; cspolicy_csvserver_binding response [ ] = ( cspolicy_csvserver_binding [ ] ) obj . get_resources (...
Use this API to fetch cspolicy_csvserver_binding resources of given name .
4,218
public static base_response add ( nitro_service client , rnat6 resource ) throws Exception { rnat6 addresource = new rnat6 ( ) ; addresource . name = resource . name ; addresource . network = resource . network ; addresource . acl6name = resource . acl6name ; addresource . redirectport = resource . redirectport ; retur...
Use this API to add rnat6 .
4,219
public static base_responses add ( nitro_service client , rnat6 resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { rnat6 addresources [ ] = new rnat6 [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addresources [ i ] = new ...
Use this API to add rnat6 resources .
4,220
public static base_response update ( nitro_service client , rnat6 resource ) throws Exception { rnat6 updateresource = new rnat6 ( ) ; updateresource . name = resource . name ; updateresource . redirectport = resource . redirectport ; return updateresource . update_resource ( client ) ; }
Use this API to update rnat6 .
4,221
public static base_responses update ( nitro_service client , rnat6 resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { rnat6 updateresources [ ] = new rnat6 [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { updateresources [ i...
Use this API to update rnat6 resources .
4,222
public static base_response clear ( nitro_service client , rnat6 resource ) throws Exception { rnat6 clearresource = new rnat6 ( ) ; clearresource . name = resource . name ; return clearresource . perform_operation ( client , "clear" ) ; }
Use this API to clear rnat6 .
4,223
public static base_responses clear ( nitro_service client , rnat6 resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { rnat6 clearresources [ ] = new rnat6 [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { clearresources [ i ] ...
Use this API to clear rnat6 resources .
4,224
public static rnat6 [ ] get ( nitro_service service ) throws Exception { rnat6 obj = new rnat6 ( ) ; rnat6 [ ] response = ( rnat6 [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch all the rnat6 resources that are configured on netscaler .
4,225
public static rnat6 get ( nitro_service service , String name ) throws Exception { rnat6 obj = new rnat6 ( ) ; obj . set_name ( name ) ; rnat6 response = ( rnat6 ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch rnat6 resource of given name .
4,226
public static base_response add ( nitro_service client , spilloveraction resource ) throws Exception { spilloveraction addresource = new spilloveraction ( ) ; addresource . name = resource . name ; addresource . action = resource . action ; return addresource . add_resource ( client ) ; }
Use this API to add spilloveraction .
4,227
public static spilloveraction [ ] get ( nitro_service service , options option ) throws Exception { spilloveraction obj = new spilloveraction ( ) ; spilloveraction [ ] response = ( spilloveraction [ ] ) obj . get_resources ( service , option ) ; return response ; }
Use this API to fetch all the spilloveraction resources that are configured on netscaler .
4,228
public static spilloveraction get ( nitro_service service , String name ) throws Exception { spilloveraction obj = new spilloveraction ( ) ; obj . set_name ( name ) ; spilloveraction response = ( spilloveraction ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch spilloveraction resource of given name .
4,229
public static hanode_fis_binding [ ] get ( nitro_service service , Long id ) throws Exception { hanode_fis_binding obj = new hanode_fis_binding ( ) ; obj . set_id ( id ) ; hanode_fis_binding response [ ] = ( hanode_fis_binding [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch hanode_fis_binding resources of given name .
4,230
public static vpnglobal_authenticationnegotiatepolicy_binding [ ] get ( nitro_service service ) throws Exception { vpnglobal_authenticationnegotiatepolicy_binding obj = new vpnglobal_authenticationnegotiatepolicy_binding ( ) ; vpnglobal_authenticationnegotiatepolicy_binding response [ ] = ( vpnglobal_authenticationnego...
Use this API to fetch a vpnglobal_authenticationnegotiatepolicy_binding resources .
4,231
final public void addIdAndRef ( Integer id , Long ref , int additionalId , long additionalRef ) { if ( id != null ) { MtasTreeNodeId tnId = new MtasTreeNodeId ( ref , additionalId , additionalRef ) ; ids . put ( id , tnId ) ; } }
Adds the id and ref .
4,232
public Object string_to_resource ( Class < ? > responseClass , String response ) { Gson gson = new Gson ( ) ; return gson . fromJson ( response , responseClass ) ; }
Converts Json string to netscaler resource .
4,233
public String resource_to_string ( base_resource resources [ ] , String id , options option , Boolean warning , String onerror ) { String objecttype = resources [ 0 ] . get_object_type ( ) ; String request = "{" ; if ( ( option != null && option . get_action ( ) != null ) || ( warning != null && warning == true ) || ( ...
Converts netscaler resources to Json string .
4,234
public String unset_string ( base_resource resrc , String id , options option , String args [ ] , Boolean warning ) throws Exception { String objstr ; String result = "{ " ; if ( ( option != null && option . get_action ( ) != null ) || ( warning != null && warning == true ) ) { result = result + "\"params\":{" ; if ( o...
Converts nitro resource to Json string . This is exclusively for forming unset string .
4,235
public static authorizationpolicy_aaagroup_binding [ ] get ( nitro_service service , String name ) throws Exception { authorizationpolicy_aaagroup_binding obj = new authorizationpolicy_aaagroup_binding ( ) ; obj . set_name ( name ) ; authorizationpolicy_aaagroup_binding response [ ] = ( authorizationpolicy_aaagroup_bin...
Use this API to fetch authorizationpolicy_aaagroup_binding resources of given name .
4,236
public static cache_stats get ( nitro_service service ) throws Exception { cache_stats obj = new cache_stats ( ) ; cache_stats [ ] response = ( cache_stats [ ] ) obj . stat_resources ( service ) ; return response [ 0 ] ; }
Use this API to fetch the statistics of all cache_stats resources that are configured on netscaler .
4,237
public static base_response delete ( nitro_service client , gslbldnsentry resource ) throws Exception { gslbldnsentry deleteresource = new gslbldnsentry ( ) ; deleteresource . ipaddress = resource . ipaddress ; return deleteresource . delete_resource ( client ) ; }
Use this API to delete gslbldnsentry .
4,238
public static aaauser_tmsessionpolicy_binding [ ] get ( nitro_service service , String username ) throws Exception { aaauser_tmsessionpolicy_binding obj = new aaauser_tmsessionpolicy_binding ( ) ; obj . set_username ( username ) ; aaauser_tmsessionpolicy_binding response [ ] = ( aaauser_tmsessionpolicy_binding [ ] ) ob...
Use this API to fetch aaauser_tmsessionpolicy_binding resources of given name .
4,239
public static hanode_ci_binding [ ] get ( nitro_service service , Long id ) throws Exception { hanode_ci_binding obj = new hanode_ci_binding ( ) ; obj . set_id ( id ) ; hanode_ci_binding response [ ] = ( hanode_ci_binding [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch hanode_ci_binding resources of given name .
4,240
public static auditnslogpolicy_aaauser_binding [ ] get ( nitro_service service , String name ) throws Exception { auditnslogpolicy_aaauser_binding obj = new auditnslogpolicy_aaauser_binding ( ) ; obj . set_name ( name ) ; auditnslogpolicy_aaauser_binding response [ ] = ( auditnslogpolicy_aaauser_binding [ ] ) obj . get...
Use this API to fetch auditnslogpolicy_aaauser_binding resources of given name .
4,241
public void apply ( TreeVisitor tv ) { for ( Tree t : tb ) { if ( VERBOSE ) System . out . println ( "TfTbApply transforming " + t ) ; Tree tmpT = t . deepCopy ( ) ; if ( transformer != null ) { tmpT = transformer . transformTree ( tmpT ) ; } if ( VERBOSE ) System . out . println ( " to " + tmpT ) ; tv . visitTree ( t...
Applies the TreeVisitor to to all trees in the Treebank .
4,242
public static base_response add ( nitro_service client , dnskey resource ) throws Exception { dnskey addresource = new dnskey ( ) ; addresource . keyname = resource . keyname ; addresource . publickey = resource . publickey ; addresource . privatekey = resource . privatekey ; addresource . expires = resource . expires ...
Use this API to add dnskey .
4,243
public static base_responses add ( nitro_service client , dnskey resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { dnskey addresources [ ] = new dnskey [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addresources [ i ] = n...
Use this API to add dnskey resources .
4,244
public static base_response create ( nitro_service client , dnskey resource ) throws Exception { dnskey createresource = new dnskey ( ) ; createresource . zonename = resource . zonename ; createresource . keytype = resource . keytype ; createresource . algorithm = resource . algorithm ; createresource . keysize = resou...
Use this API to create dnskey .
4,245
public static base_responses create ( nitro_service client , dnskey resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { dnskey createresources [ ] = new dnskey [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { createresources ...
Use this API to create dnskey resources .
4,246
public static base_response update ( nitro_service client , dnskey resource ) throws Exception { dnskey updateresource = new dnskey ( ) ; updateresource . keyname = resource . keyname ; updateresource . expires = resource . expires ; updateresource . units1 = resource . units1 ; updateresource . notificationperiod = re...
Use this API to update dnskey .
4,247
public static base_responses update ( nitro_service client , dnskey resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { dnskey updateresources [ ] = new dnskey [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { updateresources ...
Use this API to update dnskey resources .
4,248
public static base_response unset ( nitro_service client , dnskey resource , String [ ] args ) throws Exception { dnskey unsetresource = new dnskey ( ) ; unsetresource . keyname = resource . keyname ; return unsetresource . unset_resource ( client , args ) ; }
Use this API to unset the properties of dnskey resource . Properties that need to be unset are specified in args array .
4,249
public static base_responses unset ( nitro_service client , String keyname [ ] , String args [ ] ) throws Exception { base_responses result = null ; if ( keyname != null && keyname . length > 0 ) { dnskey unsetresources [ ] = new dnskey [ keyname . length ] ; for ( int i = 0 ; i < keyname . length ; i ++ ) { unsetresou...
Use this API to unset the properties of dnskey resources . Properties that need to be unset are specified in args array .
4,250
public static base_response delete ( nitro_service client , String keyname ) throws Exception { dnskey deleteresource = new dnskey ( ) ; deleteresource . keyname = keyname ; return deleteresource . delete_resource ( client ) ; }
Use this API to delete dnskey of given name .
4,251
public static base_responses delete ( nitro_service client , dnskey resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { dnskey deleteresources [ ] = new dnskey [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { deleteresources ...
Use this API to delete dnskey resources .
4,252
public static dnskey [ ] get ( nitro_service service ) throws Exception { dnskey obj = new dnskey ( ) ; dnskey [ ] response = ( dnskey [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch all the dnskey resources that are configured on netscaler .
4,253
public static dnskey get ( nitro_service service , String keyname ) throws Exception { dnskey obj = new dnskey ( ) ; obj . set_keyname ( keyname ) ; dnskey response = ( dnskey ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch dnskey resource of given name .
4,254
public static dnskey [ ] get ( nitro_service service , String keyname [ ] ) throws Exception { if ( keyname != null && keyname . length > 0 ) { dnskey response [ ] = new dnskey [ keyname . length ] ; dnskey obj [ ] = new dnskey [ keyname . length ] ; for ( int i = 0 ; i < keyname . length ; i ++ ) { obj [ i ] = new dns...
Use this API to fetch dnskey resources of given names .
4,255
public static base_response add ( nitro_service client , systemcmdpolicy resource ) throws Exception { systemcmdpolicy addresource = new systemcmdpolicy ( ) ; addresource . policyname = resource . policyname ; addresource . action = resource . action ; addresource . cmdspec = resource . cmdspec ; return addresource . a...
Use this API to add systemcmdpolicy .
4,256
public static base_responses add ( nitro_service client , systemcmdpolicy resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { systemcmdpolicy addresources [ ] = new systemcmdpolicy [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++...
Use this API to add systemcmdpolicy resources .
4,257
public static base_response update ( nitro_service client , systemcmdpolicy resource ) throws Exception { systemcmdpolicy updateresource = new systemcmdpolicy ( ) ; updateresource . policyname = resource . policyname ; updateresource . action = resource . action ; updateresource . cmdspec = resource . cmdspec ; return ...
Use this API to update systemcmdpolicy .
4,258
public static base_responses update ( nitro_service client , systemcmdpolicy resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { systemcmdpolicy updateresources [ ] = new systemcmdpolicy [ resources . length ] ; for ( int i = 0 ; i < resources . length ...
Use this API to update systemcmdpolicy resources .
4,259
public static systemcmdpolicy [ ] get ( nitro_service service ) throws Exception { systemcmdpolicy obj = new systemcmdpolicy ( ) ; systemcmdpolicy [ ] response = ( systemcmdpolicy [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch all the systemcmdpolicy resources that are configured on netscaler .
4,260
public static systemcmdpolicy get ( nitro_service service , String policyname ) throws Exception { systemcmdpolicy obj = new systemcmdpolicy ( ) ; obj . set_policyname ( policyname ) ; systemcmdpolicy response = ( systemcmdpolicy ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch systemcmdpolicy resource of given name .
4,261
public static base_response add ( nitro_service client , dnsptrrec resource ) throws Exception { dnsptrrec addresource = new dnsptrrec ( ) ; addresource . reversedomain = resource . reversedomain ; addresource . domain = resource . domain ; addresource . ttl = resource . ttl ; return addresource . add_resource ( client...
Use this API to add dnsptrrec .
4,262
public static base_responses add ( nitro_service client , dnsptrrec resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { dnsptrrec addresources [ ] = new dnsptrrec [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addresources ...
Use this API to add dnsptrrec resources .
4,263
public static base_response delete ( nitro_service client , String reversedomain ) throws Exception { dnsptrrec deleteresource = new dnsptrrec ( ) ; deleteresource . reversedomain = reversedomain ; return deleteresource . delete_resource ( client ) ; }
Use this API to delete dnsptrrec of given name .
4,264
public static base_response delete ( nitro_service client , dnsptrrec resource ) throws Exception { dnsptrrec deleteresource = new dnsptrrec ( ) ; deleteresource . reversedomain = resource . reversedomain ; deleteresource . domain = resource . domain ; return deleteresource . delete_resource ( client ) ; }
Use this API to delete dnsptrrec .
4,265
public static base_responses delete ( nitro_service client , String reversedomain [ ] ) throws Exception { base_responses result = null ; if ( reversedomain != null && reversedomain . length > 0 ) { dnsptrrec deleteresources [ ] = new dnsptrrec [ reversedomain . length ] ; for ( int i = 0 ; i < reversedomain . length ;...
Use this API to delete dnsptrrec resources of given names .
4,266
public static dnsptrrec [ ] get ( nitro_service service ) throws Exception { dnsptrrec obj = new dnsptrrec ( ) ; dnsptrrec [ ] response = ( dnsptrrec [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch all the dnsptrrec resources that are configured on netscaler .
4,267
public static dnsptrrec [ ] get ( nitro_service service , dnsptrrec_args args ) throws Exception { dnsptrrec obj = new dnsptrrec ( ) ; options option = new options ( ) ; option . set_args ( nitro_util . object_to_string_withoutquotes ( args ) ) ; dnsptrrec [ ] response = ( dnsptrrec [ ] ) obj . get_resources ( service ...
Use this API to fetch all the dnsptrrec resources that are configured on netscaler . This uses dnsptrrec_args which is a way to provide additional arguments while fetching the resources .
4,268
public static dnsptrrec get ( nitro_service service , String reversedomain ) throws Exception { dnsptrrec obj = new dnsptrrec ( ) ; obj . set_reversedomain ( reversedomain ) ; dnsptrrec response = ( dnsptrrec ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch dnsptrrec resource of given name .
4,269
public static dnsptrrec [ ] get ( nitro_service service , String reversedomain [ ] ) throws Exception { if ( reversedomain != null && reversedomain . length > 0 ) { dnsptrrec response [ ] = new dnsptrrec [ reversedomain . length ] ; dnsptrrec obj [ ] = new dnsptrrec [ reversedomain . length ] ; for ( int i = 0 ; i < re...
Use this API to fetch dnsptrrec resources of given names .
4,270
public static vpnvserver_vpnintranetapplication_binding [ ] get ( nitro_service service , String name ) throws Exception { vpnvserver_vpnintranetapplication_binding obj = new vpnvserver_vpnintranetapplication_binding ( ) ; obj . set_name ( name ) ; vpnvserver_vpnintranetapplication_binding response [ ] = ( vpnvserver_v...
Use this API to fetch vpnvserver_vpnintranetapplication_binding resources of given name .
4,271
public static cmppolicylabel_binding get ( nitro_service service , String labelname ) throws Exception { cmppolicylabel_binding obj = new cmppolicylabel_binding ( ) ; obj . set_labelname ( labelname ) ; cmppolicylabel_binding response = ( cmppolicylabel_binding ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch cmppolicylabel_binding resource of given name .
4,272
public static cmppolicylabel_binding [ ] get ( nitro_service service , String labelname [ ] ) throws Exception { if ( labelname != null && labelname . length > 0 ) { cmppolicylabel_binding response [ ] = new cmppolicylabel_binding [ labelname . length ] ; cmppolicylabel_binding obj [ ] = new cmppolicylabel_binding [ la...
Use this API to fetch cmppolicylabel_binding resources of given names .
4,273
public Iterator < Reader > iterator ( ) { Collection < Object > newCollection = new ArrayList < Object > ( ) ; for ( Object o : c ) { if ( o instanceof Reader ) { String name = o . toString ( ) + ".tmp" ; File tmpFile ; try { tmpFile = File . createTempFile ( name , "" ) ; } catch ( Exception e ) { throw new RuntimeExc...
Returns an Iterator over the input sources in the underlying Collection .
4,274
public static rewritepolicy_lbvserver_binding [ ] get ( nitro_service service , String name ) throws Exception { rewritepolicy_lbvserver_binding obj = new rewritepolicy_lbvserver_binding ( ) ; obj . set_name ( name ) ; rewritepolicy_lbvserver_binding response [ ] = ( rewritepolicy_lbvserver_binding [ ] ) obj . get_reso...
Use this API to fetch rewritepolicy_lbvserver_binding resources of given name .
4,275
public static lbmonbindings get ( nitro_service service , String monitorname ) throws Exception { lbmonbindings obj = new lbmonbindings ( ) ; obj . set_monitorname ( monitorname ) ; lbmonbindings response = ( lbmonbindings ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch lbmonbindings resource of given name .
4,276
public static base_response add ( nitro_service client , netprofile resource ) throws Exception { netprofile addresource = new netprofile ( ) ; addresource . name = resource . name ; addresource . td = resource . td ; addresource . srcip = resource . srcip ; return addresource . add_resource ( client ) ; }
Use this API to add netprofile .
4,277
public static base_response update ( nitro_service client , netprofile resource ) throws Exception { netprofile updateresource = new netprofile ( ) ; updateresource . name = resource . name ; updateresource . srcip = resource . srcip ; return updateresource . update_resource ( client ) ; }
Use this API to update netprofile .
4,278
public static base_responses update ( nitro_service client , netprofile resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { netprofile updateresources [ ] = new netprofile [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { upda...
Use this API to update netprofile resources .
4,279
public static netprofile [ ] get ( nitro_service service , options option ) throws Exception { netprofile obj = new netprofile ( ) ; netprofile [ ] response = ( netprofile [ ] ) obj . get_resources ( service , option ) ; return response ; }
Use this API to fetch all the netprofile resources that are configured on netscaler .
4,280
public static netprofile get ( nitro_service service , String name ) throws Exception { netprofile obj = new netprofile ( ) ; obj . set_name ( name ) ; netprofile response = ( netprofile ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch netprofile resource of given name .
4,281
private void forceClose ( ) { if ( file != null ) { if ( file . exists ( ) && file . canWrite ( ) && ! file . delete ( ) ) { log . debug ( "couldn't delete " + file . getName ( ) ) ; } file = null ; } try { objectInputStream . close ( ) ; } catch ( IOException e ) { log . debug ( e ) ; } closed = true ; }
Force close .
4,282
private ModuleFields loadAuth ( URI relativeURI , String httpMethod ) { ModuleFields authFields = new ModuleFields ( ) ; for ( PipeModule module : modules ) { ModuleFields moduleFields = module . loadModule ( relativeURI , httpMethod , new byte [ ] { } ) ; if ( ! moduleFields . getHeaders ( ) . isEmpty ( ) ) { for ( Pa...
Apply authentication if the token is present
4,283
public static appfwxmlerrorpage get ( nitro_service service ) throws Exception { appfwxmlerrorpage obj = new appfwxmlerrorpage ( ) ; appfwxmlerrorpage [ ] response = ( appfwxmlerrorpage [ ] ) obj . get_resources ( service ) ; return response [ 0 ] ; }
Use this API to fetch all the appfwxmlerrorpage resources that are configured on netscaler .
4,284
public static appfwxmlerrorpage get ( nitro_service service , String name ) throws Exception { appfwxmlerrorpage obj = new appfwxmlerrorpage ( ) ; obj . set_name ( name ) ; appfwxmlerrorpage response = ( appfwxmlerrorpage ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch appfwxmlerrorpage resource of given name .
4,285
public static appfwprofile_fieldformat_binding [ ] get ( nitro_service service , String name ) throws Exception { appfwprofile_fieldformat_binding obj = new appfwprofile_fieldformat_binding ( ) ; obj . set_name ( name ) ; appfwprofile_fieldformat_binding response [ ] = ( appfwprofile_fieldformat_binding [ ] ) obj . get...
Use this API to fetch appfwprofile_fieldformat_binding resources of given name .
4,286
public static base_response clear ( nitro_service client ) throws Exception { nsacls6 clearresource = new nsacls6 ( ) ; return clearresource . perform_operation ( client , "clear" ) ; }
Use this API to clear nsacls6 .
4,287
public static base_response apply ( nitro_service client ) throws Exception { nsacls6 applyresource = new nsacls6 ( ) ; return applyresource . perform_operation ( client , "apply" ) ; }
Use this API to apply nsacls6 .
4,288
public static base_response renumber ( nitro_service client ) throws Exception { nsacls6 renumberresource = new nsacls6 ( ) ; return renumberresource . perform_operation ( client , "renumber" ) ; }
Use this API to renumber nsacls6 .
4,289
public static vpn_stats get ( nitro_service service ) throws Exception { vpn_stats obj = new vpn_stats ( ) ; vpn_stats [ ] response = ( vpn_stats [ ] ) obj . stat_resources ( service ) ; return response [ 0 ] ; }
Use this API to fetch the statistics of all vpn_stats resources that are configured on netscaler .
4,290
public static vlan_binding get ( nitro_service service , Long id ) throws Exception { vlan_binding obj = new vlan_binding ( ) ; obj . set_id ( id ) ; vlan_binding response = ( vlan_binding ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch vlan_binding resource of given name .
4,291
public static DoubleAD logSum ( DoubleAD [ ] logInputs , int fromIndex , int toIndex ) { if ( logInputs . length == 0 ) throw new IllegalArgumentException ( ) ; if ( fromIndex >= 0 && toIndex < logInputs . length && fromIndex >= toIndex ) return new DoubleAD ( Double . NEGATIVE_INFINITY , Double . NEGATIVE_INFINITY ) ;...
Some of this might need to change for optimal AD
4,292
public static base_response update ( nitro_service client , sslvserver resource ) throws Exception { sslvserver updateresource = new sslvserver ( ) ; updateresource . vservername = resource . vservername ; updateresource . cleartextport = resource . cleartextport ; updateresource . dh = resource . dh ; updateresource ....
Use this API to update sslvserver .
4,293
public static base_responses update ( nitro_service client , sslvserver resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { sslvserver updateresources [ ] = new sslvserver [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { upda...
Use this API to update sslvserver resources .
4,294
public static base_response unset ( nitro_service client , sslvserver resource , String [ ] args ) throws Exception { sslvserver unsetresource = new sslvserver ( ) ; unsetresource . vservername = resource . vservername ; return unsetresource . unset_resource ( client , args ) ; }
Use this API to unset the properties of sslvserver resource . Properties that need to be unset are specified in args array .
4,295
public static base_responses unset ( nitro_service client , String vservername [ ] , String args [ ] ) throws Exception { base_responses result = null ; if ( vservername != null && vservername . length > 0 ) { sslvserver unsetresources [ ] = new sslvserver [ vservername . length ] ; for ( int i = 0 ; i < vservername . ...
Use this API to unset the properties of sslvserver resources . Properties that need to be unset are specified in args array .
4,296
public static sslvserver [ ] get ( nitro_service service ) throws Exception { sslvserver obj = new sslvserver ( ) ; sslvserver [ ] response = ( sslvserver [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch all the sslvserver resources that are configured on netscaler .
4,297
public static sslvserver [ ] get ( nitro_service service , sslvserver_args args ) throws Exception { sslvserver obj = new sslvserver ( ) ; options option = new options ( ) ; option . set_args ( nitro_util . object_to_string_withoutquotes ( args ) ) ; sslvserver [ ] response = ( sslvserver [ ] ) obj . get_resources ( se...
Use this API to fetch all the sslvserver resources that are configured on netscaler . This uses sslvserver_args which is a way to provide additional arguments while fetching the resources .
4,298
public static sslvserver get ( nitro_service service , String vservername ) throws Exception { sslvserver obj = new sslvserver ( ) ; obj . set_vservername ( vservername ) ; sslvserver response = ( sslvserver ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch sslvserver resource of given name .
4,299
public static sslvserver [ ] get_filtered ( nitro_service service , filtervalue [ ] filter ) throws Exception { sslvserver obj = new sslvserver ( ) ; options option = new options ( ) ; option . set_filter ( filter ) ; sslvserver [ ] response = ( sslvserver [ ] ) obj . getfiltered ( service , option ) ; return response ...
Use this API to fetch filtered set of sslvserver resources . set the filter parameter values in filtervalue object .