Interface LocationsClient


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

      • checkNameAvailability

        CheckNameAvailabilityResponseInner checkNameAvailability​(CheckNameAvailabilityRequest body)
        Checks the name availability of the resource with requested resource name.
        Parameters:
        body - NameAvailabilityRequest object.
        Returns:
        the check availability result.
        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.
      • checkNameAvailabilityWithResponse

        com.azure.core.http.rest.Response<CheckNameAvailabilityResponseInner> checkNameAvailabilityWithResponse​(CheckNameAvailabilityRequest body,
                                                                                                                com.azure.core.util.Context context)
        Checks the name availability of the resource with requested resource name.
        Parameters:
        body - NameAvailabilityRequest object.
        context - The context to associate with this operation.
        Returns:
        the check availability result 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.