code: public VpnSiteInner getByResourceGroup(String resourceGroupName, String vpnSiteName) {
          return getByResourceGroupWithServiceResponseAsync(resourceGroupName, vpnSiteName).toBlocking().single().body();
      }
docs: Retrieves the details of a VPNsite.
  
  @param resourceGroupName The resource group name of the VpnSite.
  @param vpnSiteName The name of the VpnSite being retrieved.
  @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 VpnSiteInner object if successful.