IWithRoute.WithRoute(String, RouteNextHopType) Method

Definition

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

public Microsoft.Azure.Management.Network.Fluent.RouteTable.Update.IUpdate 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.Update.IUpdate
Public Function WithRoute (destinationAddressPrefix As String, nextHop As RouteNextHopType) As IUpdate

Parameters

destinationAddressPrefix
System.String

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

nextHop
RouteNextHopType

The next hop type.

Returns

IUpdate

Applies to