public static servicegroup[] get(nitro_service service, servicegroup_args args) throws Exception{
		servicegroup obj = new servicegroup();
		options option = new options();
		option.set_args(nitro_util.object_to_string_withoutquotes(args));
		servicegroup[] response = (servicegroup[])obj.get_resources(service, option);
		return response;
	}
public static servicegroup [ ] get ( nitro_service service , servicegroup_args args ) throws Exception { servicegroup obj = new servicegroup ( ) ; options option = new options ( ) ; option . set_args ( nitro_util . object_to_string_withoutquotes ( args ) ) ; servicegroup [ ] response = ( servicegroup [ ] ) obj . get_resources ( service , option ) ; return response ; }
Use this API to fetch all the servicegroup resources that are configured on netscaler.
This uses servicegroup_args which is a way to provide additional arguments while fetching the resources.