2019-02-25 14:48:22 +01:00
|
|
|
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
2014-10-17 19:44:31 +02:00
|
|
|
|
2015-08-15 20:28:05 +02:00
|
|
|
#include "base/configobject.hpp"
|
2014-05-03 20:02:22 +02:00
|
|
|
|
2015-08-04 14:47:44 +02:00
|
|
|
library remote;
|
|
|
|
|
2014-05-03 20:02:22 +02:00
|
|
|
namespace icinga
|
|
|
|
{
|
|
|
|
|
2015-08-15 20:28:05 +02:00
|
|
|
class Zone : ConfigObject
|
2014-05-03 20:02:22 +02:00
|
|
|
{
|
2022-06-20 15:25:40 +02:00
|
|
|
[config, no_user_modify, navigation] name(Zone) parent (ParentRaw) {
|
2015-09-22 09:42:30 +02:00
|
|
|
navigate {{{
|
|
|
|
return Zone::GetByName(GetParentRaw());
|
|
|
|
}}}
|
|
|
|
};
|
|
|
|
|
2015-08-25 13:53:43 +02:00
|
|
|
[config] array(name(Endpoint)) endpoints (EndpointsRaw);
|
2014-06-10 11:40:43 +02:00
|
|
|
[config] bool global;
|
2018-08-08 14:15:01 +02:00
|
|
|
[no_user_modify, no_storage] array(Value) all_parents {
|
|
|
|
get;
|
|
|
|
};
|
2014-05-03 20:02:22 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|