共用方式為


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