azure-native.network.getVirtualNetworkGatewayBgpPeerStatus
Explore with Pulumi AI
The GetBgpPeerStatus operation retrieves the status of all BGP peers.
Uses Azure REST API version 2024-05-01.
Other available API versions: 2018-06-01, 2018-07-01, 2018-08-01, 2018-10-01, 2018-11-01, 2018-12-01, 2019-02-01, 2019-04-01, 2019-06-01, 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-02-01, 2021-03-01, 2021-05-01, 2021-08-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native network [ApiVersion]. See the version guide for details.
Using getVirtualNetworkGatewayBgpPeerStatus
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVirtualNetworkGatewayBgpPeerStatus(args: GetVirtualNetworkGatewayBgpPeerStatusArgs, opts?: InvokeOptions): Promise<GetVirtualNetworkGatewayBgpPeerStatusResult>
function getVirtualNetworkGatewayBgpPeerStatusOutput(args: GetVirtualNetworkGatewayBgpPeerStatusOutputArgs, opts?: InvokeOptions): Output<GetVirtualNetworkGatewayBgpPeerStatusResult>def get_virtual_network_gateway_bgp_peer_status(peer: Optional[str] = None,
                                                resource_group_name: Optional[str] = None,
                                                virtual_network_gateway_name: Optional[str] = None,
                                                opts: Optional[InvokeOptions] = None) -> GetVirtualNetworkGatewayBgpPeerStatusResult
def get_virtual_network_gateway_bgp_peer_status_output(peer: Optional[pulumi.Input[str]] = None,
                                                resource_group_name: Optional[pulumi.Input[str]] = None,
                                                virtual_network_gateway_name: Optional[pulumi.Input[str]] = None,
                                                opts: Optional[InvokeOptions] = None) -> Output[GetVirtualNetworkGatewayBgpPeerStatusResult]func GetVirtualNetworkGatewayBgpPeerStatus(ctx *Context, args *GetVirtualNetworkGatewayBgpPeerStatusArgs, opts ...InvokeOption) (*GetVirtualNetworkGatewayBgpPeerStatusResult, error)
