VnetRoute Class

Virtual Network route contract used to pass routing information for a Virtual Network.

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

Inheritance
azure.mgmt.web.v2016_03_01.models._models_py3.ProxyOnlyResource
VnetRoute

Constructor

VnetRoute(*, kind: typing.Union[str, NoneType] = None, vnet_route_name: typing.Union[str, NoneType] = None, start_address: typing.Union[str, NoneType] = None, end_address: typing.Union[str, NoneType] = None, route_type: typing.Union[str, _ForwardRef('RouteType'), NoneType] = None, **kwargs)

Parameters

kind
str
Required

Kind of resource.

vnet_route_name
str
Required

The name of this route. This is only returned by the server and does not need to be set by the client.

start_address
str
Required

The starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified.

end_address
str
Required

The ending address for this route. If the start address is specified in CIDR notation, this must be omitted.

route_type
str or RouteType
Required

The type of route this is: DEFAULT - By default, every app has routes to the local address ranges specified by RFC1918 INHERITED - Routes inherited from the real Virtual Network routes STATIC - Static route set on the app only

These values will be used for syncing an app's routes with those from a Virtual Network. Possible values include: "DEFAULT", "INHERITED", "STATIC".

Variables

id
str

Resource Id.

name
str

Resource Name.

type
str

Resource type.