/*
 * Copyright (c) Microsoft Corporation.
 * Licensed under the MIT License.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 * Changes may cause incorrect behavior and will be lost if the code is regenerated.
 */

import {
  NameAvailabilityRequest,
  CheckNameAvailabilityExecuteOptionalParams,
  CheckNameAvailabilityExecuteResponse
} from "../models";

/** Interface representing a CheckNameAvailability. */
export interface CheckNameAvailability {
  /**
   * Check the availability of name for server
   * @param locationName The name of the location.
   * @param nameAvailabilityRequest The required parameters for checking if server name is available.
   * @param options The options parameters.
   */
  execute(
    locationName: string,
    nameAvailabilityRequest: NameAvailabilityRequest,
    options?: CheckNameAvailabilityExecuteOptionalParams
  ): Promise<CheckNameAvailabilityExecuteResponse>;
}
