mirror of https://github.com/Icinga/icinga2.git
Extend 09-object-types.md with argument array
Add a small snippet demonstrating how to define an argument array instead of a simple string.
This commit is contained in:
parent
3cccc9d9b8
commit
99a4ee0ad9
|
@ -230,6 +230,12 @@ Argument order:
|
|||
..., -3, -2, -1, <un-ordered keys>, 1, 2, 3, ...
|
||||
```
|
||||
|
||||
Define argument array:
|
||||
|
||||
```
|
||||
value = "[ 'one', 'two', 'three' ]"
|
||||
```
|
||||
|
||||
Argument array with `repeat_key = true`:
|
||||
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue