Skip to main content

AppPortRangeCollection Schema

Data structure for App Port Range Collection objects.

Item Type​

This is a collection (list) of AppPortRange items.

Usage​

# Example: Working with AppPortRangeCollection
items = [
{"from":1,"to":1},
{"from":2,"to":2}
]

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

JSON Example​

[
{
"from": 1,
"to": 1
},
{
"from": 2,
"to": 2
}
]