code: public BgpPeerStatusListResultInner getBgpPeerStatus(String resourceGroupName, String virtualNetworkGatewayName) {
          return getBgpPeerStatusWithServiceResponseAsync(resourceGroupName, virtualNetworkGatewayName).toBlocking().last().body();
      }
docs: The GetBgpPeerStatus operation retrieves the status of all BGP peers.
  
  @param resourceGroupName The name of the resource group.
  @param virtualNetworkGatewayName The name of the virtual network gateway.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the BgpPeerStatusListResultInner object if successful.