GreTunnelsList Schema
Data structure for Gre Tunnels List objects.
Item Type
This is a collection (list) of GreTunnel items.
Usage
# Example: Working with GreTunnelsList
items = [
{"comment":"comment-value-1","id":1,"internal_ip_range":"internal_ip_range-value-1","ip_unnumbered":true,"last_modification_time":1},
{"comment":"comment-value-2","id":2,"internal_ip_range":"internal_ip_range-value-2","ip_unnumbered":true,"last_modification_time":2}
]
# Pass to an action that requires this collection type
resource.some_action(body=items)
JSON Example
[
{
"comment": "comment-value-1",
"id": 1,
"internal_ip_range": "internal_ip_range-value-1",
"ip_unnumbered": true,
"last_modification_time": 1
},
{
"comment": "comment-value-2",
"id": 2,
"internal_ip_range": "internal_ip_range-value-2",
"ip_unnumbered": true,
"last_modification_time": 2
}
]