EventHub Interface

Implements

NestedResource HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager> HasInner<com.microsoft.azure.management.eventhub.implementation.EventhubInner> Refreshable<EventHub> Updatable<Update>

public interface EventHub
extends NestedResource, HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager>, Refreshable<EventHub>, Updatable<Update>, HasInner<com.microsoft.azure.management.eventhub.implementation.EventhubInner>

Type representing an Azure EventHub.

Method Summary

Modifier and Type Method and Description
abstract Destination captureDestination()
abstract java.lang.String dataCaptureFileNameFormat()
abstract boolean dataCaptureSkipEmptyArchives()
abstract int dataCaptureWindowSizeInMB()
abstract int dataCaptureWindowSizeInSeconds()
abstract boolean isDataCaptureEnabled()
abstract com.microsoft.azure.PagedList<EventHubAuthorizationRule> listAuthorizationRules()
abstract rx.Observable<EventHubAuthorizationRule> listAuthorizationRulesAsync()
abstract com.microsoft.azure.PagedList<EventHubConsumerGroup> listConsumerGroups()
abstract rx.Observable<EventHubConsumerGroup> listConsumerGroupsAsync()
abstract int messageRetentionPeriodInDays()
abstract java.lang.String namespaceName()
abstract java.lang.String namespaceResourceGroupName()
abstract java.util.Set<java.lang.String> partitionIds()

Method Details

captureDestination

public abstract Destination captureDestination()

Returns:

description of the destination where captured data will be stored

dataCaptureFileNameFormat

public abstract String dataCaptureFileNameFormat()

Returns:

the format file name that stores captured data when capturing is enabled

dataCaptureSkipEmptyArchives

public abstract boolean dataCaptureSkipEmptyArchives()

Returns:

whether to skip empty archives when capturing is enabled

dataCaptureWindowSizeInMB

public abstract int dataCaptureWindowSizeInMB()

Returns:

configured window in MB to be used for event capturing when capturing is enabled

dataCaptureWindowSizeInSeconds

public abstract int dataCaptureWindowSizeInSeconds()

Returns:

configured window in seconds to be used for event capturing when capturing is enabled

isDataCaptureEnabled

public abstract boolean isDataCaptureEnabled()

Returns:

true if the data capture enabled for the event hub events, false otherwise

listAuthorizationRules

public abstract PagedList listAuthorizationRules()

Returns:

authorization rules enabled for the event hub

listAuthorizationRulesAsync

public abstract Observable listAuthorizationRulesAsync()

Returns:

authorization rules enabled for the event hub

listConsumerGroups

public abstract PagedList listConsumerGroups()

Returns:

consumer group in the event hub

listConsumerGroupsAsync

public abstract Observable listConsumerGroupsAsync()

Returns:

consumer group in the event hub

messageRetentionPeriodInDays

public abstract int messageRetentionPeriodInDays()

Returns:

retention period of events in days

namespaceName

public abstract String namespaceName()

Returns:

name of the parent namespace

namespaceResourceGroupName

public abstract String namespaceResourceGroupName()

Returns:

the resource group of the parent namespace

partitionIds

public abstract Set partitionIds()

Returns:

the partition identifiers

Applies to