Share via


ArmManagedNetworkFabricModelFactory.InternalNetworkBgpConfiguration Method

Definition

Initializes a new instance of InternalNetworkBgpConfiguration.

public static Azure.ResourceManager.ManagedNetworkFabric.Models.InternalNetworkBgpConfiguration InternalNetworkBgpConfiguration (string annotation = default, Azure.ResourceManager.ManagedNetworkFabric.Models.BfdConfiguration bfdConfiguration = default, Azure.ResourceManager.ManagedNetworkFabric.Models.NetworkFabricBooleanValue? defaultRouteOriginate = default, int? allowAS = default, Azure.ResourceManager.ManagedNetworkFabric.Models.AllowASOverride? allowASOverride = default, long? fabricAsn = default, long? peerAsn = default, System.Collections.Generic.IEnumerable<string> ipv4ListenRangePrefixes = default, System.Collections.Generic.IEnumerable<string> ipv6ListenRangePrefixes = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ManagedNetworkFabric.Models.NeighborAddress> ipv4NeighborAddress = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ManagedNetworkFabric.Models.NeighborAddress> ipv6NeighborAddress = default);
static member InternalNetworkBgpConfiguration : string * Azure.ResourceManager.ManagedNetworkFabric.Models.BfdConfiguration * Nullable<Azure.ResourceManager.ManagedNetworkFabric.Models.NetworkFabricBooleanValue> * Nullable<int> * Nullable<Azure.ResourceManager.ManagedNetworkFabric.Models.AllowASOverride> * Nullable<int64> * Nullable<int64> * seq<string> * seq<string> * seq<Azure.ResourceManager.ManagedNetworkFabric.Models.NeighborAddress> * seq<Azure.ResourceManager.ManagedNetworkFabric.Models.NeighborAddress> -> Azure.ResourceManager.ManagedNetworkFabric.Models.InternalNetworkBgpConfiguration
Public Shared Function InternalNetworkBgpConfiguration (Optional annotation As String = Nothing, Optional bfdConfiguration As BfdConfiguration = Nothing, Optional defaultRouteOriginate As Nullable(Of NetworkFabricBooleanValue) = Nothing, Optional allowAS As Nullable(Of Integer) = Nothing, Optional allowASOverride As Nullable(Of AllowASOverride) = Nothing, Optional fabricAsn As Nullable(Of Long) = Nothing, Optional peerAsn As Nullable(Of Long) = Nothing, Optional ipv4ListenRangePrefixes As IEnumerable(Of String) = Nothing, Optional ipv6ListenRangePrefixes As IEnumerable(Of String) = Nothing, Optional ipv4NeighborAddress As IEnumerable(Of NeighborAddress) = Nothing, Optional ipv6NeighborAddress As IEnumerable(Of NeighborAddress) = Nothing) As InternalNetworkBgpConfiguration

Parameters

annotation
String

Switch configuration description.

bfdConfiguration
BfdConfiguration

BFD configuration properties.

defaultRouteOriginate
Nullable<NetworkFabricBooleanValue>

Originate a defaultRoute. Ex: "True" | "False".

allowAS
Nullable<Int32>

Allows for routes to be received and processed even if the router detects its own ASN in the AS-Path. 0 is disable, Possible values are 1-10, default is 2.

allowASOverride
Nullable<AllowASOverride>

Enable Or Disable state.

fabricAsn
Nullable<Int64>

ASN of Network Fabric. Example: 65048.

peerAsn
Nullable<Int64>

Peer ASN. Example: 65047.

ipv4ListenRangePrefixes
IEnumerable<String>

List of BGP IPv4 Listen Range prefixes.

ipv6ListenRangePrefixes
IEnumerable<String>

List of BGP IPv6 Listen Ranges prefixes.

ipv4NeighborAddress
IEnumerable<NeighborAddress>

List with stringified IPv4 Neighbor Addresses.

ipv6NeighborAddress
IEnumerable<NeighborAddress>

List with stringified IPv6 Neighbor Address.

Returns

A new InternalNetworkBgpConfiguration instance for mocking.

Applies to