你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServiceBusNamespaces Interface

Implements

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

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 Mono<CheckNameAvailabilityResult> checkNameAvailabilityAsync(String name)

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

Applies to