Skip to main content

ExpressionContainerCollection Schema

Data structure for Expression Container Collection objects.

Item Type​

This is a collection (list) of ExpressionContainer items.

Usage​

# Example: Working with ExpressionContainerCollection
items = [
{"operator":"operator-value-1","tag_container":{"operator":"operator-value-1","tags":[]},"tag_type":"tag_type-value-1"},
{"operator":"operator-value-2","tag_container":{"operator":"operator-value-2","tags":[]},"tag_type":"tag_type-value-2"}
]

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

JSON Example​

[
{
"operator": "operator-value-1",
"tag_container": {
"operator": "operator-value-1",
"tags": []
},
"tag_type": "tag_type-value-1"
},
{
"operator": "operator-value-2",
"tag_container": {
"operator": "operator-value-2",
"tags": []
},
"tag_type": "tag_type-value-2"
}
]