Interface LocationsClient


public interface LocationsClient
An instance of this class provides access to all the operations defined in LocationsClient.
  • Method Details

    • checkNameAvailabilityWithResponse

      com.azure.core.http.rest.Response<EntityNameAvailabilityCheckOutputInner> checkNameAvailabilityWithResponse(String locationName, CheckNameAvailabilityInput parameters, com.azure.core.util.Context context)
      Check Name Availability

      Checks whether the Media Service resource name is available.

      Parameters:
      locationName - Location name.
      parameters - The request parameters.
      context - The context to associate with this operation.
      Returns:
      the response from the check name availability request along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • checkNameAvailability

      EntityNameAvailabilityCheckOutputInner checkNameAvailability(String locationName, CheckNameAvailabilityInput parameters)
      Check Name Availability

      Checks whether the Media Service resource name is available.

      Parameters:
      locationName - Location name.
      parameters - The request parameters.
      Returns:
      the response from the check name availability request.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.