Source code for azure.mgmt.network.v2018_07_01.models.express_route_circuit_routes_table_py3

# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


[docs]class ExpressRouteCircuitRoutesTable(Model): """The routes table associated with the ExpressRouteCircuit. :param network: IP address of a network entity :type network: str :param next_hop: NextHop address :type next_hop: str :param loc_prf: Local preference value as set with the set local-preference route-map configuration command :type loc_prf: str :param weight: Route Weight. :type weight: int :param path: Autonomous system paths to the destination network. :type path: str """ _attribute_map = { 'network': {'key': 'network', 'type': 'str'}, 'next_hop': {'key': 'nextHop', 'type': 'str'}, 'loc_prf': {'key': 'locPrf', 'type': 'str'}, 'weight': {'key': 'weight', 'type': 'int'}, 'path': {'key': 'path', 'type': 'str'}, } def __init__(self, *, network: str=None, next_hop: str=None, loc_prf: str=None, weight: int=None, path: str=None, **kwargs) -> None: super(ExpressRouteCircuitRoutesTable, self).__init__(**kwargs) self.network = network self.next_hop = next_hop self.loc_prf = loc_prf self.weight = weight self.path = path