code: public PacketCaptureResultInner get(String resourceGroupName, String networkWatcherName, String packetCaptureName) {
          return getWithServiceResponseAsync(resourceGroupName, networkWatcherName, packetCaptureName).toBlocking().single().body();
      }
docs: Gets a packet capture session by name.
  
  @param resourceGroupName The name of the resource group.
  @param networkWatcherName The name of the network watcher.
  @param packetCaptureName The name of the packet capture session.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws ErrorResponseException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the PacketCaptureResultInner object if successful.