PortRangeWrapperCollection Schema
Data structure for Port Range Wrapper Collection objects.
Item Type
This is a collection (list) of PortRange items.
Usage
# Example: Working with PortRangeWrapperCollection
items = [
{"start":1,"end":1,"name":"name-value-1"},
{"start":2,"end":2,"name":"name-value-2"}
]
# Pass to an action that requires this collection type
resource.some_action(body=items)
JSON Example
[
{
"start": 1,
"end": 1,
"name": "name-value-1"
},
{
"start": 2,
"end": 2,
"name": "name-value-2"
}
]