Interface EventHub
- All Superinterfaces:
HasInnerModel<EventhubInner>
,HasManager<EventHubsManager>
,Indexable
,NestedResource
,Refreshable<EventHub>
,Updatable<EventHub.Update>
public interface EventHub
extends NestedResource, HasManager<EventHubsManager>, Refreshable<EventHub>, Updatable<EventHub.Update>, HasInnerModel<EventhubInner>
Type representing an Azure EventHub.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the event hub definition.static interface
Grouping of event hub definition stages.static interface
The template for a event hub update operation, containing all the settings that can be modified.static interface
Grouping of event hub update stages. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
int
boolean
com.azure.core.http.rest.PagedIterable<EventHubAuthorizationRule>
com.azure.core.http.rest.PagedFlux<EventHubAuthorizationRule>
com.azure.core.http.rest.PagedIterable<EventHubConsumerGroup>
com.azure.core.http.rest.PagedFlux<EventHubConsumerGroup>
int
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModel
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
manager
Methods inherited from interface com.azure.resourcemanager.eventhubs.models.NestedResource
id, name, type
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable
refresh, refreshAsync
-
Method Details
-
namespaceResourceGroupName
String namespaceResourceGroupName()- Returns:
- the resource group of the parent namespace
-
namespaceName
String namespaceName()- Returns:
- name of the parent namespace
-
isDataCaptureEnabled
boolean isDataCaptureEnabled()- Returns:
- true if the data capture enabled for the event hub events, false otherwise
-
dataCaptureWindowSizeInSeconds
int dataCaptureWindowSizeInSeconds()- Returns:
- configured window in seconds to be used for event capturing when capturing is enabled
-
dataCaptureWindowSizeInMB
int dataCaptureWindowSizeInMB()- Returns:
- configured window in MB to be used for event capturing when capturing is enabled
-
dataCaptureSkipEmptyArchives
boolean dataCaptureSkipEmptyArchives()- Returns:
- whether to skip empty archives when capturing is enabled
-
dataCaptureFileNameFormat
String dataCaptureFileNameFormat()- Returns:
- the format file name that stores captured data when capturing is enabled
-
captureDestination
Destination captureDestination()- Returns:
- description of the destination where captured data will be stored
-
partitionIds
- Returns:
- the partition identifiers
-
messageRetentionPeriodInDays
int messageRetentionPeriodInDays()- Returns:
- retention period of events in days
-
listConsumerGroupsAsync
com.azure.core.http.rest.PagedFlux<EventHubConsumerGroup> listConsumerGroupsAsync()- Returns:
- consumer group in the event hub
-
listAuthorizationRulesAsync
com.azure.core.http.rest.PagedFlux<EventHubAuthorizationRule> listAuthorizationRulesAsync()- Returns:
- authorization rules enabled for the event hub
-
listConsumerGroups
com.azure.core.http.rest.PagedIterable<EventHubConsumerGroup> listConsumerGroups()- Returns:
- consumer group in the event hub
-
listAuthorizationRules
com.azure.core.http.rest.PagedIterable<EventHubAuthorizationRule> listAuthorizationRules()- Returns:
- authorization rules enabled for the event hub
-