mirror of
				https://github.com/Icinga/icinga2.git
				synced 2025-10-31 11:14:10 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			441 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			441 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
 | |
| 
 | |
| #include "base/configobject.hpp"
 | |
| 
 | |
| library remote;
 | |
| 
 | |
| namespace icinga
 | |
| {
 | |
| 
 | |
| class Zone : ConfigObject
 | |
| {
 | |
| 	[config, no_user_modify, navigation] name(Zone) parent (ParentRaw) {
 | |
| 		navigate {{{
 | |
| 			return Zone::GetByName(GetParentRaw());
 | |
| 		}}}
 | |
| 	};
 | |
| 
 | |
| 	[config] array(name(Endpoint)) endpoints (EndpointsRaw);
 | |
| 	[config] bool global;
 | |
| 	[no_user_modify, no_storage] array(Value) all_parents {
 | |
| 		get;
 | |
| 	};
 | |
| };
 | |
| 
 | |
| }
 |