code: public NetworkConfigurationDiagnosticResponseInner getNetworkConfigurationDiagnostic(String resourceGroupName, String networkWatcherName, NetworkConfigurationDiagnosticParameters parameters) {
          return getNetworkConfigurationDiagnosticWithServiceResponseAsync(resourceGroupName, networkWatcherName, parameters).toBlocking().last().body();
      }
docs: Get network configuration diagnostic.
  
  @param resourceGroupName The name of the resource group.
  @param networkWatcherName The name of the network watcher.
  @param parameters Parameters to get network configuration diagnostic.
  @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 NetworkConfigurationDiagnosticResponseInner object if successful.