public interface CheckNameAvailabilities
| Modifier and Type | Method and Description |
|---|---|
NameAvailability |
execute(NameAvailabilityRequest nameAvailabilityRequest)
Check the availability of name for resource.
|
com.azure.core.http.rest.Response<NameAvailability> |
executeWithResponse(NameAvailabilityRequest nameAvailabilityRequest,
com.azure.core.util.Context context)
Check the availability of name for resource.
|
NameAvailability execute(NameAvailabilityRequest nameAvailabilityRequest)
nameAvailabilityRequest - The required parameters for checking if resource name is available.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.com.azure.core.http.rest.Response<NameAvailability> executeWithResponse(NameAvailabilityRequest nameAvailabilityRequest, com.azure.core.util.Context context)
nameAvailabilityRequest - The required parameters for checking if resource name is available.context - The context to associate with this operation.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.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.