你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
HubRoute(String, String, IEnumerable<String>, String, String) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 HubRoute 的新实例。
public HubRoute (string name, string destinationType, System.Collections.Generic.IEnumerable<string> destinations, string nextHopType, string nextHop);
new Azure.ResourceManager.Network.Models.HubRoute : string * string * seq<string> * string * string -> Azure.ResourceManager.Network.Models.HubRoute
Public Sub New (name As String, destinationType As String, destinations As IEnumerable(Of String), nextHopType As String, nextHop As String)
参数
- name
- String
RouteTable 中唯一的路由的名称。 此名称可用于访问此路由。
- destinationType
- String
目标类型 (例如:CIDR、ResourceId、Service) 。
- destinations
- IEnumerable<String>
所有目标的列表。
- nextHopType
- String
下一跃点 (的类型,例如:ResourceId) 。
- nextHop
- String
NextHop 资源 ID。
例外
name
、destinationType
、 destinations
nextHopType
或 nextHop
为 null。