{"type":"model","meta":{"id":"/apps/pubhub/media/cloud-security-gov/cdd8786b84e1e4d80528d0eeb25987c136a18549/9ac6e75b-d8b8-3687-ab41-997436170333","info":{"title":"Cisco Umbrella for Government Network Tunnel Groups and Regions API","description":"Manage the Network Tunnel Groups in the organization.","version":"1.0.0","contact":{"name":"Cloud Security Developer Community"}},"security":[{"oauthFlow":[]}],"tags":[{"name":"Network Tunnel Groups","description":"Network Tunnel Groups API endpoints"},{"name":"Network Tunnel Groups Regions","description":"Network Tunnel Groups Regions API endpoints"},{"name":"Network Tunnel Groups State","description":"Network Tunnel Groups State API endpoints"},{"name":"Network Tunnel Groups Peer State","description":"Network Tunnel Groups Peer State API endpoints"},{"name":"Umbrella"}],"x-parser-conf":{"overview":{"markdownPath":"reference/deployments/network-tunnel-groups-overview.md"}},"openapi":"3.0.3","servers":[{"url":"https://api.umbrellagov.com/{basePath}","variables":{"basePath":{"default":"deployments/v2"}}}],"securitySchemes":{"oauthFlow":{"type":"oauth2","description":"client credential flow","flows":{"clientCredentials":{"tokenUrl":"https://api.umbrellagov.com/auth/v2/token","scopes":{"deployments.networktunnelgroups:read":"Read network tunnel groups deployments","deployments.networktunnelgroups:write":"Write network tunnel groups deployments","deployments.regions:read":"Read regions for network tunnel groups deployments"}}}}}},"spec":{"type":"object","description":"The routing information for the network tunnel.\nThe `nat` routing type is used when the tunnels in your organization connect to network spaces with overlapping IP address spaces.\n\nIf the routing type is `nat`, then set the `data` field to null or an empty string.\nIf the routing type is `bgp`, then set the `data` field with the `asNumber` field.\nIf the routing type is `static`, then set the `data` field with the `networkCIDRs` field.","required":["type","data"],"properties":{"type":{"type":"string","description":"The type of the route.","enum":["static","bgp","nat"]},"data":{"description":"The list of network CIDR addresses or the autonomous system (AS) number.","oneOf":[{"type":"object","description":"The list of network CIDRs.","required":["networkCIDRs"],"properties":{"networkCIDRs":{"type":"array","description":"The public and private address ranges that are used internally by your organization.","items":{"type":"string","example":"123.111.222.25/24"},"example":["123.111.222.25/24"],"$$ref":"#/components/schemas/networkCIDRS"}},"example":{"networkCIDRs":["123.111.222.25/24","111.222.39.1/32"]},"$$ref":"#/components/schemas/staticDataRequestObj"},{"type":"object","description":"The autonomous system (AS) number for the private access tunnels.","required":["asNumber"],"properties":{"asNumber":{"type":"string","description":"The border gateway protocol (BGP) autonomous system (AS) number for private access network tunnels.\nOnly required for the `bgp` routing type. Any other routing types except `bgp` are ignored.\nSpecify an integer between 0–65536.","example":"5432","$$ref":"#/components/schemas/asNumber"}},"example":{"asNumber":"5432"},"$$ref":"#/components/schemas/bgpDataRequestObj"},{"type":"string"}],"example":{"networkCIDRs":["123.111.222.25/24","111.222.39.1/32"]}}},"example":{"type":"bgp","data":{"asNumber":"5432"}},"title":"routingRequest"}}