Interface ServiceBusSubscription
-
- All Superinterfaces:
GroupableResource<ServiceBusManager,SBSubscriptionInner>,HasId,HasInnerModel<SBSubscriptionInner>,HasManager<ServiceBusManager>,HasName,HasResourceGroup,IndependentChild<ServiceBusManager>,IndependentChildResource<ServiceBusManager,SBSubscriptionInner>,Indexable,Refreshable<ServiceBusSubscription>,Resource,Updatable<ServiceBusSubscription.Update>
public interface ServiceBusSubscription extends IndependentChildResource<ServiceBusManager,SBSubscriptionInner>, Refreshable<ServiceBusSubscription>, Updatable<ServiceBusSubscription.Update>
Type representing service bus topic subscription.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceServiceBusSubscription.DefinitionThe entirety of the subscription definition.static interfaceServiceBusSubscription.DefinitionStagesGrouping of queue definition stages.static interfaceServiceBusSubscription.UpdateThe template for a subscription update operation, containing all the settings that can be modified.static interfaceServiceBusSubscription.UpdateStagesGrouping of subscription update stages.-
Nested classes/interfaces inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource
Resource.DefinitionWithRegion<T extends Object>, Resource.DefinitionWithTags<T extends Object>, Resource.UpdateWithTags<T extends Object>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OffsetDateTimeaccessedAt()longactiveMessageCount()OffsetDateTimecreatedAt()longdeadLetterMessageCount()DurationdefaultMessageTtlDuration()longdeleteOnIdleDurationInMinutes()booleanisBatchedOperationsEnabled()booleanisDeadLetteringEnabledForExpiredMessages()booleanisDeadLetteringEnabledForFilterEvaluationFailedMessages()booleanisSessionEnabled()longlockDurationInSeconds()intmaxDeliveryCountBeforeDeadLetteringMessage()longmessageCount()longscheduledMessageCount()EntityStatusstatus()longtransferDeadLetterMessageCount()longtransferMessageCount()OffsetDateTimeupdatedAt()-
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.Refreshable
refresh, refreshAsync
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource
region, regionName, tags, type
-
-
-
-
Method Detail
-
createdAt
OffsetDateTime createdAt()
- Returns:
- the exact time the message was created
-
accessedAt
OffsetDateTime accessedAt()
- Returns:
- last time there was a receive request to this subscription
-
updatedAt
OffsetDateTime updatedAt()
- Returns:
- the exact time the message was updated
-
isBatchedOperationsEnabled
boolean isBatchedOperationsEnabled()
- Returns:
- indicates whether server-side batched operations are enabled
-
isDeadLetteringEnabledForExpiredMessages
boolean isDeadLetteringEnabledForExpiredMessages()
- Returns:
- indicates whether this subscription has dead letter support when a message expires
-
isSessionEnabled
boolean isSessionEnabled()
- Returns:
- indicates whether the subscription supports sessions
-
lockDurationInSeconds
long lockDurationInSeconds()
- Returns:
- the duration of peek-lock which is the amount of time that the message is locked for other receivers
-
deleteOnIdleDurationInMinutes
long deleteOnIdleDurationInMinutes()
- Returns:
- the idle duration after which the subscription is automatically deleted.
-
defaultMessageTtlDuration
Duration defaultMessageTtlDuration()
- Returns:
- the duration after which the message expires, starting from when the message is sent to subscription.
-
maxDeliveryCountBeforeDeadLetteringMessage
int maxDeliveryCountBeforeDeadLetteringMessage()
- Returns:
- the maximum number of a message delivery before marking it as dead-lettered
-
messageCount
long messageCount()
- Returns:
- the number of messages in the subscription
-
activeMessageCount
long activeMessageCount()
- Returns:
- number of active messages in the subscription
-
deadLetterMessageCount
long deadLetterMessageCount()
- Returns:
- number of messages in the dead-letter subscription
-
scheduledMessageCount
long scheduledMessageCount()
- Returns:
- number of messages sent to the subscription 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 queue, topic, or subscription
-
status
EntityStatus status()
- Returns:
- the current status of the subscription
-
isDeadLetteringEnabledForFilterEvaluationFailedMessages
boolean isDeadLetteringEnabledForFilterEvaluationFailedMessages()
- Returns:
- indicates whether subscription has dead letter support on filter evaluation exceptions
-
-