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