mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-28 16:14:09 +02:00
parent
7f3c5edd38
commit
e4ae789a7c
@ -623,12 +623,16 @@ parameters need to be passed inside the JSON body:
|
|||||||
|
|
||||||
In addition to these parameters a [filter](12-icinga2-api.md#icinga2-api-filters) should be provided.
|
In addition to these parameters a [filter](12-icinga2-api.md#icinga2-api-filters) should be provided.
|
||||||
|
|
||||||
**Note**: Modified attributes do not trigger a re-evaluation of existing
|
> **Note**:
|
||||||
static [apply rules](3-monitoring-basics.md#using-apply) and [group assignments](3-monitoring-basics.md#group-assign-intro).
|
>
|
||||||
Delete and re-create the objects if you require such changes.
|
> Modified attributes do not trigger a re-evaluation of existing
|
||||||
Furthermore you cannot modify templates which have already been resolved
|
> static [apply rules](3-monitoring-basics.md#using-apply) and [group assignments](3-monitoring-basics.md#group-assign-intro).
|
||||||
during [object creation](12-icinga2-api.md#icinga2-api-config-objects-create).
|
> Delete and re-create the objects if you require such changes.
|
||||||
|
>
|
||||||
|
> Furthermore you cannot modify templates which have already been resolved
|
||||||
|
> during [object creation](12-icinga2-api.md#icinga2-api-config-objects-create).
|
||||||
|
> There are attributes which can only be set for [PUT requests](12-icinga2-api.md#icinga2-api-config-objects-create) such as `groups`
|
||||||
|
> or `zone`. A complete list of `no_user_modify` attributes can be fetched from the [types](12-icinga2-api.md#icinga2-api-types) URL endpoint.
|
||||||
|
|
||||||
If attributes are of the Dictionary type, you can also use the indexer format:
|
If attributes are of the Dictionary type, you can also use the indexer format:
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@ abstract class ConfigObject : ConfigObjectBase < ConfigType
|
|||||||
return m_ShortName;
|
return m_ShortName;
|
||||||
}}}
|
}}}
|
||||||
};
|
};
|
||||||
[config] name(Zone) zone (ZoneName);
|
[config, no_user_modify] name(Zone) zone (ZoneName);
|
||||||
[config, no_user_modify] String package;
|
[config, no_user_modify] String package;
|
||||||
[config, get_protected, no_user_modify] Array::Ptr templates;
|
[config, get_protected, no_user_modify] Array::Ptr templates;
|
||||||
[get_protected, no_user_modify] bool active;
|
[get_protected, no_user_modify] bool active;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user