Share via


VnetRouteInner Class

Definition

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

[Microsoft.Rest.Serialization.JsonTransformation]
public class VnetRouteInner : Microsoft.Azure.Management.AppService.Fluent.Models.ProxyOnlyResourceInner
[<Microsoft.Rest.Serialization.JsonTransformation>]
type VnetRouteInner = class
    inherit ProxyOnlyResourceInner
Public Class VnetRouteInner
Inherits ProxyOnlyResourceInner
Inheritance
Attributes

Constructors

VnetRouteInner()

Initializes a new instance of the VnetRouteInner class.

VnetRouteInner(String, String, String, String, String, String, RouteType)

Initializes a new instance of the VnetRouteInner class.

Properties

EndAddress

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

Id

Resource Id. Setter is protected because Id needs to be set in Network resources.

(Inherited from ProxyResource)
Kind

Gets or sets kind of resource.

(Inherited from ProxyOnlyResourceInner)
Location

Resource location

(Inherited from Resource)
Name

Resource name

(Inherited from ProxyResource)
RouteType

Gets or sets 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'

StartAddress

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

Tags

Resource tags

(Inherited from Resource)
Type

Resource type

(Inherited from ProxyResource)

Methods

Validate()

Validate the object. Throws ValidationException if validation fails.

(Inherited from Resource)

Applies to