Share via


RouteInner Constructors

Definition

Overloads

RouteInner()

Initializes a new instance of the RouteInner class.

RouteInner(RouteNextHopType, String, String, String, ProvisioningState, String, String)

Initializes a new instance of the RouteInner class.

RouteInner()

Initializes a new instance of the RouteInner class.

public RouteInner ();
Public Sub New ()

Applies to

RouteInner(RouteNextHopType, String, String, String, ProvisioningState, String, String)

Initializes a new instance of the RouteInner class.

public RouteInner (Microsoft.Azure.Management.Network.Fluent.Models.RouteNextHopType nextHopType, string id = default, string addressPrefix = default, string nextHopIpAddress = default, Microsoft.Azure.Management.Network.Fluent.Models.ProvisioningState provisioningState = default, string name = default, string etag = default);
new Microsoft.Azure.Management.Network.Fluent.Models.RouteInner : Microsoft.Azure.Management.Network.Fluent.Models.RouteNextHopType * string * string * string * Microsoft.Azure.Management.Network.Fluent.Models.ProvisioningState * string * string -> Microsoft.Azure.Management.Network.Fluent.Models.RouteInner
Public Sub New (nextHopType As RouteNextHopType, Optional id As String = Nothing, Optional addressPrefix As String = Nothing, Optional nextHopIpAddress As String = Nothing, Optional provisioningState As ProvisioningState = Nothing, Optional name As String = Nothing, Optional etag As String = Nothing)

Parameters

nextHopType
RouteNextHopType

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

id
String
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
ProvisioningState

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