Beispiel #1
0
 /** Use this API to disable nsip. */
 public static base_response disable(nitro_service client, nsip resource) throws Exception {
   nsip disableresource = new nsip();
   disableresource.ipaddress = resource.ipaddress;
   disableresource.td = resource.td;
   return disableresource.perform_operation(client, "disable");
 }
Beispiel #2
0
 /** Use this API to enable nsip of given name. */
 public static base_response enable(nitro_service client, String ipaddress) throws Exception {
   nsip enableresource = new nsip();
   enableresource.ipaddress = ipaddress;
   return enableresource.perform_operation(client, "enable");
 }