Interface NamespacesClient


public interface NamespacesClient
An instance of this class provides access to all the operations defined in NamespacesClient.
  • Method Details

    • checkNameAvailabilityWithResponse

      com.azure.core.http.rest.Response<CheckNameAvailabilityResponseInner> 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

      CheckNameAvailabilityResponseInner 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.