Share via


VnetRoute Constructors

Definition

Overloads

VnetRoute()

Initializes a new instance of the VnetRoute class.

VnetRoute(StaticRoutesConfig, IList<StaticRoute>, IList<SubResource>)

Initializes a new instance of the VnetRoute class.

VnetRoute()

Initializes a new instance of the VnetRoute class.

public VnetRoute ();
Public Sub New ()

Applies to

VnetRoute(StaticRoutesConfig, IList<StaticRoute>, IList<SubResource>)

Initializes a new instance of the VnetRoute class.

public VnetRoute (Microsoft.Azure.Management.Network.Models.StaticRoutesConfig staticRoutesConfig = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.StaticRoute> staticRoutes = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> bgpConnections = default);
new Microsoft.Azure.Management.Network.Models.VnetRoute : Microsoft.Azure.Management.Network.Models.StaticRoutesConfig * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.StaticRoute> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> -> Microsoft.Azure.Management.Network.Models.VnetRoute
Public Sub New (Optional staticRoutesConfig As StaticRoutesConfig = Nothing, Optional staticRoutes As IList(Of StaticRoute) = Nothing, Optional bgpConnections As IList(Of SubResource) = Nothing)

Parameters

staticRoutesConfig
StaticRoutesConfig

Configuration for static routes on this HubVnetConnection.

staticRoutes
IList<StaticRoute>

List of all Static Routes.

bgpConnections
IList<SubResource>

The list of references to HubBgpConnection objects.

Applies to