ArmManagedNetworkFabricModelFactory.BgpConfiguration 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 BgpConfiguration.
public static Azure.ResourceManager.ManagedNetworkFabric.Models.BgpConfiguration BgpConfiguration(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 BgpConfiguration : 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.BgpConfiguration
Public Shared Function BgpConfiguration (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 BgpConfiguration
Parameters
- annotation
- String
Switch configuration description.
- bfdConfiguration
- BfdConfiguration
BFD configuration properties.
- defaultRouteOriginate
- Nullable<NetworkFabricBooleanValue>
Originate a defaultRoute. Ex: "True" | "False".
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.
- 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 BgpConfiguration instance for mocking.
Applies to
Azure SDK for .NET