Package com.citrix.sdx.nitro.service

Examples of com.citrix.sdx.nitro.service.options


  * filter string should be in JSON format.eg: "vm_state:DOWN,name:[a-z]+"
  */
  public static version_recommendations[] get_filtered(nitro_service service, String filter) throws Exception
  {
    version_recommendations obj = new version_recommendations();
    options option = new options();
    option.set_filter(filter);
    version_recommendations[] response = (version_recommendations[]) obj.getfiltered(service, option);
    return response;
  }
View Full Code Here


  * set the filter parameter values in filtervalue object.
  */
  public static version_recommendations[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception
  {
    version_recommendations obj = new version_recommendations();
    options option = new options();
    option.set_filter(filter);
    version_recommendations[] response = (version_recommendations[]) obj.getfiltered(service, option);
    return response;
  }
View Full Code Here

  * filter string should be in JSON format.eg: "vm_state:DOWN,name:[a-z]+"
  */
  public static br_app_by_wan_volume[] get_filtered(nitro_service service, String filter) throws Exception
  {
    br_app_by_wan_volume obj = new br_app_by_wan_volume();
    options option = new options();
    option.set_filter(filter);
    br_app_by_wan_volume[] response = (br_app_by_wan_volume[]) obj.getfiltered(service, option);
    return response;
  }
View Full Code Here

  * Use this API to count the version_recommendations resources configured on NetScaler SDX.
  */
  public static long count(nitro_service service) throws Exception
  {
    version_recommendations obj = new version_recommendations();
    options option = new options();
    option.set_count(true);
    version_recommendations[] response = (version_recommendations[])obj.get_resources(service, option);
    if (response != null && response.length > 0)
      return response[0].__count;
    return 0;
  }
View Full Code Here

  * set the filter parameter values in filtervalue object.
  */
  public static br_app_by_wan_volume[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception
  {
    br_app_by_wan_volume obj = new br_app_by_wan_volume();
    options option = new options();
    option.set_filter(filter);
    br_app_by_wan_volume[] response = (br_app_by_wan_volume[]) obj.getfiltered(service, option);
    return response;
  }
View Full Code Here

  * filter string should be in JSON format.eg: "vm_state:DOWN,name:[a-z]+"
  */
  public static long count_filtered(nitro_service service, String filter) throws Exception
  {
    version_recommendations obj = new version_recommendations();
    options option = new options();
    option.set_count(true);
    option.set_filter(filter);
    version_recommendations[] response = (version_recommendations[])obj.get_resources(service, option);
    if (response != null && response.length > 0)
      return response[0].__count;
    return 0;
  }
View Full Code Here

  * Use this API to count the br_app_by_wan_volume resources configured on NetScaler SDX.
  */
  public static long count(nitro_service service) throws Exception
  {
    br_app_by_wan_volume obj = new br_app_by_wan_volume();
    options option = new options();
    option.set_count(true);
    br_app_by_wan_volume[] response = (br_app_by_wan_volume[])obj.get_resources(service, option);
    if (response != null && response.length > 0)
      return response[0].__count;
    return 0;
  }
View Full Code Here

  * set the filter parameter values in filtervalue object.
  */
  public static long count_filtered(nitro_service service, filtervalue[] filter) throws Exception
  {
    version_recommendations obj = new version_recommendations();
    options option = new options();
    option.set_count(true);
    option.set_filter(filter);
    version_recommendations[] response = (version_recommendations[])obj.get_resources(service, option);
    if (response != null && response.length > 0)
      return response[0].__count;
    return 0;
  }
View Full Code Here

  * filter string should be in JSON format.eg: "vm_state:DOWN,name:[a-z]+"
  */
  public static long count_filtered(nitro_service service, String filter) throws Exception
  {
    br_app_by_wan_volume obj = new br_app_by_wan_volume();
    options option = new options();
    option.set_count(true);
    option.set_filter(filter);
    br_app_by_wan_volume[] response = (br_app_by_wan_volume[])obj.get_resources(service, option);
    if (response != null && response.length > 0)
      return response[0].__count;
    return 0;
  }
View Full Code Here

  * set the filter parameter values in filtervalue object.
  */
  public static long count_filtered(nitro_service service, filtervalue[] filter) throws Exception
  {
    br_app_by_wan_volume obj = new br_app_by_wan_volume();
    options option = new options();
    option.set_count(true);
    option.set_filter(filter);
    br_app_by_wan_volume[] response = (br_app_by_wan_volume[])obj.get_resources(service, option);
    if (response != null && response.length > 0)
      return response[0].__count;
    return 0;
  }
View Full Code Here

TOP

Related Classes of com.citrix.sdx.nitro.service.options

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.