idx
int64
0
165k
question
stringlengths
73
4.15k
target
stringlengths
5
918
len_question
int64
21
890
len_target
int64
3
255
1,800
public static authenticationtacacspolicy_authenticationvserver_binding [ ] get ( nitro_service service , String name ) throws Exception { authenticationtacacspolicy_authenticationvserver_binding obj = new authenticationtacacspolicy_authenticationvserver_binding ( ) ; obj . set_name ( name ) ; authenticationtacacspolicy...
Use this API to fetch authenticationtacacspolicy_authenticationvserver_binding resources of given name .
119
23
1,801
public static base_response add ( nitro_service client , snmpmanager resource ) throws Exception { snmpmanager addresource = new snmpmanager ( ) ; addresource . ipaddress = resource . ipaddress ; addresource . netmask = resource . netmask ; addresource . domainresolveretry = resource . domainresolveretry ; return addre...
Use this API to add snmpmanager .
85
9
1,802
public static base_responses add ( nitro_service client , snmpmanager resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { snmpmanager addresources [ ] = new snmpmanager [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addreso...
Use this API to add snmpmanager resources .
171
10
1,803
public static base_response delete ( nitro_service client , snmpmanager resource ) throws Exception { snmpmanager deleteresource = new snmpmanager ( ) ; deleteresource . ipaddress = resource . ipaddress ; deleteresource . netmask = resource . netmask ; return deleteresource . delete_resource ( client ) ; }
Use this API to delete snmpmanager .
68
9
1,804
public static base_response update ( nitro_service client , snmpmanager resource ) throws Exception { snmpmanager updateresource = new snmpmanager ( ) ; updateresource . ipaddress = resource . ipaddress ; updateresource . netmask = resource . netmask ; updateresource . domainresolveretry = resource . domainresolveretry...
Use this API to update snmpmanager .
85
9
1,805
public static base_responses update ( nitro_service client , snmpmanager resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { snmpmanager updateresources [ ] = new snmpmanager [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { u...
Use this API to update snmpmanager resources .
171
10
1,806
public static base_response unset ( nitro_service client , snmpmanager resource , String [ ] args ) throws Exception { snmpmanager unsetresource = new snmpmanager ( ) ; unsetresource . ipaddress = resource . ipaddress ; unsetresource . netmask = resource . netmask ; return unsetresource . unset_resource ( client , args...
Use this API to unset the properties of snmpmanager resource . Properties that need to be unset are specified in args array .
81
27
1,807
public static snmpmanager [ ] get ( nitro_service service ) throws Exception { snmpmanager obj = new snmpmanager ( ) ; snmpmanager [ ] response = ( snmpmanager [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch all the snmpmanager resources that are configured on netscaler .
57
19
1,808
public static appfwprofile_denyurl_binding [ ] get ( nitro_service service , String name ) throws Exception { appfwprofile_denyurl_binding obj = new appfwprofile_denyurl_binding ( ) ; obj . set_name ( name ) ; appfwprofile_denyurl_binding response [ ] = ( appfwprofile_denyurl_binding [ ] ) obj . get_resources ( service...
Use this API to fetch appfwprofile_denyurl_binding resources of given name .
99
19
1,809
public static netbridge_vlan_binding [ ] get ( nitro_service service , String name ) throws Exception { netbridge_vlan_binding obj = new netbridge_vlan_binding ( ) ; obj . set_name ( name ) ; netbridge_vlan_binding response [ ] = ( netbridge_vlan_binding [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch netbridge_vlan_binding resources of given name .
89
17
1,810
public static audit_stats get ( nitro_service service , options option ) throws Exception { audit_stats obj = new audit_stats ( ) ; audit_stats [ ] response = ( audit_stats [ ] ) obj . stat_resources ( service , option ) ; return response [ 0 ] ; }
Use this API to fetch the statistics of all audit_stats resources that are configured on netscaler .
63
21
1,811
public base_response clear_config ( Boolean force , String level ) throws Exception { base_response result = null ; nsconfig resource = new nsconfig ( ) ; if ( force ) resource . set_force ( force ) ; resource . set_level ( level ) ; options option = new options ( ) ; option . set_action ( "clear" ) ; result = resource...
Use this API to clear configuration on netscaler .
92
11
1,812
public base_response enable_features ( String [ ] features ) throws Exception { base_response result = null ; nsfeature resource = new nsfeature ( ) ; resource . set_feature ( features ) ; options option = new options ( ) ; option . set_action ( "enable" ) ; result = resource . perform_operation ( this , option ) ; ret...
Use this API to enable the feature on Netscaler .
78
12
1,813
public base_response enable_modes ( String [ ] modes ) throws Exception { base_response result = null ; nsmode resource = new nsmode ( ) ; resource . set_mode ( modes ) ; options option = new options ( ) ; option . set_action ( "enable" ) ; result = resource . perform_operation ( this , option ) ; return result ; }
Use this API to enable the mode on Netscaler .
81
12
1,814
public base_response login ( String username , String password , Long timeout ) throws Exception { this . set_credential ( username , password ) ; this . set_timeout ( timeout ) ; return this . login ( ) ; }
Use this API to login into Netscaler .
48
10
1,815
public void set_protocol ( String protocol ) throws nitro_exception { if ( protocol == null || ! ( protocol . equalsIgnoreCase ( "http" ) || protocol . equalsIgnoreCase ( "https" ) ) ) { throw new nitro_exception ( "error: protocol value " + protocol + " is not supported" ) ; } this . protocol = protocol ; }
Sets the protocol .
83
5
1,816
public static authenticationvserver_authenticationlocalpolicy_binding [ ] get ( nitro_service service , String name ) throws Exception { authenticationvserver_authenticationlocalpolicy_binding obj = new authenticationvserver_authenticationlocalpolicy_binding ( ) ; obj . set_name ( name ) ; authenticationvserver_authent...
Use this API to fetch authenticationvserver_authenticationlocalpolicy_binding resources of given name .
104
20
1,817
public static responderglobal_responderpolicy_binding [ ] get ( nitro_service service ) throws Exception { responderglobal_responderpolicy_binding obj = new responderglobal_responderpolicy_binding ( ) ; responderglobal_responderpolicy_binding response [ ] = ( responderglobal_responderpolicy_binding [ ] ) obj . get_reso...
Use this API to fetch a responderglobal_responderpolicy_binding resources .
87
17
1,818
public static systemmemory_stats get ( nitro_service service ) throws Exception { systemmemory_stats obj = new systemmemory_stats ( ) ; systemmemory_stats [ ] response = ( systemmemory_stats [ ] ) obj . stat_resources ( service ) ; return response [ 0 ] ; }
Use this API to fetch the statistics of all systemmemory_stats resources that are configured on netscaler .
63
22
1,819
public static base_response unset ( nitro_service client , sslservice resource , String [ ] args ) throws Exception { sslservice unsetresource = new sslservice ( ) ; unsetresource . servicename = resource . servicename ; return unsetresource . unset_resource ( client , args ) ; }
Use this API to unset the properties of sslservice resource . Properties that need to be unset are specified in args array .
69
27
1,820
public static sslservice [ ] get ( nitro_service service ) throws Exception { sslservice obj = new sslservice ( ) ; sslservice [ ] response = ( sslservice [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch all the sslservice resources that are configured on netscaler .
57
19
1,821
public static sslservice [ ] get ( nitro_service service , sslservice_args args ) throws Exception { sslservice obj = new sslservice ( ) ; options option = new options ( ) ; option . set_args ( nitro_util . object_to_string_withoutquotes ( args ) ) ; sslservice [ ] response = ( sslservice [ ] ) obj . get_resources ( se...
Use this API to fetch all the sslservice resources that are configured on netscaler . This uses sslservice_args which is a way to provide additional arguments while fetching the resources .
99
40
1,822
public static sslservice get ( nitro_service service , String servicename ) throws Exception { sslservice obj = new sslservice ( ) ; obj . set_servicename ( servicename ) ; sslservice response = ( sslservice ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch sslservice resource of given name .
67
13
1,823
public static base_response add ( nitro_service client , vpath resource ) throws Exception { vpath addresource = new vpath ( ) ; addresource . name = resource . name ; addresource . destip = resource . destip ; addresource . encapmode = resource . encapmode ; return addresource . add_resource ( client ) ; }
Use this API to add vpath .
76
8
1,824
public static base_responses add ( nitro_service client , vpath resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { vpath addresources [ ] = new vpath [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addresources [ i ] = new ...
Use this API to add vpath resources .
161
9
1,825
public static vpath [ ] get ( nitro_service service ) throws Exception { vpath obj = new vpath ( ) ; vpath [ ] response = ( vpath [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch all the vpath resources that are configured on netscaler .
52
18
1,826
public static vpath get ( nitro_service service , String name ) throws Exception { vpath obj = new vpath ( ) ; obj . set_name ( name ) ; vpath response = ( vpath ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch vpath resource of given name .
58
12
1,827
public Tokenizer < Tree > getTokenizer ( final Reader r ) { return new AbstractTokenizer < Tree > ( ) { TreeReader tr = trf . newTreeReader ( r ) ; @ Override public Tree getNext ( ) { try { return tr . readTree ( ) ; } catch ( IOException e ) { System . err . println ( "Error in reading tree." ) ; return null ; } } } ...
Gets a tokenizer from a reader .
90
9
1,828
public static lbvserver_scpolicy_binding [ ] get ( nitro_service service , String name ) throws Exception { lbvserver_scpolicy_binding obj = new lbvserver_scpolicy_binding ( ) ; obj . set_name ( name ) ; lbvserver_scpolicy_binding response [ ] = ( lbvserver_scpolicy_binding [ ] ) obj . get_resources ( service ) ; retur...
Use this API to fetch lbvserver_scpolicy_binding resources of given name .
94
18
1,829
public static transformpolicylabel [ ] get ( nitro_service service ) throws Exception { transformpolicylabel obj = new transformpolicylabel ( ) ; transformpolicylabel [ ] response = ( transformpolicylabel [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch all the transformpolicylabel resources that are configured on netscaler .
67
21
1,830
public static transformpolicylabel get ( nitro_service service , String labelname ) throws Exception { transformpolicylabel obj = new transformpolicylabel ( ) ; obj . set_labelname ( labelname ) ; transformpolicylabel response = ( transformpolicylabel ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch transformpolicylabel resource of given name .
76
15
1,831
public static base_response add ( nitro_service client , ntpserver resource ) throws Exception { ntpserver addresource = new ntpserver ( ) ; addresource . serverip = resource . serverip ; addresource . servername = resource . servername ; addresource . minpoll = resource . minpoll ; addresource . maxpoll = resource . m...
Use this API to add ntpserver .
117
10
1,832
public static base_responses add ( nitro_service client , ntpserver resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { ntpserver addresources [ ] = new ntpserver [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addresources ...
Use this API to add ntpserver resources .
222
11
1,833
public static base_response delete ( nitro_service client , String serverip ) throws Exception { ntpserver deleteresource = new ntpserver ( ) ; deleteresource . serverip = serverip ; return deleteresource . delete_resource ( client ) ; }
Use this API to delete ntpserver of given name .
56
13
1,834
public static base_response delete ( nitro_service client , ntpserver resource ) throws Exception { ntpserver deleteresource = new ntpserver ( ) ; deleteresource . serverip = resource . serverip ; deleteresource . servername = resource . servername ; return deleteresource . delete_resource ( client ) ; }
Use this API to delete ntpserver .
73
10
1,835
public static base_responses delete ( nitro_service client , String serverip [ ] ) throws Exception { base_responses result = null ; if ( serverip != null && serverip . length > 0 ) { ntpserver deleteresources [ ] = new ntpserver [ serverip . length ] ; for ( int i = 0 ; i < serverip . length ; i ++ ) { deleteresources...
Use this API to delete ntpserver resources of given names .
135
14
1,836
public static base_responses delete ( nitro_service client , ntpserver resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { ntpserver deleteresources [ ] = new ntpserver [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { deleter...
Use this API to delete ntpserver resources .
154
11
1,837
public static base_response update ( nitro_service client , ntpserver resource ) throws Exception { ntpserver updateresource = new ntpserver ( ) ; updateresource . serverip = resource . serverip ; updateresource . servername = resource . servername ; updateresource . minpoll = resource . minpoll ; updateresource . maxp...
Use this API to update ntpserver .
132
10
1,838
public static base_responses update ( nitro_service client , ntpserver resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { ntpserver updateresources [ ] = new ntpserver [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { updater...
Use this API to update ntpserver resources .
243
11
1,839
public static base_response unset ( nitro_service client , ntpserver resource , String [ ] args ) throws Exception { ntpserver unsetresource = new ntpserver ( ) ; unsetresource . serverip = resource . serverip ; unsetresource . servername = resource . servername ; return unsetresource . unset_resource ( client , args )...
Use this API to unset the properties of ntpserver resource . Properties that need to be unset are specified in args array .
86
28
1,840
public static ntpserver [ ] get ( nitro_service service ) throws Exception { ntpserver obj = new ntpserver ( ) ; ntpserver [ ] response = ( ntpserver [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch all the ntpserver resources that are configured on netscaler .
62
20
1,841
public static base_response add ( nitro_service client , dnssuffix resource ) throws Exception { dnssuffix addresource = new dnssuffix ( ) ; addresource . Dnssuffix = resource . Dnssuffix ; return addresource . add_resource ( client ) ; }
Use this API to add dnssuffix .
69
11
1,842
public static base_responses add ( nitro_service client , dnssuffix resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { dnssuffix addresources [ ] = new dnssuffix [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addresources ...
Use this API to add dnssuffix resources .
145
12
1,843
public static base_response delete ( nitro_service client , String Dnssuffix ) throws Exception { dnssuffix deleteresource = new dnssuffix ( ) ; deleteresource . Dnssuffix = Dnssuffix ; return deleteresource . delete_resource ( client ) ; }
Use this API to delete dnssuffix of given name .
67
14
1,844
public static base_responses delete ( nitro_service client , String Dnssuffix [ ] ) throws Exception { base_responses result = null ; if ( Dnssuffix != null && Dnssuffix . length > 0 ) { dnssuffix deleteresources [ ] = new dnssuffix [ Dnssuffix . length ] ; for ( int i = 0 ; i < Dnssuffix . length ; i ++ ) { deletereso...
Use this API to delete dnssuffix resources of given names .
159
15
1,845
public static dnssuffix [ ] get ( nitro_service service ) throws Exception { dnssuffix obj = new dnssuffix ( ) ; dnssuffix [ ] response = ( dnssuffix [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch all the dnssuffix resources that are configured on netscaler .
67
21
1,846
public static dnssuffix get ( nitro_service service , String Dnssuffix ) throws Exception { dnssuffix obj = new dnssuffix ( ) ; obj . set_Dnssuffix ( Dnssuffix ) ; dnssuffix response = ( dnssuffix ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch dnssuffix resource of given name .
85
15
1,847
public static dnssuffix [ ] get ( nitro_service service , String Dnssuffix [ ] ) throws Exception { if ( Dnssuffix != null && Dnssuffix . length > 0 ) { dnssuffix response [ ] = new dnssuffix [ Dnssuffix . length ] ; dnssuffix obj [ ] = new dnssuffix [ Dnssuffix . length ] ; for ( int i = 0 ; i < Dnssuffix . length ; i...
Use this API to fetch dnssuffix resources of given names .
191
15
1,848
public static base_response update ( nitro_service client , vridparam resource ) throws Exception { vridparam updateresource = new vridparam ( ) ; updateresource . sendtomaster = resource . sendtomaster ; return updateresource . update_resource ( client ) ; }
Use this API to update vridparam .
59
9
1,849
public static base_response unset ( nitro_service client , vridparam resource , String [ ] args ) throws Exception { vridparam unsetresource = new vridparam ( ) ; return unsetresource . unset_resource ( client , args ) ; }
Use this API to unset the properties of vridparam resource . Properties that need to be unset are specified in args array .
57
27
1,850
public static vridparam get ( nitro_service service ) throws Exception { vridparam obj = new vridparam ( ) ; vridparam [ ] response = ( vridparam [ ] ) obj . get_resources ( service ) ; return response [ 0 ] ; }
Use this API to fetch all the vridparam resources that are configured on netscaler .
58
19
1,851
public static cmppolicylabel_stats [ ] get ( nitro_service service ) throws Exception { cmppolicylabel_stats obj = new cmppolicylabel_stats ( ) ; cmppolicylabel_stats [ ] response = ( cmppolicylabel_stats [ ] ) obj . stat_resources ( service ) ; return response ; }
Use this API to fetch the statistics of all cmppolicylabel_stats resources that are configured on netscaler .
77
25
1,852
public static cmppolicylabel_stats get ( nitro_service service , String labelname ) throws Exception { cmppolicylabel_stats obj = new cmppolicylabel_stats ( ) ; obj . set_labelname ( labelname ) ; cmppolicylabel_stats response = ( cmppolicylabel_stats ) obj . stat_resource ( service ) ; return response ; }
Use this API to fetch statistics of cmppolicylabel_stats resource of given name .
86
19
1,853
public static base_response add ( nitro_service client , dnstxtrec resource ) throws Exception { dnstxtrec addresource = new dnstxtrec ( ) ; addresource . domain = resource . domain ; addresource . String = resource . String ; addresource . ttl = resource . ttl ; return addresource . add_resource ( client ) ; }
Use this API to add dnstxtrec .
81
11
1,854
public static base_responses add ( nitro_service client , dnstxtrec resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { dnstxtrec addresources [ ] = new dnstxtrec [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addresources ...
Use this API to add dnstxtrec resources .
169
12
1,855
public static base_response delete ( nitro_service client , String domain ) throws Exception { dnstxtrec deleteresource = new dnstxtrec ( ) ; deleteresource . domain = domain ; return deleteresource . delete_resource ( client ) ; }
Use this API to delete dnstxtrec of given name .
55
14
1,856
public static base_response delete ( nitro_service client , dnstxtrec resource ) throws Exception { dnstxtrec deleteresource = new dnstxtrec ( ) ; deleteresource . domain = resource . domain ; deleteresource . String = resource . String ; deleteresource . recordid = resource . recordid ; return deleteresource . delete_...
Use this API to delete dnstxtrec .
81
11
1,857
public static base_responses delete ( nitro_service client , dnstxtrec resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { dnstxtrec deleteresources [ ] = new dnstxtrec [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { deleter...
Use this API to delete dnstxtrec resources .
169
12
1,858
public static dnstxtrec [ ] get ( nitro_service service ) throws Exception { dnstxtrec obj = new dnstxtrec ( ) ; dnstxtrec [ ] response = ( dnstxtrec [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch all the dnstxtrec resources that are configured on netscaler .
67
21
1,859
public static dnstxtrec [ ] get ( nitro_service service , dnstxtrec_args args ) throws Exception { dnstxtrec obj = new dnstxtrec ( ) ; options option = new options ( ) ; option . set_args ( nitro_util . object_to_string_withoutquotes ( args ) ) ; dnstxtrec [ ] response = ( dnstxtrec [ ] ) obj . get_resources ( service ...
Use this API to fetch all the dnstxtrec resources that are configured on netscaler . This uses dnstxtrec_args which is a way to provide additional arguments while fetching the resources .
111
44
1,860
public static dnstxtrec get ( nitro_service service , String domain ) throws Exception { dnstxtrec obj = new dnstxtrec ( ) ; obj . set_domain ( domain ) ; dnstxtrec response = ( dnstxtrec ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch dnstxtrec resource of given name .
73
15
1,861
public static dnstxtrec [ ] get ( nitro_service service , String domain [ ] ) throws Exception { if ( domain != null && domain . length > 0 ) { dnstxtrec response [ ] = new dnstxtrec [ domain . length ] ; dnstxtrec obj [ ] = new dnstxtrec [ domain . length ] ; for ( int i = 0 ; i < domain . length ; i ++ ) { obj [ i ] ...
Use this API to fetch dnstxtrec resources of given names .
159
15
1,862
public static bridgegroup_vlan_binding [ ] get ( nitro_service service , Long id ) throws Exception { bridgegroup_vlan_binding obj = new bridgegroup_vlan_binding ( ) ; obj . set_id ( id ) ; bridgegroup_vlan_binding response [ ] = ( bridgegroup_vlan_binding [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch bridgegroup_vlan_binding resources of given name .
89
17
1,863
public static long count ( nitro_service service , Long id ) throws Exception { bridgegroup_vlan_binding obj = new bridgegroup_vlan_binding ( ) ; obj . set_id ( id ) ; options option = new options ( ) ; option . set_count ( true ) ; bridgegroup_vlan_binding response [ ] = ( bridgegroup_vlan_binding [ ] ) obj . get_reso...
Use this API to count bridgegroup_vlan_binding resources configued on NetScaler .
117
20
1,864
public boolean accept ( String str ) { int k = str . length ( ) - 1 ; char c = str . charAt ( k ) ; while ( k >= 0 && ! Character . isDigit ( c ) ) { k -- ; if ( k >= 0 ) { c = str . charAt ( k ) ; } } if ( k < 0 ) { return false ; } int j = k ; c = str . charAt ( j ) ; while ( j >= 0 && Character . isDigit ( c ) ) { j...
Checks whether a String satisfies the number range selection filter . The test is evaluated based on the rightmost natural number found in the String . Note that this is just evaluated on the String as given . It is not trying to interpret it as a filename and to decide whether the file exists is a directory or anythin...
226
65
1,865
public static vlan_nsip_binding [ ] get ( nitro_service service , Long id ) throws Exception { vlan_nsip_binding obj = new vlan_nsip_binding ( ) ; obj . set_id ( id ) ; vlan_nsip_binding response [ ] = ( vlan_nsip_binding [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch vlan_nsip_binding resources of given name .
89
17
1,866
public static wisite_binding get ( nitro_service service , String sitepath ) throws Exception { wisite_binding obj = new wisite_binding ( ) ; obj . set_sitepath ( sitepath ) ; wisite_binding response = ( wisite_binding ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch wisite_binding resource of given name .
74
14
1,867
public static wisite_binding [ ] get ( nitro_service service , String sitepath [ ] ) throws Exception { if ( sitepath != null && sitepath . length > 0 ) { wisite_binding response [ ] = new wisite_binding [ sitepath . length ] ; wisite_binding obj [ ] = new wisite_binding [ sitepath . length ] ; for ( int i = 0 ; i < si...
Use this API to fetch wisite_binding resources of given names .
168
14
1,868
public static responderpolicylabel_responderpolicy_binding [ ] get ( nitro_service service , String labelname ) throws Exception { responderpolicylabel_responderpolicy_binding obj = new responderpolicylabel_responderpolicy_binding ( ) ; obj . set_labelname ( labelname ) ; responderpolicylabel_responderpolicy_binding re...
Use this API to fetch responderpolicylabel_responderpolicy_binding resources of given name .
117
22
1,869
public static vpnvserver_appcontroller_binding [ ] get ( nitro_service service , String name ) throws Exception { vpnvserver_appcontroller_binding obj = new vpnvserver_appcontroller_binding ( ) ; obj . set_name ( name ) ; vpnvserver_appcontroller_binding response [ ] = ( vpnvserver_appcontroller_binding [ ] ) obj . get...
Use this API to fetch vpnvserver_appcontroller_binding resources of given name .
99
19
1,870
public static base_response add ( nitro_service client , vpnsessionaction resource ) throws Exception { vpnsessionaction addresource = new vpnsessionaction ( ) ; addresource . name = resource . name ; addresource . httpport = resource . httpport ; addresource . winsip = resource . winsip ; addresource . dnsvservername ...
Use this API to add vpnsessionaction .
860
11
1,871
public static base_response update ( nitro_service client , vpnsessionaction resource ) throws Exception { vpnsessionaction updateresource = new vpnsessionaction ( ) ; updateresource . name = resource . name ; updateresource . httpport = resource . httpport ; updateresource . winsip = resource . winsip ; updateresource...
Use this API to update vpnsessionaction .
860
11
1,872
public static vpnsessionaction [ ] get ( nitro_service service ) throws Exception { vpnsessionaction obj = new vpnsessionaction ( ) ; vpnsessionaction [ ] response = ( vpnsessionaction [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch all the vpnsessionaction resources that are configured on netscaler .
67
21
1,873
public static vpnsessionaction get ( nitro_service service , String name ) throws Exception { vpnsessionaction obj = new vpnsessionaction ( ) ; obj . set_name ( name ) ; vpnsessionaction response = ( vpnsessionaction ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch vpnsessionaction resource of given name .
73
15
1,874
public static nslimitidentifier_binding get ( nitro_service service , String limitidentifier ) throws Exception { nslimitidentifier_binding obj = new nslimitidentifier_binding ( ) ; obj . set_limitidentifier ( limitidentifier ) ; nslimitidentifier_binding response = ( nslimitidentifier_binding ) obj . get_resource ( se...
Use this API to fetch nslimitidentifier_binding resource of given name .
84
16
1,875
public static base_response add ( nitro_service client , sslocspresponder resource ) throws Exception { sslocspresponder addresource = new sslocspresponder ( ) ; addresource . name = resource . name ; addresource . url = resource . url ; addresource . cache = resource . cache ; addresource . cachetimeout = resource . c...
Use this API to add sslocspresponder .
214
12
1,876
public static base_responses add ( nitro_service client , sslocspresponder resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { sslocspresponder addresources [ ] = new sslocspresponder [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i...
Use this API to add sslocspresponder resources .
363
13
1,877
public static base_response update ( nitro_service client , sslocspresponder resource ) throws Exception { sslocspresponder updateresource = new sslocspresponder ( ) ; updateresource . name = resource . name ; updateresource . url = resource . url ; updateresource . cache = resource . cache ; updateresource . cachetime...
Use this API to update sslocspresponder .
214
12
1,878
public static base_responses update ( nitro_service client , sslocspresponder resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { sslocspresponder updateresources [ ] = new sslocspresponder [ resources . length ] ; for ( int i = 0 ; i < resources . leng...
Use this API to update sslocspresponder resources .
363
13
1,879
public static base_response unset ( nitro_service client , sslocspresponder resource , String [ ] args ) throws Exception { sslocspresponder unsetresource = new sslocspresponder ( ) ; unsetresource . name = resource . name ; unsetresource . insertclientcert = resource . insertclientcert ; return unsetresource . unset_r...
Use this API to unset the properties of sslocspresponder resource . Properties that need to be unset are specified in args array .
90
30
1,880
public static sslocspresponder [ ] get ( nitro_service service ) throws Exception { sslocspresponder obj = new sslocspresponder ( ) ; sslocspresponder [ ] response = ( sslocspresponder [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch all the sslocspresponder resources that are configured on netscaler .
72
22
1,881
public static sslocspresponder get ( nitro_service service , String name ) throws Exception { sslocspresponder obj = new sslocspresponder ( ) ; obj . set_name ( name ) ; sslocspresponder response = ( sslocspresponder ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch sslocspresponder resource of given name .
78
16
1,882
public static base_response add ( nitro_service client , nslimitselector resource ) throws Exception { nslimitselector addresource = new nslimitselector ( ) ; addresource . selectorname = resource . selectorname ; addresource . rule = resource . rule ; return addresource . add_resource ( client ) ; }
Use this API to add nslimitselector .
71
10
1,883
public static base_responses update ( nitro_service client , nslimitselector resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { nslimitselector updateresources [ ] = new nslimitselector [ resources . length ] ; for ( int i = 0 ; i < resources . length ...
Use this API to update nslimitselector resources .
152
11
1,884
public static base_response unset ( nitro_service client , nslimitselector resource , String [ ] args ) throws Exception { nslimitselector unsetresource = new nslimitselector ( ) ; unsetresource . selectorname = resource . selectorname ; return unsetresource . unset_resource ( client , args ) ; }
Use this API to unset the properties of nslimitselector resource . Properties that need to be unset are specified in args array .
74
28
1,885
public static base_responses unset ( nitro_service client , String selectorname [ ] , String args [ ] ) throws Exception { base_responses result = null ; if ( selectorname != null && selectorname . length > 0 ) { nslimitselector unsetresources [ ] = new nslimitselector [ selectorname . length ] ; for ( int i = 0 ; i < ...
Use this API to unset the properties of nslimitselector resources . Properties that need to be unset are specified in args array .
155
28
1,886
public static nslimitselector [ ] get ( nitro_service service ) throws Exception { nslimitselector obj = new nslimitselector ( ) ; nslimitselector [ ] response = ( nslimitselector [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch all the nslimitselector resources that are configured on netscaler .
62
20
1,887
public static nslimitselector get ( nitro_service service , String selectorname ) throws Exception { nslimitselector obj = new nslimitselector ( ) ; obj . set_selectorname ( selectorname ) ; nslimitselector response = ( nslimitselector ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch nslimitselector resource of given name .
74
14
1,888
public static nstrafficdomain_binding get ( nitro_service service , Long td ) throws Exception { nstrafficdomain_binding obj = new nstrafficdomain_binding ( ) ; obj . set_td ( td ) ; nstrafficdomain_binding response = ( nstrafficdomain_binding ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch nstrafficdomain_binding resource of given name .
78
16
1,889
public static nstrafficdomain_binding [ ] get ( nitro_service service , Long td [ ] ) throws Exception { if ( td != null && td . length > 0 ) { nstrafficdomain_binding response [ ] = new nstrafficdomain_binding [ td . length ] ; nstrafficdomain_binding obj [ ] = new nstrafficdomain_binding [ td . length ] ; for ( int i...
Use this API to fetch nstrafficdomain_binding resources of given names .
166
16
1,890
public static cmppolicylabel_cmppolicy_binding [ ] get ( nitro_service service , String labelname ) throws Exception { cmppolicylabel_cmppolicy_binding obj = new cmppolicylabel_cmppolicy_binding ( ) ; obj . set_labelname ( labelname ) ; cmppolicylabel_cmppolicy_binding response [ ] = ( cmppolicylabel_cmppolicy_binding ...
Use this API to fetch cmppolicylabel_cmppolicy_binding resources of given name .
112
21
1,891
public static base_response update ( nitro_service client , appfwlearningsettings resource ) throws Exception { appfwlearningsettings updateresource = new appfwlearningsettings ( ) ; updateresource . profilename = resource . profilename ; updateresource . starturlminthreshold = resource . starturlminthreshold ; updater...
Use this API to update appfwlearningsettings .
413
11
1,892
public static base_responses update ( nitro_service client , appfwlearningsettings resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { appfwlearningsettings updateresources [ ] = new appfwlearningsettings [ resources . length ] ; for ( int i = 0 ; i < r...
Use this API to update appfwlearningsettings resources .
597
12
1,893
public static appfwlearningsettings [ ] get ( nitro_service service ) throws Exception { appfwlearningsettings obj = new appfwlearningsettings ( ) ; appfwlearningsettings [ ] response = ( appfwlearningsettings [ ] ) obj . get_resources ( service ) ; return response ; }
Use this API to fetch all the appfwlearningsettings resources that are configured on netscaler .
67
21
1,894
public static appfwlearningsettings get ( nitro_service service , String profilename ) throws Exception { appfwlearningsettings obj = new appfwlearningsettings ( ) ; obj . set_profilename ( profilename ) ; appfwlearningsettings response = ( appfwlearningsettings ) obj . get_resource ( service ) ; return response ; }
Use this API to fetch appfwlearningsettings resource of given name .
79
15
1,895
public static appfwlearningsettings [ ] get_filtered ( nitro_service service , filtervalue [ ] filter ) throws Exception { appfwlearningsettings obj = new appfwlearningsettings ( ) ; options option = new options ( ) ; option . set_filter ( filter ) ; appfwlearningsettings [ ] response = ( appfwlearningsettings [ ] ) ob...
Use this API to fetch filtered set of appfwlearningsettings resources . set the filter parameter values in filtervalue object .
95
25
1,896
public static lbvserver_appflowpolicy_binding [ ] get ( nitro_service service , String name ) throws Exception { lbvserver_appflowpolicy_binding obj = new lbvserver_appflowpolicy_binding ( ) ; obj . set_name ( name ) ; lbvserver_appflowpolicy_binding response [ ] = ( lbvserver_appflowpolicy_binding [ ] ) obj . get_reso...
Use this API to fetch lbvserver_appflowpolicy_binding resources of given name .
99
19
1,897
public static base_response add ( nitro_service client , dnsaaaarec resource ) throws Exception { dnsaaaarec addresource = new dnsaaaarec ( ) ; addresource . hostname = resource . hostname ; addresource . ipv6address = resource . ipv6address ; addresource . ttl = resource . ttl ; return addresource . add_resource ( cli...
Use this API to add dnsaaaarec .
89
11
1,898
public static base_responses add ( nitro_service client , dnsaaaarec resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { dnsaaaarec addresources [ ] = new dnsaaaarec [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addresourc...
Use this API to add dnsaaaarec resources .
177
12
1,899
public static base_response delete ( nitro_service client , dnsaaaarec resource ) throws Exception { dnsaaaarec deleteresource = new dnsaaaarec ( ) ; deleteresource . hostname = resource . hostname ; deleteresource . ipv6address = resource . ipv6address ; return deleteresource . delete_resource ( client ) ; }
Use this API to delete dnsaaaarec .
78
11