Share via


Route Class

Definition

Route resource.

[Microsoft.Rest.Serialization.JsonTransformation]
public class Route : Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.SubResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Route = class
    inherit SubResource
Public Class Route
Inherits SubResource
Inheritance
Attributes

Constructors

Route()

Initializes a new instance of the Route class.

Route(String, String, String, String, String, String, String)

Initializes a new instance of the Route class.

Properties

AddressPrefix

Gets or sets the destination CIDR to which the route applies.

Etag

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

Id

Gets or sets resource ID.

(Inherited from SubResource)
Name

Gets or sets the name of the resource that is unique within a resource group. This name can be used to access the resource.

NextHopIpAddress

Gets or sets the IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.

NextHopType

Gets or sets the type of Azure hop the packet should be sent to. Possible values include: 'VirtualNetworkGateway', 'VnetLocal', 'Internet', 'VirtualAppliance', 'None'

ProvisioningState

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

Methods

Validate()

Validate the object.

Applies to