EventHub Interface
Implements
public interface EventHub
extends NestedResource, HasManager<EventHubsManager>, Refreshable<EventHub>, Updatable<Update>, HasInnerModel<EventhubInner>
Type representing an Azure EventHub.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Destination |
captureDestination()
Gets description of the destination where captured data will be stored. |
abstract String |
dataCaptureFileNameFormat()
Gets the format file name that stores captured data when capturing is enabled. |
abstract boolean |
dataCaptureSkipEmptyArchives()
Checks whether to skip empty archives when capturing is enabled. |
abstract int |
dataCaptureWindowSizeInMB()
Gets configured window in MB to be used for event capturing when capturing is enabled. |
abstract int |
dataCaptureWindowSizeInSeconds()
Gets configured window in seconds to be used for event capturing when capturing is enabled. |
abstract boolean |
isDataCaptureEnabled()
Checks whether the data capture enabled for the event hub events. |
abstract
Paged |
listAuthorizationRules()
Gets authorization rules enabled for the event hub. |
abstract
Paged |
listAuthorizationRulesAsync()
Gets authorization rules enabled for the event hub. |
abstract
Paged |
listConsumerGroups()
Gets consumer group in the event hub. |
abstract
Paged |
listConsumerGroupsAsync()
Gets consumer group in the event hub. |
abstract int |
messageRetentionPeriodInDays()
Gets retention period of events in days. |
abstract String |
namespaceName()
Gets name of the parent namespace. |
abstract String |
namespaceResourceGroupName()
Gets the resource group of the parent namespace. |
abstract Set<String> |
partitionIds()
Gets the partition identifiers. |
Method Details
captureDestination
public abstract Destination captureDestination()
Gets description of the destination where captured data will be stored.
Returns:
dataCaptureFileNameFormat
public abstract String dataCaptureFileNameFormat()
Gets the format file name that stores captured data when capturing is enabled.
Returns:
dataCaptureSkipEmptyArchives
public abstract boolean dataCaptureSkipEmptyArchives()
Checks whether to skip empty archives when capturing is enabled.
Returns:
dataCaptureWindowSizeInMB
public abstract int dataCaptureWindowSizeInMB()
Gets configured window in MB to be used for event capturing when capturing is enabled.
Returns:
dataCaptureWindowSizeInSeconds
public abstract int dataCaptureWindowSizeInSeconds()
Gets configured window in seconds to be used for event capturing when capturing is enabled.
Returns:
isDataCaptureEnabled
public abstract boolean isDataCaptureEnabled()
Checks whether the data capture enabled for the event hub events.
Returns:
listAuthorizationRules
public abstract PagedIterable
Gets authorization rules enabled for the event hub.
Returns:
listAuthorizationRulesAsync
public abstract PagedFlux
Gets authorization rules enabled for the event hub.
Returns:
listConsumerGroups
public abstract PagedIterable
Gets consumer group in the event hub.
Returns:
listConsumerGroupsAsync
public abstract PagedFlux
Gets consumer group in the event hub.
Returns:
messageRetentionPeriodInDays
public abstract int messageRetentionPeriodInDays()
Gets retention period of events in days.
Returns:
namespaceName
public abstract String namespaceName()
Gets name of the parent namespace.
Returns:
namespaceResourceGroupName
public abstract String namespaceResourceGroupName()
Gets the resource group of the parent namespace.
Returns:
partitionIds
public abstract Set
Gets the partition identifiers.
Returns:
Applies to
Azure SDK for Java