IWithRoute.WithRoute(String, RouteNextHopType) Method

Definition

Creates a non-virtual appliance route. The name is generated automatically.

public Microsoft.Azure.Management.Network.Fluent.RouteTable.Definition.IWithCreate WithRoute (string destinationAddressPrefix, Microsoft.Azure.Management.Network.Fluent.Models.RouteNextHopType nextHop);
abstract member WithRoute : string * Microsoft.Azure.Management.Network.Fluent.Models.RouteNextHopType -> Microsoft.Azure.Management.Network.Fluent.RouteTable.Definition.IWithCreate
Public Function WithRoute (destinationAddressPrefix As String, nextHop As RouteNextHopType) As IWithCreate

Parameters

destinationAddressPrefix
String

The destination address prefix, expressed in the CIDR notation, for the route to apply to.

nextHop
RouteNextHopType

The next hop type.

Returns

IWithCreate

Applies to