Route Class
Route resource.
- Inheritance
-
azure.mgmt.network.v2017_10_01.models._models_py3.SubResourceRoute
Constructor
Route(*, id: typing.Union[str, NoneType] = None, name: typing.Union[str, NoneType] = None, etag: typing.Union[str, NoneType] = None, address_prefix: typing.Union[str, NoneType] = None, next_hop_type: typing.Union[str, _ForwardRef('RouteNextHopType'), NoneType] = None, next_hop_ip_address: typing.Union[str, NoneType] = None, provisioning_state: typing.Union[str, NoneType] = None, **kwargs)
Parameters
- id
- str
Resource ID.
- name
- str
The name of the resource that is unique within a resource group. This name can be used to access the resource.
- etag
- str
A unique read-only string that changes whenever the resource is updated.
- address_prefix
- str
The destination CIDR to which the route applies.
- next_hop_type
- str or RouteNextHopType
The type of Azure hop the packet should be sent to. Possible values are: 'VirtualNetworkGateway', 'VnetLocal', 'Internet', 'VirtualAppliance', and 'None'. Possible values include: "VirtualNetworkGateway", "VnetLocal", "Internet", "VirtualAppliance", "None".
- next_hop_ip_address
- str
The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
- provisioning_state
- str
The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
Feedback
Submit and view feedback for