code: public CheckNameResultInner checkNameAvailability(String resourceGroupName, String clusterName, String name) {
          return checkNameAvailabilityWithServiceResponseAsync(resourceGroupName, clusterName, name).toBlocking().single().body();
      }
docs: Checks that the database name is valid and is not already in use.
  
  @param resourceGroupName The name of the resource group containing the Kusto cluster.
  @param clusterName The name of the Kusto cluster.
  @param name Database name.
  @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 CheckNameResultInner object if successful.