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

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