你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IWithRoute.WithRoute(String, RouteNextHopType) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建非虚拟设备路由。 该名称是自动生成的。
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
下一跃点类型。