icinga2/lib/remote/zone.ti
Alexander A. Klimov b939a96076 Forbid Zone#endpoints modification
The cluster tree can't be runtime-altered anyway.
2023-08-15 12:37:52 +02:00

26 lines
457 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, no_user_modify] array(name(Endpoint)) endpoints (EndpointsRaw);
[config] bool global;
[no_user_modify, no_storage] array(Value) all_parents {
get;
};
};
}