Interface CheckNameAvailabilityWithLocationsClient
public interface CheckNameAvailabilityWithLocationsClient
An instance of this class provides access to all the operations defined in CheckNameAvailabilityWithLocationsClient.
-
Method Summary
Modifier and TypeMethodDescriptionexecute(String locationName, CheckNameAvailabilityRequest nameAvailabilityRequest) Check the availability of name for resource.executeAsync(String locationName, CheckNameAvailabilityRequest nameAvailabilityRequest) Check the availability of name for resource.com.azure.core.http.rest.Response<NameAvailabilityInner>executeWithResponse(String locationName, CheckNameAvailabilityRequest nameAvailabilityRequest, com.azure.core.util.Context context) Check the availability of name for resource.Mono<com.azure.core.http.rest.Response<NameAvailabilityInner>>executeWithResponseAsync(String locationName, CheckNameAvailabilityRequest nameAvailabilityRequest) Check the availability of name for resource.
-
Method Details
-
executeWithResponseAsync
Mono<com.azure.core.http.rest.Response<NameAvailabilityInner>> executeWithResponseAsync(String locationName, CheckNameAvailabilityRequest nameAvailabilityRequest) Check the availability of name for resource.- Parameters:
locationName- The name of the location.nameAvailabilityRequest- The required parameters for checking if resource name is available.- Returns:
- represents a resource name availability along with
Responseon successful completion ofMono. - 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.
-
executeAsync
Mono<NameAvailabilityInner> executeAsync(String locationName, CheckNameAvailabilityRequest nameAvailabilityRequest) Check the availability of name for resource.- Parameters:
locationName- The name of the location.nameAvailabilityRequest- The required parameters for checking if resource name is available.- Returns:
- represents a resource name availability on successful completion of
Mono. - 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.
-
executeWithResponse
com.azure.core.http.rest.Response<NameAvailabilityInner> executeWithResponse(String locationName, CheckNameAvailabilityRequest nameAvailabilityRequest, com.azure.core.util.Context context) Check the availability of name for resource.- Parameters:
locationName- The name of the location.nameAvailabilityRequest- The required parameters for checking if resource name is available.context- The context to associate with this operation.- Returns:
- represents a resource 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.
-
execute
NameAvailabilityInner execute(String locationName, CheckNameAvailabilityRequest nameAvailabilityRequest) Check the availability of name for resource.- Parameters:
locationName- The name of the location.nameAvailabilityRequest- The required parameters for checking if resource name is available.- Returns:
- represents a resource 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.
-