Interface Queue

All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.arm.models.GroupableResource<ServiceBusManager, SBQueueInner>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasId, com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<SBQueueInner>, 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, SBQueueInner>, com.azure.resourcemanager.resources.fluentcore.model.Indexable, com.azure.resourcemanager.resources.fluentcore.model.Refreshable<Queue>, com.azure.resourcemanager.resources.fluentcore.arm.models.Resource, com.azure.resourcemanager.resources.fluentcore.model.Updatable<Queue.Update>

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

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    The entirety of the Service Bus queue definition.
    static interface 
    Grouping of Service Bus queue definition stages.
    static interface 
    The template for Service Bus queue update operation, containing all the settings that can be modified.
    static interface 
    Grouping of Service Bus queue 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 queue.
    long
    Gets number of active messages in the queue.
    Gets entry point to manage authorization rules for the Service Bus queue.
    Gets the exact time the queue was created.
    long
    Gets current size of the queue.
    long
    Gets number of messages in the dead-letter queue.
    Gets the duration after which the message expires.
    long
    Gets the idle duration after which the queue is automatically deleted.
    GEts the duration of the duplicate detection history.
    boolean
    Checks whether server-side batched operations are enabled.
    boolean
    Checks whether this queue has dead letter support when a message expires.
    boolean
    Checks whether this queue requires duplicate detection.
    boolean
    Checks whether express entities are enabled.
    boolean
    Checks whether the queue is to be partitioned across multiple message brokers.
    boolean
    Checks whether the queue supports sessions.
    long
    Gets the duration of peek-lock which is the amount of time that the message is locked for other receivers.
    int
    Gets the maximum number of a message delivery before marking it as dead-lettered.
    long
    Gets the maximum size of memory allocated for the queue in megabytes.
    long
    Gets the number of messages in the queue.
    long
    Gets number of messages sent to the queue that are yet to be released for consumption
    Gets the current status of the queue.
    long
    Gets number of messages transferred into dead letters.
    long
    Gets number of messages transferred to another queue, topic, or subscription.
    Gets the exact time the queue 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 queue was created.
      Returns:
      the exact time the queue was created
    • accessedAt

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

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

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

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

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

      boolean isDeadLetteringEnabledForExpiredMessages()
      Checks whether this queue has dead letter support when a message expires.
      Returns:
      indicates whether this queue has dead letter support when a message expires
    • isExpressEnabled

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

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

      boolean isSessionEnabled()
      Checks whether the queue supports sessions.
      Returns:
      indicates whether the queue supports sessions
    • isDuplicateDetectionEnabled

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

      long lockDurationInSeconds()
      Gets the duration of peek-lock which is the amount of time that the message is locked for other receivers.
      Returns:
      the duration of peek-lock which is the amount of time that the message is locked for other receivers
    • deleteOnIdleDurationInMinutes

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

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

      Duration duplicateMessageDetectionHistoryDuration()
      GEts the duration of the duplicate detection history.
      Returns:
      the duration of the duplicate detection history
    • maxDeliveryCountBeforeDeadLetteringMessage

      int maxDeliveryCountBeforeDeadLetteringMessage()
      Gets the maximum number of a message delivery before marking it as dead-lettered.
      Returns:
      the maximum number of a message delivery before marking it as dead-lettered
    • messageCount

      long messageCount()
      Gets the number of messages in the queue.
      Returns:
      the number of messages in the queue
    • activeMessageCount

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

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

      long scheduledMessageCount()
      Gets number of messages sent to the queue that are yet to be released for consumption
      Returns:
      number of messages sent to the queue 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 queue, topic, or subscription.
      Returns:
      number of messages transferred to another queue, topic, or subscription
    • status

      EntityStatus status()
      Gets the current status of the queue.
      Returns:
      the current status of the queue
    • authorizationRules

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