Route Class

Route resource.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.network.v2019_09_01.models._models_py3.SubResource
Route

Constructor

Route(*, id: typing.Union[str, NoneType] = None, name: 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, **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.

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 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.

Variables

etag
str

A unique read-only string that changes whenever the resource is updated.

provisioning_state
str or ProvisioningState

The provisioning state of the route resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed".