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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe entirety of the event hub definition.static interfaceGrouping of event hub definition stages.static interfaceThe template for a event hub update operation, containing all the settings that can be modified.static interfaceGrouping of event hub update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets description of the destination where captured data will be stored.Gets the format file name that stores captured data when capturing is enabled.booleanChecks whether to skip empty archives when capturing is enabled.intGets configured window in MB to be used for event capturing when capturing is enabled.intGets configured window in seconds to be used for event capturing when capturing is enabled.booleanChecks whether the data capture enabled for the event hub events.com.azure.core.http.rest.PagedIterable<EventHubAuthorizationRule> Gets authorization rules enabled for the event hub.com.azure.core.http.rest.PagedFlux<EventHubAuthorizationRule> Gets authorization rules enabled for the event hub.com.azure.core.http.rest.PagedIterable<EventHubConsumerGroup> Gets consumer group in the event hub.com.azure.core.http.rest.PagedFlux<EventHubConsumerGroup> Gets consumer group in the event hub.intGets retention period of events in days.Gets name of the parent namespace.Gets the resource group of the parent namespace.Gets the partition identifiers.Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModelMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
managerMethods inherited from interface com.azure.resourcemanager.eventhubs.models.NestedResource
id, name, typeMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable
refresh, refreshAsync
-
Method Details
-
namespaceResourceGroupName
String namespaceResourceGroupName()Gets the resource group of the parent namespace.- Returns:
- the resource group of the parent namespace
-
namespaceName
String namespaceName()Gets name of the parent namespace.- Returns:
- name of the parent namespace
-
isDataCaptureEnabled
boolean isDataCaptureEnabled()Checks whether the data capture enabled for the event hub events.- Returns:
- true if the data capture enabled for the event hub events, false otherwise
-
dataCaptureWindowSizeInSeconds
int dataCaptureWindowSizeInSeconds()Gets configured window in seconds to be used for event capturing when capturing is enabled.- Returns:
- configured window in seconds to be used for event capturing when capturing is enabled
-
dataCaptureWindowSizeInMB
int dataCaptureWindowSizeInMB()Gets configured window in MB to be used for event capturing when capturing is enabled.- Returns:
- configured window in MB to be used for event capturing when capturing is enabled
-
dataCaptureSkipEmptyArchives
boolean dataCaptureSkipEmptyArchives()Checks whether to skip empty archives when capturing is enabled.- Returns:
- whether to skip empty archives when capturing is enabled
-
dataCaptureFileNameFormat
String dataCaptureFileNameFormat()Gets the format file name that stores captured data when capturing is enabled.- Returns:
- the format file name that stores captured data when capturing is enabled
-
captureDestination
Destination captureDestination()Gets description of the destination where captured data will be stored.- Returns:
- description of the destination where captured data will be stored
-
partitionIds
Gets the partition identifiers.- Returns:
- the partition identifiers
-
messageRetentionPeriodInDays
int messageRetentionPeriodInDays()Gets retention period of events in days.- Returns:
- retention period of events in days
-
listConsumerGroupsAsync
com.azure.core.http.rest.PagedFlux<EventHubConsumerGroup> listConsumerGroupsAsync()Gets consumer group in the event hub.- Returns:
- consumer group in the event hub
-
listAuthorizationRulesAsync
com.azure.core.http.rest.PagedFlux<EventHubAuthorizationRule> listAuthorizationRulesAsync()Gets authorization rules enabled for the event hub.- Returns:
- authorization rules enabled for the event hub
-
listConsumerGroups
com.azure.core.http.rest.PagedIterable<EventHubConsumerGroup> listConsumerGroups()Gets consumer group in the event hub.- Returns:
- consumer group in the event hub
-
listAuthorizationRules
com.azure.core.http.rest.PagedIterable<EventHubAuthorizationRule> listAuthorizationRules()Gets authorization rules enabled for the event hub.- Returns:
- authorization rules enabled for the event hub
-