SBTopicProperties interface
The Topic Properties definition.
Properties
| accessed |
Last time the message was sent, or a request was received, for this topic. |
| auto |
ISO 8601 timespan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes. |
| count |
Message count details |
| created |
Exact time the message was created. |
| default |
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. |
| duplicate |
ISO8601 timespan structure that defines the duration of the duplicate detection history. The default value is 10 minutes. |
| enable |
Value that indicates whether server-side batched operations are enabled. |
| enable |
Value that indicates whether Express Entities are enabled. An express topic holds a message in memory temporarily before writing it to persistent storage. |
| enable |
Value that indicates whether the topic to be partitioned across multiple message brokers is enabled. |
| max |
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. |
| max |
Maximum size of the topic in megabytes, which is the size of the memory allocated for the topic. Default is 1024. |
| requires |
Value indicating if this topic requires duplicate detection. |
| size |
Size of the topic, in bytes. |
| status | Enumerates the possible values for the status of a messaging entity. |
| subscription |
Number of subscriptions. |
| support |
Value that indicates whether the topic supports ordering. |
| updated |
The exact time the message was updated. |
| user |
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
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