EcInstanceWrapperCollection Schema
Data structure for Ec Instance Wrapper Collection objects.
Item Type
This is a collection (list) of EcInstance items.
Usage
# Example: Working with EcInstanceWrapperCollection
items = [
{"ec_instance_type":"ec_instance_type-value-1","flags":"flags-value-1","id":1,"name":"name-value-1","nat_ip":"nat_ip-value-1"},
{"ec_instance_type":"ec_instance_type-value-2","flags":"flags-value-2","id":2,"name":"name-value-2","nat_ip":"nat_ip-value-2"}
]
# Pass to an action that requires this collection type
resource.some_action(body=items)
JSON Example
[
{
"ec_instance_type": "ec_instance_type-value-1",
"flags": "flags-value-1",
"id": 1,
"name": "name-value-1",
"nat_ip": "nat_ip-value-1"
},
{
"ec_instance_type": "ec_instance_type-value-2",
"flags": "flags-value-2",
"id": 2,
"name": "name-value-2",
"nat_ip": "nat_ip-value-2"
}
]