Interface Namespaces


  • public interface Namespaces
    Resource collection API of Namespaces.
    • Method Detail

      • checkNameAvailability

        CheckNameAvailabilityResponse checkNameAvailability​(String resourceGroupName,
                                                            String managedEnvironmentName,
                                                            CheckNameAvailabilityRequest checkNameAvailabilityRequest)
        Checks if resource name is available.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        managedEnvironmentName - 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.
      • checkNameAvailabilityWithResponse

        com.azure.core.http.rest.Response<CheckNameAvailabilityResponse> checkNameAvailabilityWithResponse​(String resourceGroupName,
                                                                                                           String managedEnvironmentName,
                                                                                                           CheckNameAvailabilityRequest checkNameAvailabilityRequest,
                                                                                                           com.azure.core.util.Context context)
        Checks if resource name is available.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        managedEnvironmentName - 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.