ArmNetworkModelFactory.BgpPeerStatus 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 BgpPeerStatus.
public static Azure.ResourceManager.Network.Models.BgpPeerStatus BgpPeerStatus (string localAddress = default, string neighbor = default, long? asn = default, Azure.ResourceManager.Network.Models.BgpPeerState? state = default, TimeSpan? connectedDuration = default, long? routesReceived = default, long? messagesSent = default, long? messagesReceived = default);
static member BgpPeerStatus : string * string * Nullable<int64> * Nullable<Azure.ResourceManager.Network.Models.BgpPeerState> * Nullable<TimeSpan> * Nullable<int64> * Nullable<int64> * Nullable<int64> -> Azure.ResourceManager.Network.Models.BgpPeerStatus
Public Shared Function BgpPeerStatus (Optional localAddress As String = Nothing, Optional neighbor As String = Nothing, Optional asn As Nullable(Of Long) = Nothing, Optional state As Nullable(Of BgpPeerState) = Nothing, Optional connectedDuration As Nullable(Of TimeSpan) = Nothing, Optional routesReceived As Nullable(Of Long) = Nothing, Optional messagesSent As Nullable(Of Long) = Nothing, Optional messagesReceived As Nullable(Of Long) = Nothing) As BgpPeerStatus
Parameters
- localAddress
- String
The virtual network gateway's local address.
- neighbor
- String
The remote BGP peer.
- state
- Nullable<BgpPeerState>
The BGP peer state.
Returns
A new BgpPeerStatus instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET