public ServiceFuture<CheckAvailabilityResultInner> checkNotificationHubAvailabilityAsync(String resourceGroupName, String namespaceName, CheckAvailabilityParameters parameters, final ServiceCallback<CheckAvailabilityResultInner> serviceCallback) {
        return ServiceFuture.fromResponse(checkNotificationHubAvailabilityWithServiceResponseAsync(resourceGroupName, namespaceName, parameters), serviceCallback);
    }
public ServiceFuture < CheckAvailabilityResultInner > checkNotificationHubAvailabilityAsync ( String resourceGroupName , String namespaceName , CheckAvailabilityParameters parameters , final ServiceCallback < CheckAvailabilityResultInner > serviceCallback ) { return ServiceFuture . fromResponse ( checkNotificationHubAvailabilityWithServiceResponseAsync ( resourceGroupName , namespaceName , parameters ) , serviceCallback ) ; }
Checks the availability of the given notificationHub in a namespace.

@param resourceGroupName The name of the resource group.
@param namespaceName The namespace name.
@param parameters The notificationHub name.
@param serviceCallback the async ServiceCallback to handle successful and failed responses.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the {@link ServiceFuture} object