예제 #1
0
파일: nsip.java 프로젝트: netscaler/nitro
 /** 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");
 }
예제 #2
0
파일: nsip.java 프로젝트: netscaler/nitro
 /** 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");
 }