2026-01-27 09:06:40 -05:00
|
|
|
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2014-10-17 13:44:31 -04:00
|
|
|
|
2015-08-15 14:28:05 -04:00
|
|
|
#include "base/configobject.hpp"
|
2014-05-03 14:02:22 -04:00
|
|
|
|
2015-08-04 08:47:44 -04:00
|
|
|
library remote;
|
|
|
|
|
|
2014-05-03 14:02:22 -04:00
|
|
|
namespace icinga
|
|
|
|
|
{
|
|
|
|
|
|
2015-08-15 14:28:05 -04:00
|
|
|
class Zone : ConfigObject
|
2014-05-03 14:02:22 -04:00
|
|
|
{
|
2022-06-20 09:25:40 -04:00
|
|
|
[config, no_user_modify, navigation] name(Zone) parent (ParentRaw) {
|
2015-09-22 03:42:30 -04:00
|
|
|
navigate {{{
|
|
|
|
|
return Zone::GetByName(GetParentRaw());
|
|
|
|
|
}}}
|
|
|
|
|
};
|
|
|
|
|
|
2015-08-25 07:53:43 -04:00
|
|
|
[config] array(name(Endpoint)) endpoints (EndpointsRaw);
|
2014-06-10 05:40:43 -04:00
|
|
|
[config] bool global;
|
2018-08-08 08:15:01 -04:00
|
|
|
[no_user_modify, no_storage] array(Value) all_parents {
|
|
|
|
|
get;
|
|
|
|
|
};
|
2014-05-03 14:02:22 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}
|