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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET