HubRoute(String, String, IEnumerable<String>, String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of 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)
Parameters
- name
- String
The name of the Route that is unique within a RouteTable. This name can be used to access this route.
- destinationType
- String
The type of destinations (eg: CIDR, ResourceId, Service).
- destinations
- IEnumerable<String>
List of all destinations.
- nextHopType
- String
The type of next hop (eg: ResourceId).
- nextHop
- String
NextHop resource ID.
Exceptions
name
, destinationType
, destinations
, nextHopType
or nextHop
is null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET