Skip to main content

MachineGroupCollection Schema

Data structure for Machine Group Collection objects.

Item Type​

This is a collection (list) of MachineGroup items.

Usage​

# Example: Working with MachineGroupCollection
items = [
{"id":1,"modified_time":1,"creation_time":1,"modified_by":1,"name":"name-value-1"},
{"id":2,"modified_time":2,"creation_time":2,"modified_by":2,"name":"name-value-2"}
]

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

JSON Example​

[
{
"id": 1,
"modified_time": 1,
"creation_time": 1,
"modified_by": 1,
"name": "name-value-1"
},
{
"id": 2,
"modified_time": 2,
"creation_time": 2,
"modified_by": 2,
"name": "name-value-2"
}
]