SBSubscriptionProperties interface

Description of Subscription Resource.

Properties

accessedAt

Last time there was a receive request to this subscription.

autoDeleteOnIdle

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

clientAffineProperties

Properties specific to client affine subscriptions.

countDetails

Message count details

createdAt

Exact time the message was created.

deadLetteringOnFilterEvaluationExceptions

Value that indicates whether a subscription has dead letter support on filter evaluation exceptions.

deadLetteringOnMessageExpiration

Value that indicates whether a subscription has dead letter support when a message expires.

defaultMessageTimeToLive

ISO 8061 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

ISO 8601 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.

forwardDeadLetteredMessagesTo

Queue/Topic name to forward the Dead Letter message

forwardTo

Queue/Topic name to forward the messages

isClientAffine

Value that indicates whether the subscription has an affinity to the client id.

lockDuration

ISO 8061 lock duration timespan for the subscription. The default value is 1 minute.

maxDeliveryCount

Number of maximum deliveries.

messageCount

Number of messages.

requiresSession

Value indicating if a subscription supports the concept of sessions.

status

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

updatedAt

The exact time the message was updated.

userMetadata

Gets and Sets Metadata of User.

Property Details

accessedAt

Last time there was a receive request to this subscription.

accessedAt?: Date

Property Value

Date

autoDeleteOnIdle

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

autoDeleteOnIdle?: string

Property Value

string

clientAffineProperties

Properties specific to client affine subscriptions.

clientAffineProperties?: SBClientAffineProperties

Property Value

countDetails

Message count details

countDetails?: MessageCountDetails

Property Value

createdAt

Exact time the message was created.

createdAt?: Date

Property Value

Date

deadLetteringOnFilterEvaluationExceptions

Value that indicates whether a subscription has dead letter support on filter evaluation exceptions.

deadLetteringOnFilterEvaluationExceptions?: boolean

Property Value

boolean

deadLetteringOnMessageExpiration

Value that indicates whether a subscription has dead letter support when a message expires.

deadLetteringOnMessageExpiration?: boolean

Property Value

boolean

defaultMessageTimeToLive

ISO 8061 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

ISO 8601 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

forwardDeadLetteredMessagesTo

Queue/Topic name to forward the Dead Letter message

forwardDeadLetteredMessagesTo?: string

Property Value

string

forwardTo

Queue/Topic name to forward the messages

forwardTo?: string

Property Value

string

isClientAffine

Value that indicates whether the subscription has an affinity to the client id.

isClientAffine?: boolean

Property Value

boolean

lockDuration

ISO 8061 lock duration timespan for the subscription. The default value is 1 minute.

lockDuration?: string

Property Value

string

maxDeliveryCount

Number of maximum deliveries.

maxDeliveryCount?: number

Property Value

number

messageCount

Number of messages.

messageCount?: number

Property Value

number

requiresSession

Value indicating if a subscription supports the concept of sessions.

requiresSession?: boolean

Property Value

boolean

status

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

status?: EntityStatus

Property Value

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