code: public Observable<CheckNameResultInner> checkNameAvailabilityAsync(String resourceGroupName, String clusterName, String name) {
          return checkNameAvailabilityWithServiceResponseAsync(resourceGroupName, clusterName, name).map(new Func1<ServiceResponse<CheckNameResultInner>, CheckNameResultInner>() {
              @Override
              public CheckNameResultInner call(ServiceResponse<CheckNameResultInner> response) {
                  return response.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
  @return the observable to the CheckNameResultInner object