예제 #1
0
 /** Use this API to count the sslwrapkey resources configured on NetScaler. */
 public static long count(nitro_service service) throws Exception {
   sslwrapkey obj = new sslwrapkey();
   options option = new options();
   option.set_count(true);
   sslwrapkey[] response = (sslwrapkey[]) obj.get_resources(service, option);
   if (response != null) {
     return response[0].__count;
   }
   return 0;
 }
예제 #2
0
 /** Use this API to fetch all the sslwrapkey resources that are configured on netscaler. */
 public static sslwrapkey[] get(nitro_service service, options option) throws Exception {
   sslwrapkey obj = new sslwrapkey();
   sslwrapkey[] response = (sslwrapkey[]) obj.get_resources(service, option);
   return response;
 }