Interface EventHub

All Superinterfaces:
HasInnerModel<EventhubInner>, HasManager<EventHubsManager>, Indexable, NestedResource, Refreshable<EventHub>, Updatable<EventHub.Update>

Type representing an Azure EventHub.
  • 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

      Set<String> 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