ArmNetworkModelFactory.RouteData Method
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 RouteData.
public static Azure.ResourceManager.Network.RouteData RouteData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, string addressPrefix = default, Azure.ResourceManager.Network.Models.RouteNextHopType? nextHopType = default, string nextHopIPAddress = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, bool? hasBgpOverride = default);
static member RouteData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * string * Nullable<Azure.ResourceManager.Network.Models.RouteNextHopType> * string * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<bool> -> Azure.ResourceManager.Network.RouteData
Public Shared Function RouteData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional addressPrefix As String = Nothing, Optional nextHopType As Nullable(Of RouteNextHopType) = Nothing, Optional nextHopIPAddress As String = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional hasBgpOverride As Nullable(Of Boolean) = Nothing) As RouteData
Parameters
Resource ID.
- name
- String
Resource name.
- resourceType
- Nullable<ResourceType>
Resource type.
- addressPrefix
- String
The destination CIDR to which the route applies.
- nextHopType
- Nullable<RouteNextHopType>
The type of Azure hop the packet should be sent to.
- 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
- Nullable<NetworkProvisioningState>
The provisioning state of the route resource.
A value indicating whether this route overrides overlapping BGP routes regardless of LPM.
Returns
A new RouteData instance for mocking.