Freigeben über


EventHubsManager Class

public final class EventHubsManager
extends Manager<EventHubManagementClient>

Entry point to Azure EventHub resource management.

Method Summary

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

Creates an instance of EventHubsManager that exposes EventHub resource management API entry points.

static EventHubsManager authenticate(HttpPipeline httpPipeline, AzureProfile profile)

Creates an instance of EventHubsManager that exposes EventHub resource management API entry points.

static Configurable configure()

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

EventHubConsumerGroups consumerGroups()
DisasterRecoveryPairingAuthorizationRules disasterRecoveryPairingAuthorizationRules()
EventHubAuthorizationRules eventHubAuthorizationRules()
EventHubDisasterRecoveryPairings eventHubDisasterRecoveryPairings()
EventHubs eventHubs()
EventHubNamespaceAuthorizationRules namespaceAuthorizationRules()
EventHubNamespaces namespaces()

Methods inherited from Manager

Methods inherited from java.lang.Object

Method Details

authenticate

public static EventHubsManager authenticate(TokenCredential credential, AzureProfile profile)

Creates an instance of EventHubsManager that exposes EventHub resource management API entry points.

Parameters:

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

Returns:

the EventHubsManager

authenticate

public static EventHubsManager authenticate(HttpPipeline httpPipeline, AzureProfile profile)

Creates an instance of EventHubsManager that exposes EventHub resource management API entry points.

Parameters:

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

Returns:

the EventHubsManager

configure

public static EventHubsManager.Configurable configure()

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

Returns:

the instance allowing configurations

consumerGroups

public EventHubConsumerGroups consumerGroups()

Returns:

entry point to manage event hub consumer groups

disasterRecoveryPairingAuthorizationRules

public DisasterRecoveryPairingAuthorizationRules disasterRecoveryPairingAuthorizationRules()

Returns:

entry point to manage disaster recovery pairing authorization rules.

eventHubAuthorizationRules

public EventHubAuthorizationRules eventHubAuthorizationRules()

Returns:

entry point to manage event hub authorization rules.

eventHubDisasterRecoveryPairings

public EventHubDisasterRecoveryPairings eventHubDisasterRecoveryPairings()

Returns:

entry point to manage disaster recovery pairing of event hub namespaces.

eventHubs

public EventHubs eventHubs()

Returns:

entry point to manage event hubs

namespaceAuthorizationRules

public EventHubNamespaceAuthorizationRules namespaceAuthorizationRules()

Returns:

entry point to manage event hub namespace authorization rules.

namespaces

public EventHubNamespaces namespaces()

Returns:

entry point to manage EventHub namespaces

Applies to