Skip to main content

HealthMetricMapCollection Schema

Data structure for Health Metric Map Collection objects.

Item Type​

This is a collection (list) of HealthMetricMap items.

Usage​

# Example: Working with HealthMetricMapCollection
items = [
{"category":"category-value-1","instances":[]},
{"category":"category-value-2","instances":[]}
]

# Pass to an action that requires this collection type
resource.some_action(body=items)

JSON Example​

[
{
"category": "category-value-1",
"instances": []
},
{
"category": "category-value-2",
"instances": []
}
]