Route Class
Route resource.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.network.models._models_py3.SubResourceRoute
Constructor
Route(*, id: str | None = None, name: str | None = None, type: str | None = None, address_prefix: str | None = None, next_hop_type: str | _models.RouteNextHopType | None = None, next_hop_ip_address: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
id
|
Resource ID. |
name
|
The name of the resource that is unique within a resource group. This name can be used to access the resource. |
type
|
The type of the resource. |
address_prefix
|
The destination CIDR to which the route applies. |
next_hop_type
|
The type of Azure hop the packet should be sent to. Known values are: "VirtualNetworkGateway", "VnetLocal", "Internet", "VirtualAppliance", and "None". |
next_hop_ip_address
|
The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. |
Variables
Name | Description |
---|---|
id
|
Resource ID. |
name
|
The name of the resource that is unique within a resource group. This name can be used to access the resource. |
etag
|
A unique read-only string that changes whenever the resource is updated. |
type
|
The type of the resource. |
address_prefix
|
The destination CIDR to which the route applies. |
next_hop_type
|
The type of Azure hop the packet should be sent to. Known values are: "VirtualNetworkGateway", "VnetLocal", "Internet", "VirtualAppliance", and "None". |
next_hop_ip_address
|
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
|
The provisioning state of the route resource. Known values are: "Succeeded", "Updating", "Deleting", and "Failed". |
has_bgp_override
|
A value indicating whether this route overrides overlapping BGP routes regardless of LPM. |
Azure SDK for Python