Share via


Route Constructors

Definition

Overloads

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.

Route()

Initializes a new instance of the Route class.

public Route ();
Public Sub New ()

Applies to

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

Initializes a new instance of the Route class.

public Route (string nextHopType, string id = default, string addressPrefix = default, string nextHopIpAddress = default, string provisioningState = default, string name = default, string etag = default);
new Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.Route : string * string * string * string * string * string * string -> Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.Route
Public Sub New (nextHopType As String, Optional id As String = Nothing, Optional addressPrefix As String = Nothing, Optional nextHopIpAddress As String = Nothing, Optional provisioningState As String = Nothing, Optional name As String = Nothing, Optional etag As String = Nothing)

Parameters

nextHopType
String

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

id
String

Resource ID.

addressPrefix
String

The destination CIDR to which the route applies.

nextHopIpAddress
String

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

provisioningState
String

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

name
String

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

etag
String

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

Applies to