code: public TopologyInner getTopology(String resourceGroupName, String networkWatcherName, TopologyParameters parameters) {
          return getTopologyWithServiceResponseAsync(resourceGroupName, networkWatcherName, parameters).toBlocking().single().body();
      }
docs: Gets the current network topology by resource group.
  
  @param resourceGroupName The name of the resource group.
  @param networkWatcherName The name of the network watcher.
  @param parameters Parameters that define the representation of topology.
  @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 TopologyInner object if successful.