public static physical_disk[] get_filtered(nitro_service service, String filter) throws Exception
	{
		physical_disk obj = new physical_disk();
		options option = new options();
		option.set_filter(filter);
		physical_disk[] response = (physical_disk[]) obj.getfiltered(service, option);
		return response;
	}
public static physical_disk [ ] get_filtered ( nitro_service service , String filter ) throws Exception { physical_disk obj = new physical_disk ( ) ; options option = new options ( ) ; option . set_filter ( filter ) ; physical_disk [ ] response = ( physical_disk [ ] ) obj . getfiltered ( service , option ) ; return response ; }
Use this API to fetch filtered set of physical_disk resources.
filter string should be in JSON format.eg: "vm_state:DOWN,name:[a-z]+"