ServiceBusNamespaces Interface

public interface ServiceBusNamespaces extends SupportsCreating<ServiceBusNamespace.DefinitionStages.Blank>,SupportsBatchCreation,SupportsBatchDeletion,SupportsListing,SupportsListingByResourceGroup,SupportsGettingByResourceGroup,SupportsGettingById,SupportsDeletingById,SupportsDeletingByResourceGroup,HasManager,HasInner

Entry point to Service Bus namespace API in Azure.

Method Summary

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

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

Observable<CheckNameAvailabilityResult> checkNameAvailabilityAsync(String name)

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

ServiceFuture<CheckNameAvailabilityResult> checkNameAvailabilityAsync(String name, ServiceCallback<CheckNameAvailabilityResult> callback)

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

Inherited Members

SupportsBatchCreation<ResourceT>.create(Creatable<ResourceT>... creatables) SupportsBatchCreation<ResourceT>.create(List<Creatable<ResourceT>> creatables) SupportsBatchCreation<ResourceT>.createAsync(Creatable<ResourceT>... creatables) SupportsBatchCreation<ResourceT>.createAsync(List<Creatable<ResourceT>> creatables) SupportsBatchCreation<ResourceT>.createAsync(ServiceCallback<CreatedResources<ResourceT>> callback, Creatable<ResourceT>... creatables) SupportsBatchCreation<ResourceT>.createAsync(final ServiceCallback<CreatedResources<ResourceT>> callback, List<Creatable<ResourceT>> creatables) SupportsCreating<T>.define(String name) SupportsDeletingById.deleteById(String id) SupportsDeletingById.deleteByIdAsync(String id, ServiceCallback<Void> callback) SupportsDeletingById.deleteByIdAsync(String id) SupportsBatchDeletion.deleteByIds(Collection<String> ids) SupportsBatchDeletion.deleteByIds(String...ids) SupportsBatchDeletion.deleteByIdsAsync(Collection<String> ids) SupportsBatchDeletion.deleteByIdsAsync(String...ids) SupportsDeletingByResourceGroup.deleteByResourceGroup(String resourceGroupName, String name) SupportsDeletingByResourceGroup.deleteByResourceGroupAsync(String resourceGroupName, String name, ServiceCallback<Void> callback) SupportsDeletingByResourceGroup.deleteByResourceGroupAsync(String resourceGroupName, String name) SupportsGettingById<T>.getById(String id) SupportsGettingById<T>.getByIdAsync(String id) SupportsGettingById<T>.getByIdAsync(String id, ServiceCallback<T> callback) SupportsGettingByResourceGroup<T>.getByResourceGroup(String resourceGroupName, String name) SupportsGettingByResourceGroup<T>.getByResourceGroupAsync(String resourceGroupName, String name) SupportsGettingByResourceGroup<T>.getByResourceGroupAsync(String resourceGroupName, String name, ServiceCallback<T> callback) HasInner<T>.inner() SupportsListing<T>.list() SupportsListing<T>.listAsync() SupportsListingByResourceGroup<T>.listByResourceGroup(String resourceGroupName) SupportsListingByResourceGroup<T>.listByResourceGroupAsync(String resourceGroupName) HasManager<ManagerT>.manager()

Method Details

checkNameAvailability

public 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 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 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