Interface EventHub
-
- All Superinterfaces:
com.microsoft.azure.management.resources.fluentcore.model.HasInner<com.microsoft.azure.management.eventhub.implementation.EventhubInner>,com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager>,com.microsoft.azure.management.resources.fluentcore.model.Indexable,NestedResource,com.microsoft.azure.management.resources.fluentcore.model.Refreshable<EventHub>,com.microsoft.azure.management.resources.fluentcore.model.Updatable<EventHub.Update>
@Beta(V1_7_0) public interface EventHub extends NestedResource, com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager<com.microsoft.azure.management.eventhub.implementation.EventHubManager>, com.microsoft.azure.management.resources.fluentcore.model.Refreshable<EventHub>, com.microsoft.azure.management.resources.fluentcore.model.Updatable<EventHub.Update>, com.microsoft.azure.management.resources.fluentcore.model.HasInner<com.microsoft.azure.management.eventhub.implementation.EventhubInner>
Type representing an Azure EventHub.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceEventHub.DefinitionThe entirety of the event hub definition.static interfaceEventHub.DefinitionStagesGrouping of event hub definition stages.static interfaceEventHub.UpdateThe template for a event hub update operation, containing all the settings that can be modified.static interfaceEventHub.UpdateStagesGrouping of event hub update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DestinationcaptureDestination()StringdataCaptureFileNameFormat()intdataCaptureWindowSizeInMB()intdataCaptureWindowSizeInSeconds()booleanisDataCaptureEnabled()com.microsoft.azure.PagedList<EventHubAuthorizationRule>listAuthorizationRules()rx.Observable<EventHubAuthorizationRule>listAuthorizationRulesAsync()com.microsoft.azure.PagedList<EventHubConsumerGroup>listConsumerGroups()rx.Observable<EventHubConsumerGroup>listConsumerGroupsAsync()intmessageRetentionPeriodInDays()StringnamespaceName()StringnamespaceResourceGroupName()Set<String>partitionIds()-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
inner
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager
manager
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Indexable
key
-
Methods inherited from interface com.microsoft.azure.management.eventhub.NestedResource
id, name, type
-
-
-
-
Method Detail
-
namespaceResourceGroupName
@Beta(V1_7_0) String namespaceResourceGroupName()
- Returns:
- the resource group of the parent namespace
-
namespaceName
@Beta(V1_7_0) String namespaceName()
- Returns:
- name of the parent namespace
-
isDataCaptureEnabled
@Beta(V1_7_0) boolean isDataCaptureEnabled()
- Returns:
- true if the data capture enabled for the event hub events, false otherwise
-
dataCaptureWindowSizeInSeconds
@Beta(V1_7_0) int dataCaptureWindowSizeInSeconds()
- Returns:
- configured window in seconds to be used for event capturing when capturing is enabled
-
dataCaptureWindowSizeInMB
@Beta(V1_7_0) int dataCaptureWindowSizeInMB()
- Returns:
- configured window in MB to be used for event capturing when capturing is enabled
-
dataCaptureFileNameFormat
@Beta(V1_7_0) String dataCaptureFileNameFormat()
- Returns:
- the format file name that stores captured data when capturing is enabled
-
captureDestination
@Beta(V1_7_0) Destination captureDestination()
- Returns:
- description of the destination where captured data will be stored
-
messageRetentionPeriodInDays
@Beta(V1_7_0) int messageRetentionPeriodInDays()
- Returns:
- retention period of events in days
-
listConsumerGroupsAsync
@Beta(V1_7_0) rx.Observable<EventHubConsumerGroup> listConsumerGroupsAsync()
- Returns:
- consumer group in the event hub
-
listAuthorizationRulesAsync
@Beta(V1_7_0) rx.Observable<EventHubAuthorizationRule> listAuthorizationRulesAsync()
- Returns:
- authorization rules enabled for the event hub
-
listConsumerGroups
@Beta(V1_7_0) com.microsoft.azure.PagedList<EventHubConsumerGroup> listConsumerGroups()
- Returns:
- consumer group in the event hub
-
listAuthorizationRules
@Beta(V1_7_0) com.microsoft.azure.PagedList<EventHubAuthorizationRule> listAuthorizationRules()
- Returns:
- authorization rules enabled for the event hub
-
-