Route Constructors
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.
Overloads
Route() |
Initializes a new instance of the Route class. |
Route(String, String, String, String, String, Nullable<Boolean>, String, String, String) |
Initializes a new instance of the Route class. |
Route()
Initializes a new instance of the Route class.
public Route ();
Public Sub New ()
Applies to
Route(String, String, String, String, String, Nullable<Boolean>, String, String, String)
Initializes a new instance of the Route class.
public Route (string nextHopType, string id = default, string addressPrefix = default, string nextHopIpAddress = default, string provisioningState = default, bool? hasBgpOverride = default, string name = default, string etag = default, string type = default);
new Microsoft.Azure.Management.Network.Models.Route : string * string * string * string * string * Nullable<bool> * string * string * string -> Microsoft.Azure.Management.Network.Models.Route
Public Sub New (nextHopType As String, Optional id As String = Nothing, Optional addressPrefix As String = Nothing, Optional nextHopIpAddress As String = Nothing, Optional provisioningState As String = Nothing, Optional hasBgpOverride As Nullable(Of Boolean) = Nothing, Optional name As String = Nothing, Optional etag As String = Nothing, Optional type As String = Nothing)
Parameters
- nextHopType
- String
The type of Azure hop the packet should be sent to. Possible values include: 'VirtualNetworkGateway', 'VnetLocal', 'Internet', 'VirtualAppliance', 'None'
- id
- String
Resource ID.
- addressPrefix
- String
The destination CIDR to which the route applies.
- nextHopIpAddress
- String
The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
- provisioningState
- String
The provisioning state of the route resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
A value indicating whether this route overrides overlapping BGP routes regardless of LPM.
- name
- String
The name of the resource that is unique within a resource group. This name can be used to access the resource.
- etag
- String
A unique read-only string that changes whenever the resource is updated.
- type
- String
The type of the resource.
Applies to
Azure SDK for .NET