code: public Observable<BgpPeerStatusListResultInner> getBgpPeerStatusAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer) {
          return getBgpPeerStatusWithServiceResponseAsync(resourceGroupName, virtualNetworkGatewayName, peer).map(new Func1<ServiceResponse<BgpPeerStatusListResultInner>, BgpPeerStatusListResultInner>() {
              @Override
              public BgpPeerStatusListResultInner call(ServiceResponse<BgpPeerStatusListResultInner> response) {
                  return response.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.
  @param peer The IP address of the peer to retrieve the status of.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable for the request