SBTopicProperties interface

The Topic Properties definition.

Properties

accessedAt

Last time the message was sent, or a request was received, for this topic.

autoDeleteOnIdle

ISO 8601 timespan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.

countDetails

Message count details

createdAt

Exact time the message was created.

defaultMessageTimeToLive

ISO 8601 Default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself.

duplicateDetectionHistoryTimeWindow

ISO8601 timespan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.

enableBatchedOperations

Value that indicates whether server-side batched operations are enabled.

enableExpress

Value that indicates whether Express Entities are enabled. An express topic holds a message in memory temporarily before writing it to persistent storage.

enablePartitioning

Value that indicates whether the topic to be partitioned across multiple message brokers is enabled.

maxMessageSizeInKilobytes

Maximum size (in KB) of the message payload that can be accepted by the topic. This property is only used in Premium today and default is 1024.

maxSizeInMegabytes

Maximum size of the topic in megabytes, which is the size of the memory allocated for the topic. Default is 1024.

requiresDuplicateDetection

Value indicating if this topic requires duplicate detection.

sizeInBytes

Size of the topic, in bytes.

status

Enumerates the possible values for the status of a messaging entity.

subscriptionCount

Number of subscriptions.

supportOrdering

Value that indicates whether the topic supports ordering.

updatedAt

The exact time the message was updated.

userMetadata

Gets and Sets Metadata of User.

Property Details

accessedAt

Last time the message was sent, or a request was received, for this topic.

accessedAt?: Date

Property Value

Date

autoDeleteOnIdle

ISO 8601 timespan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.

autoDeleteOnIdle?: string

Property Value

string

countDetails

Message count details

countDetails?: MessageCountDetails

Property Value

createdAt

Exact time the message was created.

createdAt?: Date

Property Value

Date

defaultMessageTimeToLive

ISO 8601 Default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself.

defaultMessageTimeToLive?: string

Property Value

string

duplicateDetectionHistoryTimeWindow

ISO8601 timespan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.

duplicateDetectionHistoryTimeWindow?: string

Property Value

string

enableBatchedOperations

Value that indicates whether server-side batched operations are enabled.

enableBatchedOperations?: boolean

Property Value

boolean

enableExpress

Value that indicates whether Express Entities are enabled. An express topic holds a message in memory temporarily before writing it to persistent storage.

enableExpress?: boolean

Property Value

boolean

enablePartitioning

Value that indicates whether the topic to be partitioned across multiple message brokers is enabled.

enablePartitioning?: boolean

Property Value

boolean

maxMessageSizeInKilobytes

Maximum size (in KB) of the message payload that can be accepted by the topic. This property is only used in Premium today and default is 1024.

maxMessageSizeInKilobytes?: number

Property Value

number

maxSizeInMegabytes

Maximum size of the topic in megabytes, which is the size of the memory allocated for the topic. Default is 1024.

maxSizeInMegabytes?: number

Property Value

number

requiresDuplicateDetection

Value indicating if this topic requires duplicate detection.

requiresDuplicateDetection?: boolean

Property Value

boolean

sizeInBytes

Size of the topic, in bytes.

sizeInBytes?: number

Property Value

number

status

Enumerates the possible values for the status of a messaging entity.

status?: EntityStatus

Property Value

subscriptionCount

Number of subscriptions.

subscriptionCount?: number

Property Value

number

supportOrdering

Value that indicates whether the topic supports ordering.

supportOrdering?: boolean

Property Value

boolean

updatedAt

The exact time the message was updated.

updatedAt?: Date

Property Value

Date

userMetadata

Gets and Sets Metadata of User.

userMetadata?: string

Property Value

string