Interface Namespaces
public interface Namespaces
Resource collection API of Namespaces.
-
Method Summary
Modifier and TypeMethodDescriptioncheckNameAvailability
(String resourceGroupName, String environmentName, CheckNameAvailabilityRequest checkNameAvailabilityRequest) Checks the resource name availability.com.azure.core.http.rest.Response<CheckNameAvailabilityResponse>
checkNameAvailabilityWithResponse
(String resourceGroupName, String environmentName, CheckNameAvailabilityRequest checkNameAvailabilityRequest, com.azure.core.util.Context context) Checks the resource name availability.
-
Method Details
-
checkNameAvailabilityWithResponse
com.azure.core.http.rest.Response<CheckNameAvailabilityResponse> checkNameAvailabilityWithResponse(String resourceGroupName, String environmentName, CheckNameAvailabilityRequest checkNameAvailabilityRequest, com.azure.core.util.Context context) Checks the resource name availability.Checks if resource name is available.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.environmentName
- Name of the Managed Environment.checkNameAvailabilityRequest
- The check name availability request.context
- The context to associate with this operation.- Returns:
- the check availability result along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
checkNameAvailability
CheckNameAvailabilityResponse checkNameAvailability(String resourceGroupName, String environmentName, CheckNameAvailabilityRequest checkNameAvailabilityRequest) Checks the resource name availability.Checks if resource name is available.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.environmentName
- Name of the Managed Environment.checkNameAvailabilityRequest
- The check name availability request.- Returns:
- the check availability result.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-