code: public VirtualHubInner getByResourceGroup(String resourceGroupName, String virtualHubName) {
          return getByResourceGroupWithServiceResponseAsync(resourceGroupName, virtualHubName).toBlocking().single().body();
      }
docs: Retrieves the details of a VirtualHub.
  
  @param resourceGroupName The resource group name of the VirtualHub.
  @param virtualHubName The name of the VirtualHub.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws ErrorException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the VirtualHubInner object if successful.