Interface Locations


  • public interface Locations
    Resource collection API of Locations.
    • Method Detail

      • checkNameAvailability

        CheckNameAvailabilityResponse checkNameAvailability​(String locationName,
                                                            CheckNameAvailabilityRequest parameters)
        Checks whether the Video Analyzer resource name is available.
        Parameters:
        locationName - Location Name.
        parameters - The request parameters.
        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<CheckNameAvailabilityResponse> checkNameAvailabilityWithResponse​(String locationName,
                                                                                                           CheckNameAvailabilityRequest parameters,
                                                                                                           com.azure.core.util.Context context)
        Checks whether the Video Analyzer resource name is available.
        Parameters:
        locationName - Location Name.
        parameters - The request parameters.
        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.