code: public Observable<PacketCaptureQueryStatusResultInner> getStatusAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName) {
          return getStatusWithServiceResponseAsync(resourceGroupName, networkWatcherName, packetCaptureName).map(new Func1<ServiceResponse<PacketCaptureQueryStatusResultInner>, PacketCaptureQueryStatusResultInner>() {
              @Override
              public PacketCaptureQueryStatusResultInner call(ServiceResponse<PacketCaptureQueryStatusResultInner> response) {
                  return response.body();
              }
          });
      }
docs: Query the status of a running packet capture session.
  
  @param resourceGroupName The name of the resource group.
  @param networkWatcherName The name of the Network Watcher resource.
  @param packetCaptureName The name given to the packet capture session.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable for the request