code: public Observable<ServiceResponse<BgpPeerStatusListResultInner>> getBgpPeerStatusWithServiceResponseAsync(String resourceGroupName, String virtualNetworkGatewayName) {
          if (resourceGroupName == null) {
              throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
          }
          if (virtualNetworkGatewayName == null) {
              throw new IllegalArgumentException("Parameter virtualNetworkGatewayName is required and cannot be null.");
          }
          if (this.client.subscriptionId() == null) {
              throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
          }
          final String apiVersion = "2018-04-01";
          final String peer = null;
          Observable<Response<ResponseBody>> observable = service.getBgpPeerStatus(resourceGroupName, virtualNetworkGatewayName, this.client.subscriptionId(), peer, apiVersion, this.client.acceptLanguage(), this.client.userAgent());
          return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken<BgpPeerStatusListResultInner>() { }.getType());
      }
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
  @return the observable for the request