Skip to content

NetworkRoute

Source code in docs_src/capo_networkmanager/types/network_route.py
class NetworkRoute(TypedDict, closed=True):
    destination_cidr_block: NotRequired[
        "capo_networkmanager.types.constrained_string.ConstrainedString"
    ]
    """<p>A unique identifier for the route, such as a CIDR block.</p>"""
    destinations: NotRequired[
        "capo_networkmanager.types.network_route_destination_list.NetworkRouteDestinationList"
    ]
    """<p>The destinations.</p>"""
    prefix_list_id: NotRequired[
        "capo_networkmanager.types.constrained_string.ConstrainedString"
    ]
    """<p>The ID of the prefix list.</p>"""
    state: NotRequired["capo_networkmanager.types.route_state.RouteState"]
    """<p>The route state. The possible values are <code>active</code> and <code>blackhole</code>.</p>"""
    type: NotRequired["capo_networkmanager.types.route_type.RouteType"]
    """<p>The route type. The possible values are <code>propagated</code> and <code>static</code>.</p>"""

destination_cidr_block instance-attribute

destination_cidr_block: NotRequired[ConstrainedString]

A unique identifier for the route, such as a CIDR block.

destinations instance-attribute

destinations: NotRequired[NetworkRouteDestinationList]

The destinations.

prefix_list_id instance-attribute

prefix_list_id: NotRequired[ConstrainedString]

The ID of the prefix list.

state instance-attribute

state: NotRequired[RouteState]

The route state. The possible values are active and blackhole.

type instance-attribute

type: NotRequired[RouteType]

The route type. The possible values are propagated and static.