Interface Topic
- All Superinterfaces:
GroupableResource<com.microsoft.azure.management.servicebus.implementation.ServiceBusManager,,com.microsoft.azure.management.servicebus.implementation.TopicInner> HasId,HasInner<com.microsoft.azure.management.servicebus.implementation.TopicInner>,HasManager<com.microsoft.azure.management.servicebus.implementation.ServiceBusManager>,HasName,HasResourceGroup,IndependentChild<com.microsoft.azure.management.servicebus.implementation.ServiceBusManager>,IndependentChildResource<com.microsoft.azure.management.servicebus.implementation.ServiceBusManager,,com.microsoft.azure.management.servicebus.implementation.TopicInner> Indexable,Refreshable<Topic>,Resource,Updatable<Topic.Update>
public interface Topic
extends IndependentChildResource<com.microsoft.azure.management.servicebus.implementation.ServiceBusManager,com.microsoft.azure.management.servicebus.implementation.TopicInner>, Refreshable<Topic>, Updatable<Topic.Update>, HasInner<com.microsoft.azure.management.servicebus.implementation.TopicInner>
Type representing Service Bus topic.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe entirety of the Service Bus topic definition.static interfaceGrouping of Service Bus topic definition stages.static interfaceThe template for a Service Bus topic update operation, containing all the settings that can be modified.static interfaceGrouping of Service Bus topic update stages.Nested classes/interfaces inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.Resource
Resource.DefinitionWithRegion<T>, Resource.DefinitionWithTags<T>, Resource.UpdateWithTags<T> -
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.DateTimelongorg.joda.time.DateTimelonglongorg.joda.time.Periodlongorg.joda.time.Periodbooleanbooleanbooleanbooleanlonglongstatus()intlonglongorg.joda.time.DateTimeMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasId
idMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
innerMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager
managerMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasName
nameMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupNameMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Indexable
keyMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Refreshable
refresh, refreshAsyncMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.Resource
region, regionName, tags, type
-
Method Details
-
createdAt
org.joda.time.DateTime createdAt()- Returns:
- the exact time the topic was created
-
accessedAt
org.joda.time.DateTime accessedAt()- Returns:
- last time a message was sent, or the last time there was a receive request to this topic
-
updatedAt
org.joda.time.DateTime updatedAt()- Returns:
- the exact time the topic was updated
-
maxSizeInMB
long maxSizeInMB()- Returns:
- the maximum size of memory allocated for the topic in megabytes
-
currentSizeInBytes
long currentSizeInBytes()- Returns:
- current size of the topic, in bytes
-
isBatchedOperationsEnabled
boolean isBatchedOperationsEnabled()- Returns:
- indicates whether server-side batched operations are enabled
-
isExpressEnabled
boolean isExpressEnabled()- Returns:
- indicates whether express entities are enabled
-
isPartitioningEnabled
boolean isPartitioningEnabled()- Returns:
- indicates whether the topic is to be partitioned across multiple message brokers
-
isDuplicateDetectionEnabled
boolean isDuplicateDetectionEnabled()- Returns:
- indicates if this topic requires duplicate detection
-
deleteOnIdleDurationInMinutes
long deleteOnIdleDurationInMinutes()- Returns:
- the idle duration after which the topic is automatically deleted
-
defaultMessageTtlDuration
org.joda.time.Period defaultMessageTtlDuration()- Returns:
- the duration after which the message expires, starting from when the message is sent to topic
-
duplicateMessageDetectionHistoryDuration
org.joda.time.Period duplicateMessageDetectionHistoryDuration()- Returns:
- the duration of the duplicate detection history
-
activeMessageCount
long activeMessageCount()- Returns:
- number of active messages in the topic
-
deadLetterMessageCount
long deadLetterMessageCount()- Returns:
- number of messages in the dead-letter topic
-
scheduledMessageCount
long scheduledMessageCount()- Returns:
- number of messages sent to the topic that are yet to be released for consumption
-
transferDeadLetterMessageCount
long transferDeadLetterMessageCount()- Returns:
- number of messages transferred into dead letters
-
transferMessageCount
long transferMessageCount()- Returns:
- number of messages transferred to another topic, topic, or subscription
-
subscriptionCount
int subscriptionCount()- Returns:
- number of subscriptions for the topic
-
status
EntityStatus status()- Returns:
- the current status of the topic
-
subscriptions
ServiceBusSubscriptions subscriptions()- Returns:
- entry point to manage subscriptions associated with the topic
-
authorizationRules
TopicAuthorizationRules authorizationRules()- Returns:
- entry point to manage authorization rules for the Service Bus topic
-