Interface Topic

All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.arm.models.GroupableResource<ServiceBusManager, SBTopicInner>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasId, com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<SBTopicInner>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager<ServiceBusManager>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasName, com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup, com.azure.resourcemanager.resources.fluentcore.arm.models.IndependentChild<ServiceBusManager>, com.azure.resourcemanager.resources.fluentcore.arm.models.IndependentChildResource<ServiceBusManager, SBTopicInner>, com.azure.resourcemanager.resources.fluentcore.model.Indexable, com.azure.resourcemanager.resources.fluentcore.model.Refreshable<Topic>, com.azure.resourcemanager.resources.fluentcore.arm.models.Resource, com.azure.resourcemanager.resources.fluentcore.model.Updatable<Topic.Update>

public interface Topic extends com.azure.resourcemanager.resources.fluentcore.arm.models.IndependentChildResource<ServiceBusManager, SBTopicInner>, com.azure.resourcemanager.resources.fluentcore.model.Refreshable<Topic>, com.azure.resourcemanager.resources.fluentcore.model.Updatable<Topic.Update>, com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<SBTopicInner>
Type representing Service Bus topic.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    The entirety of the Service Bus topic definition.
    static interface 
    Grouping of Service Bus topic definition stages.
    static interface 
    The template for a Service Bus topic update operation, containing all the settings that can be modified.
    static interface 
    Grouping of Service Bus topic update stages.

    Nested classes/interfaces inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource

    com.azure.resourcemanager.resources.fluentcore.arm.models.Resource.DefinitionWithRegion<T>, com.azure.resourcemanager.resources.fluentcore.arm.models.Resource.DefinitionWithTags<T>, com.azure.resourcemanager.resources.fluentcore.arm.models.Resource.UpdateWithTags<T>
  • Field Summary

    Fields inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource

    DUMMY
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets last time a message was sent, or the last time there was a receive request to this topic.
    long
    Gets number of active messages in the topic.
    Gets entry point to manage authorization rules for the Service Bus topic.
    Gets the exact time the topic was created.
    long
    Gets current size of the topic.
    long
    Gets number of messages in the dead-letter topic.
    Gets the duration after which the message expires, starting from when the message is sent to topic.
    long
    Gets the idle duration after which the topic is automatically deleted.
    Gets the duration of the duplicate detection history.
    boolean
    Checks whether server-side batched operations are enabled.
    boolean
    Checks whether this topic requires duplicate detection.
    boolean
    Check whether express entities are enabled.
    boolean
    Checks whether the topic is to be partitioned across multiple message brokers.
    long
    Gets the maximum size of memory allocated for the topic in megabytes.
    long
    Gets number of messages sent to the topic that are yet to be released for consumption.
    Gets the current status of the topic.
    int
    Gets number of subscriptions for the topic.
    Gets entry point to manage subscriptions associated with the topic.
    long
    Gets number of messages transferred into dead letters.
    long
    Gets number of messages transferred to another topic, topic, or subscription.
    Gets the exact time the topic was updated.

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasId

    id

    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.resources.fluentcore.arm.models.HasName

    name

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup

    resourceGroupName

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Indexable

    key

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable

    refresh, refreshAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource

    region, regionName, tags, type

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Updatable

    update
  • Method Details

    • createdAt

      OffsetDateTime createdAt()
      Gets the exact time the topic was created.
      Returns:
      the exact time the topic was created
    • accessedAt

      OffsetDateTime accessedAt()
      Gets last time a message was sent, or the last time there was a receive request to this topic.
      Returns:
      last time a message was sent, or the last time there was a receive request to this topic
    • updatedAt

      OffsetDateTime updatedAt()
      Gets the exact time the topic was updated.
      Returns:
      the exact time the topic was updated
    • maxSizeInMB

      long maxSizeInMB()
      Gets the maximum size of memory allocated for the topic in megabytes.
      Returns:
      the maximum size of memory allocated for the topic in megabytes
    • currentSizeInBytes

      long currentSizeInBytes()
      Gets current size of the topic.
      Returns:
      current size of the topic, in bytes
    • isBatchedOperationsEnabled

      boolean isBatchedOperationsEnabled()
      Checks whether server-side batched operations are enabled.
      Returns:
      indicates whether server-side batched operations are enabled
    • isExpressEnabled

      boolean isExpressEnabled()
      Check whether express entities are enabled.
      Returns:
      indicates whether express entities are enabled
    • isPartitioningEnabled

      boolean isPartitioningEnabled()
      Checks whether the topic is to be partitioned across multiple message brokers.
      Returns:
      indicates whether the topic is to be partitioned across multiple message brokers
    • isDuplicateDetectionEnabled

      boolean isDuplicateDetectionEnabled()
      Checks whether this topic requires duplicate detection.
      Returns:
      indicates if this topic requires duplicate detection
    • deleteOnIdleDurationInMinutes

      long deleteOnIdleDurationInMinutes()
      Gets the idle duration after which the topic is automatically deleted.
      Returns:
      the idle duration after which the topic is automatically deleted
    • defaultMessageTtlDuration

      Duration defaultMessageTtlDuration()
      Gets the duration after which the message expires, starting from when the message is sent to topic.
      Returns:
      the duration after which the message expires, starting from when the message is sent to topic
    • duplicateMessageDetectionHistoryDuration

      Duration duplicateMessageDetectionHistoryDuration()
      Gets the duration of the duplicate detection history.
      Returns:
      the duration of the duplicate detection history
    • activeMessageCount

      long activeMessageCount()
      Gets number of active messages in the topic.
      Returns:
      number of active messages in the topic
    • deadLetterMessageCount

      long deadLetterMessageCount()
      Gets number of messages in the dead-letter topic.
      Returns:
      number of messages in the dead-letter topic
    • scheduledMessageCount

      long scheduledMessageCount()
      Gets number of messages sent to the topic that are yet to be released for consumption.
      Returns:
      number of messages sent to the topic that are yet to be released for consumption
    • transferDeadLetterMessageCount

      long transferDeadLetterMessageCount()
      Gets number of messages transferred into dead letters.
      Returns:
      number of messages transferred into dead letters
    • transferMessageCount

      long transferMessageCount()
      Gets number of messages transferred to another topic, topic, or subscription.
      Returns:
      number of messages transferred to another topic, topic, or subscription
    • subscriptionCount

      int subscriptionCount()
      Gets number of subscriptions for the topic.
      Returns:
      number of subscriptions for the topic
    • status

      EntityStatus status()
      Gets the current status of the topic.
      Returns:
      the current status of the topic
    • subscriptions

      ServiceBusSubscriptions subscriptions()
      Gets entry point to manage subscriptions associated with the topic.
      Returns:
      entry point to manage subscriptions associated with the topic
    • authorizationRules

      TopicAuthorizationRules authorizationRules()
      Gets entry point to manage authorization rules for the Service Bus topic.
      Returns:
      entry point to manage authorization rules for the Service Bus topic