你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IWithRoute.WithRoute(String, RouteNextHopType) 方法

定义

创建非虚拟设备路由。 该名称是自动生成的。

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

参数

destinationAddressPrefix
String

要应用的路由的目标地址前缀(以 CIDR 表示法表示)。

nextHop
RouteNextHopType

下一跃点类型。

返回

适用于