func GetVirtualNetworkGatewayBgpPeerStatusOutput(ctx *Context, args *GetVirtualNetworkGatewayBgpPeerStatusOutputArgs, opts ...InvokeOption) GetVirtualNetworkGatewayBgpPeerStatusResultOutput> Note: This function is named GetVirtualNetworkGatewayBgpPeerStatus in the Go SDK.
public static class GetVirtualNetworkGatewayBgpPeerStatus 
{
    public static Task<GetVirtualNetworkGatewayBgpPeerStatusResult> InvokeAsync(GetVirtualNetworkGatewayBgpPeerStatusArgs args, InvokeOptions? opts = null)
    public static Output<GetVirtualNetworkGatewayBgpPeerStatusResult> Invoke(GetVirtualNetworkGatewayBgpPeerStatusInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVirtualNetworkGatewayBgpPeerStatusResult> getVirtualNetworkGatewayBgpPeerStatus(GetVirtualNetworkGatewayBgpPeerStatusArgs args, InvokeOptions options)
public static Output<GetVirtualNetworkGatewayBgpPeerStatusResult> getVirtualNetworkGatewayBgpPeerStatus(GetVirtualNetworkGatewayBgpPeerStatusArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:network:getVirtualNetworkGatewayBgpPeerStatus
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Resource
Group stringName  - The name of the resource group.
 - Virtual
Network stringGateway Name  - The name of the virtual network gateway.
 - Peer string
 - The IP address of the peer to retrieve the status of.
 
- Resource
Group stringName  - The name of the resource group.
 - Virtual
Network stringGateway Name  - The name of the virtual network gateway.
 - Peer string
 - The IP address of the peer to retrieve the status of.
 
- resource
Group StringName  - The name of the resource group.
 - virtual
Network StringGateway Name  - The name of the virtual network gateway.
 - peer String
 - The IP address of the peer to retrieve the status of.
 
- resource
Group stringName  - The name of the resource group.
 - virtual
Network stringGateway Name  - The name of the virtual network gateway.
 - peer string
 - The IP address of the peer to retrieve the status of.
 
- resource_
group_ strname  - The name of the resource group.
 - virtual_
network_ strgateway_ name  - The name of the virtual network gateway.
 - peer str
 - The IP address of the peer to retrieve the status of.
 
- resource
Group StringName  - The name of the resource group.
 - virtual
Network StringGateway Name  - The name of the virtual network gateway.
 - peer String
 - The IP address of the peer to retrieve the status of.
 
getVirtualNetworkGatewayBgpPeerStatus Result
The following output properties are available:
- Value
List<Pulumi.
Azure Native. Network. Outputs. Bgp Peer Status Response>  - List of BGP peers.
 
- Value
[]Bgp
Peer Status Response  - List of BGP peers.
 
- value
List<Bgp
Peer Status Response>  - List of BGP peers.
 
- value
Bgp
Peer Status Response[]  - List of BGP peers.
 
- value
Sequence[Bgp
Peer Status Response]  - List of BGP peers.
 
- value List<Property Map>
 - List of BGP peers.
 
Supporting Types
BgpPeerStatusResponse   
- Asn double
 - The autonomous system number of the remote BGP peer.
 - Connected
Duration string - For how long the peering has been up.
 - Local
Address string - The virtual network gateway's local address.
 - Messages
Received double - The number of BGP messages received.
 - Messages
Sent double - The number of BGP messages sent.
 - Neighbor string
 - The remote BGP peer.
 - Routes
Received double - The number of routes learned from this peer.
 - State string
 - The BGP peer state.
 
- Asn float64
 - The autonomous system number of the remote BGP peer.
 - Connected
Duration string - For how long the peering has been up.
 - Local
Address string - The virtual network gateway's local address.
 - Messages
Received float64 - The number of BGP messages received.
 - Messages
Sent float64 - The number of BGP messages sent.
 - Neighbor string
 - The remote BGP peer.
 - Routes
Received float64 - The number of routes learned from this peer.
 - State string
 - The BGP peer state.
 
- asn Double
 - The autonomous system number of the remote BGP peer.
 - connected
Duration String - For how long the peering has been up.
 - local
Address String - The virtual network gateway's local address.
 - messages
Received Double - The number of BGP messages received.
 - messages
Sent Double - The number of BGP messages sent.
 - neighbor String
 - The remote BGP peer.
 - routes
Received Double - The number of routes learned from this peer.
 - state String
 - The BGP peer state.
 
- asn number
 - The autonomous system number of the remote BGP peer.
 - connected
Duration string - For how long the peering has been up.
 - local
Address string - The virtual network gateway's local address.
 - messages
Received number - The number of BGP messages received.
 - messages
Sent number - The number of BGP messages sent.
 - neighbor string
 - The remote BGP peer.
 - routes
Received number - The number of routes learned from this peer.
 - state string
 - The BGP peer state.
 
- asn float
 - The autonomous system number of the remote BGP peer.
 - connected_
duration str - For how long the peering has been up.
 - local_
address str - The virtual network gateway's local address.
 - messages_
received float - The number of BGP messages received.
 - messages_
sent float - The number of BGP messages sent.
 - neighbor str
 - The remote BGP peer.
 - routes_
received float - The number of routes learned from this peer.
 - state str
 - The BGP peer state.
 
- asn Number
 - The autonomous system number of the remote BGP peer.
 - connected
Duration String - For how long the peering has been up.
 - local
Address String - The virtual network gateway's local address.
 - messages
Received Number - The number of BGP messages received.
 - messages
Sent Number - The number of BGP messages sent.
 - neighbor String
 - The remote BGP peer.
 - routes
Received Number - The number of routes learned from this peer.
 - state String
 - The BGP peer state.
 
Package Details
- Repository
 - Azure Native pulumi/pulumi-azure-native
 - License
 - Apache-2.0