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.v2023_01_01.models._models_py3.ProxyOnlyResource
VnetRoute

Constructor

VnetRoute(*, kind: str | None = None, start_address: str | None = None, end_address: str | None = None, route_type: str | _models.RouteType | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
kind
str

Kind of resource.

start_address
str

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

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

route_type

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. Known values are: "DEFAULT", "INHERITED", and "STATIC".

Variables

Name Description
id
str

Resource Id.

name
str

Resource Name.

kind
str

Kind of resource.

type
str

Resource type.

start_address
str

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

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

route_type

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. Known values are: "DEFAULT", "INHERITED", and "STATIC".