Interface LocationsClient
public interface LocationsClient
An instance of this class provides access to all the operations defined in LocationsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncheckNameAvailability
(String locationName, CheckNameAvailabilityInput parameters) Check Name Availabilitycom.azure.core.http.rest.Response<EntityNameAvailabilityCheckOutputInner>
checkNameAvailabilityWithResponse
(String locationName, CheckNameAvailabilityInput parameters, com.azure.core.util.Context context) Check Name Availability
-
Method Details
-
checkNameAvailabilityWithResponse
com.azure.core.http.rest.Response<EntityNameAvailabilityCheckOutputInner> checkNameAvailabilityWithResponse(String locationName, CheckNameAvailabilityInput parameters, com.azure.core.util.Context context) Check Name AvailabilityChecks 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 AvailabilityChecks 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.
-