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<NameAvailabilityResultInner> checkNameAvailabilityWithResponse(String location, NameAvailabilityParameters nameAvailabilityParameters, com.azure.core.util.Context context)
      Check the availability of the resource name.
      Parameters:
      location - The name of the Azure region.
      nameAvailabilityParameters - The name and type of the resource.
      context - The context to associate with this operation.
      Returns:
      result of check name availability 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

      NameAvailabilityResultInner checkNameAvailability(String location, NameAvailabilityParameters nameAvailabilityParameters)
      Check the availability of the resource name.
      Parameters:
      location - The name of the Azure region.
      nameAvailabilityParameters - The name and type of the resource.
      Returns:
      result of check name availability.
      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.