code: public ServiceFuture<CheckNameResultInner> checkNameAvailabilityAsync(String location, String name, final ServiceCallback<CheckNameResultInner> serviceCallback) {
          return ServiceFuture.fromResponse(checkNameAvailabilityWithServiceResponseAsync(location, name), serviceCallback);
      }
docs: Checks that the cluster name is valid and is not already in use.
  
  @param location Azure location.
  @param name Cluster name.
  @param serviceCallback the async ServiceCallback to handle successful and failed responses.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceFuture} object