Sdílet prostřednictvím


VnetRoute Class

Definition

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

[Microsoft.Rest.Serialization.JsonTransformation]
public class VnetRoute : Microsoft.Azure.Management.WebSites.Models.ProxyOnlyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type VnetRoute = class
    inherit ProxyOnlyResource
Public Class VnetRoute
Inherits ProxyOnlyResource
Inheritance
Attributes

Constructors

VnetRoute()

Initializes a new instance of the VnetRoute class.

VnetRoute(String, String, String, String, String, String, String)

Initializes a new instance of the VnetRoute 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

Gets resource Id.

(Inherited from ProxyOnlyResource)
Kind

Gets or sets kind of resource.

(Inherited from ProxyOnlyResource)
Name

Gets resource Name.

(Inherited from ProxyOnlyResource)
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.

Type

Gets resource type.

(Inherited from ProxyOnlyResource)

Applies to