ServiceBusNamespaces Interface

Implements

public interface ServiceBusNamespaces
extends SupportsCreating<Blank>, SupportsBatchCreation<ServiceBusNamespace>, SupportsBatchDeletion, SupportsListing<ServiceBusNamespace>, SupportsListingByResourceGroup<ServiceBusNamespace>, SupportsGettingByResourceGroup<ServiceBusNamespace>, SupportsGettingById<ServiceBusNamespace>, SupportsDeletingById, SupportsDeletingByResourceGroup, HasManager<com.microsoft.azure.management.servicebus.implementation.ServiceBusManager>, HasInner<com.microsoft.azure.management.servicebus.implementation.NamespacesInner>

Entry point to Service Bus namespace API in Azure.

Method Summary

Modifier and Type Method and Description
abstract CheckNameAvailabilityResult checkNameAvailability(String name)

Checks if namespace name is valid and is not in use.

abstract rx.Observable<CheckNameAvailabilityResult> checkNameAvailabilityAsync(String name)

Checks if namespace name is valid and is not in use asynchronously.

abstract com.microsoft.rest.ServiceFuture<CheckNameAvailabilityResult> checkNameAvailabilityAsync(String name, ServiceCallback<CheckNameAvailabilityResult> callback)

Checks if namespace name is valid and is not in use asynchronously.

Method Details

checkNameAvailability

public abstract CheckNameAvailabilityResult checkNameAvailability(String name)

Checks if namespace name is valid and is not in use.

Parameters:

name - the account name to check

Returns:

whether the name is available and other info if not

checkNameAvailabilityAsync

public abstract Observable checkNameAvailabilityAsync(String name)

Checks if namespace name is valid and is not in use asynchronously.

Parameters:

name - the namespace name to check

Returns:

a representation of the deferred computation of this call, returning whether the name is available or other info if not

checkNameAvailabilityAsync

public abstract ServiceFuture checkNameAvailabilityAsync(String name, ServiceCallback callback)

Checks if namespace name is valid and is not in use asynchronously.

Parameters:

name - the namespace name to check
callback - the callback to call on success or failure

Returns:

a handle to cancel the request

Applies to