Partilhar via


ServiceBusManager Class

public final class ServiceBusManager
extends Manager<ServiceBusManagementClient>

Entry point to Azure ServiceBus management.

Method Summary

Modifier and Type Method and Description
static ServiceBusManager authenticate(TokenCredential credential, AzureProfile profile)

Creates an instance of ServiceBusManager that exposes servicebus management API entry points.

static ServiceBusManager authenticate(HttpPipeline httpPipeline, AzureProfile profile)

Creates an instance of ServiceBusManager that exposes servicebus management API entry points.

static Configurable configure()

Get a Configurable instance that can be used to create ServiceBusManager with optional configuration.

ServiceBusNamespaces namespaces()

Methods inherited from Manager

Methods inherited from java.lang.Object

Method Details

authenticate

public static ServiceBusManager authenticate(TokenCredential credential, AzureProfile profile)

Creates an instance of ServiceBusManager that exposes servicebus management API entry points.

Parameters:

credential - the credential to use
profile - the profile to use

Returns:

the ServiceBusManager

authenticate

public static ServiceBusManager authenticate(HttpPipeline httpPipeline, AzureProfile profile)

Creates an instance of ServiceBusManager that exposes servicebus management API entry points.

Parameters:

httpPipeline - the HttpPipeline configured with Azure authentication credential.
profile - the profile to use

Returns:

the ServiceBusManager

configure

public static ServiceBusManager.Configurable configure()

Get a Configurable instance that can be used to create ServiceBusManager with optional configuration.

Returns:

the instance allowing configurations

namespaces

public ServiceBusNamespaces namespaces()

Returns:

the Service Bus namespace management API entry point

Applies to