code: public List<DatabasePrincipalInner> listPrincipals(String resourceGroupName, String clusterName, String databaseName) {
          return listPrincipalsWithServiceResponseAsync(resourceGroupName, clusterName, databaseName).toBlocking().single().body();
      }
docs: Returns a list of database principals of the given Kusto cluster and database.
  
  @param resourceGroupName The name of the resource group containing the Kusto cluster.
  @param clusterName The name of the Kusto cluster.
  @param databaseName The name of the database in the Kusto cluster.
  @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 List&lt;DatabasePrincipalInner&gt; object if successful.