Interface NameAvailabilitiesClient
public interface NameAvailabilitiesClient
An instance of this class provides access to all the operations defined in NameAvailabilitiesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncheckGlobally(CheckNameAvailabilityRequest parameters) Checks the validity and availability of the given name, to assign it to a new server or to use it as the base name of a new pair of virtual endpoints.checkGloballyAsync(CheckNameAvailabilityRequest parameters) Checks the validity and availability of the given name, to assign it to a new server or to use it as the base name of a new pair of virtual endpoints.com.azure.core.http.rest.Response<NameAvailabilityModelInner> checkGloballyWithResponse(CheckNameAvailabilityRequest parameters, com.azure.core.util.Context context) Checks the validity and availability of the given name, to assign it to a new server or to use it as the base name of a new pair of virtual endpoints.Mono<com.azure.core.http.rest.Response<NameAvailabilityModelInner>> Checks the validity and availability of the given name, to assign it to a new server or to use it as the base name of a new pair of virtual endpoints.checkWithLocation(String locationName, CheckNameAvailabilityRequest parameters) Check the availability of name for resource.checkWithLocationAsync(String locationName, CheckNameAvailabilityRequest parameters) Check the availability of name for resource.com.azure.core.http.rest.Response<NameAvailabilityModelInner> checkWithLocationWithResponse(String locationName, CheckNameAvailabilityRequest parameters, com.azure.core.util.Context context) Check the availability of name for resource.Mono<com.azure.core.http.rest.Response<NameAvailabilityModelInner>> checkWithLocationWithResponseAsync(String locationName, CheckNameAvailabilityRequest parameters) Check the availability of name for resource.
-
Method Details
-
checkGloballyWithResponseAsync
Mono<com.azure.core.http.rest.Response<NameAvailabilityModelInner>> checkGloballyWithResponseAsync(CheckNameAvailabilityRequest parameters) Checks the validity and availability of the given name, to assign it to a new server or to use it as the base name of a new pair of virtual endpoints.- Parameters:
parameters- Parameters required to check if a given name is valid and available to assign it to a new server or to use it as the base name of a new pair of virtual endpoints.- Returns:
- availability of a name 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.
-
checkGloballyAsync
Checks the validity and availability of the given name, to assign it to a new server or to use it as the base name of a new pair of virtual endpoints.- Parameters:
parameters- Parameters required to check if a given name is valid and available to assign it to a new server or to use it as the base name of a new pair of virtual endpoints.- Returns:
- availability of a name 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.
-
checkGloballyWithResponse
com.azure.core.http.rest.Response<NameAvailabilityModelInner> checkGloballyWithResponse(CheckNameAvailabilityRequest parameters, com.azure.core.util.Context context) Checks the validity and availability of the given name, to assign it to a new server or to use it as the base name of a new pair of virtual endpoints.- Parameters:
parameters- Parameters required to check if a given name is valid and available to assign it to a new server or to use it as the base name of a new pair of virtual endpoints.context- The context to associate with this operation.- Returns:
- availability of a name 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.
-
checkGlobally
Checks the validity and availability of the given name, to assign it to a new server or to use it as the base name of a new pair of virtual endpoints.- Parameters:
parameters- Parameters required to check if a given name is valid and available to assign it to a new server or to use it as the base name of a new pair of virtual endpoints.- Returns:
- availability of a name.
- 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.
-
checkWithLocationWithResponseAsync
Mono<com.azure.core.http.rest.Response<NameAvailabilityModelInner>> checkWithLocationWithResponseAsync(String locationName, CheckNameAvailabilityRequest parameters) Check the availability of name for resource.- Parameters:
locationName- The name of the location.parameters- Parameters required to check if a given name is valid and available to assign it to a new server or to use it as the base name of a new pair of virtual endpoints.- Returns:
- availability of a name 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.
-
checkWithLocationAsync
Mono<NameAvailabilityModelInner> checkWithLocationAsync(String locationName, CheckNameAvailabilityRequest parameters) Check the availability of name for resource.- Parameters:
locationName- The name of the location.parameters- Parameters required to check if a given name is valid and available to assign it to a new server or to use it as the base name of a new pair of virtual endpoints.- Returns:
- availability of a name 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.
-
checkWithLocationWithResponse
com.azure.core.http.rest.Response<NameAvailabilityModelInner> checkWithLocationWithResponse(String locationName, CheckNameAvailabilityRequest parameters, com.azure.core.util.Context context) Check the availability of name for resource.- Parameters:
locationName- The name of the location.parameters- Parameters required to check if a given name is valid and available to assign it to a new server or to use it as the base name of a new pair of virtual endpoints.context- The context to associate with this operation.- Returns:
- availability of a name 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.
-
checkWithLocation
NameAvailabilityModelInner checkWithLocation(String locationName, CheckNameAvailabilityRequest parameters) Check the availability of name for resource.- Parameters:
locationName- The name of the location.parameters- Parameters required to check if a given name is valid and available to assign it to a new server or to use it as the base name of a new pair of virtual endpoints.- Returns:
- availability of a name.
- 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.
-