You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* added calculated properties
* fixed tests
* added support for team array
* fixed issues with teams state
* gen docs
---------
Co-authored-by: root <[email protected]>
Copy file name to clipboardExpand all lines: docs/resources/blueprint.md
+21-1Lines changed: 21 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -17,16 +17,17 @@ Port blueprint
17
17
18
18
### Required
19
19
20
-
-`icon` (String) The icon of the blueprint
21
20
-`identifier` (String) The identifier of the blueprint
22
21
-`properties` (Block Set, Min: 1) The metadata of the entity (see [below for nested schema](#nestedblock--properties))
23
22
-`title` (String) The display name of the blueprint
24
23
25
24
### Optional
26
25
26
+
-`calculation_properties` (Block Set) A set of properties that are calculated upon Entitys regular properties. (see [below for nested schema](#nestedblock--calculation_properties))
27
27
-`changelog_destination` (Block List, Max: 1) Blueprints changelog destination, Supports WEBHOOK and KAFKA (see [below for nested schema](#nestedblock--changelog_destination))
28
28
-`data_source` (String, Deprecated) The data source for entities of this blueprint
29
29
-`description` (String) The description of the blueprint
30
+
-`icon` (String) The icon of the blueprint
30
31
-`mirror_properties` (Block Set) When two Blueprints are connected via a Relation, a new set of properties becomes available to Entities in the source Blueprint. (see [below for nested schema](#nestedblock--mirror_properties))
31
32
-`relations` (Block Set) The blueprints that are connected to this blueprint (see [below for nested schema](#nestedblock--relations))
32
33
@@ -59,6 +60,25 @@ Optional:
59
60
-`required` (Boolean) Whether or not the property is required
60
61
61
62
63
+
<aid="nestedblock--calculation_properties"></a>
64
+
### Nested Schema for `calculation_properties`
65
+
66
+
Required:
67
+
68
+
-`calculation` (String) A jq expression that calculates the value of the property, for instance "'https://grafana.' + .identifier"
69
+
-`identifier` (String) The identifier of the property
70
+
-`type` (String) The type of the property
71
+
72
+
Optional:
73
+
74
+
-`colorized` (Boolean) Whether or not the property is colorized
75
+
-`colors` (Map of String) A map of colors for the property
76
+
-`description` (String) The description of the property
0 commit comments