SBSubscription interface
Description of subscription resource.
- Extends
Properties
accessed |
Last time there was a receive request to this subscription. NOTE: This property will not be serialized. It can only be populated by the server. |
auto |
ISO 8061 timeSpan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes. |
client |
Properties specific to client affine subscriptions. |
count |
Message count details NOTE: This property will not be serialized. It can only be populated by the server. |
created |
Exact time the message was created. NOTE: This property will not be serialized. It can only be populated by the server. |
dead |
Value that indicates whether a subscription has dead letter support on filter evaluation exceptions. |
dead |
Value that indicates whether a subscription has dead letter support when a message expires. |
default |
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. |
duplicate |
ISO 8601 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. |
forward |
Queue/Topic name to forward the Dead Letter message |
forward |
Queue/Topic name to forward the messages |
is |
Value that indicates whether the subscription has an affinity to the client id. |
lock |
ISO 8061 lock duration timespan for the subscription. The default value is 1 minute. |
max |
Number of maximum deliveries. |
message |
Number of messages. NOTE: This property will not be serialized. It can only be populated by the server. |
requires |
Value indicating if a subscription supports the concept of sessions. |
status | Enumerates the possible values for the status of a messaging entity. |
system |
The system meta data relating to this resource. NOTE: This property will not be serialized. It can only be populated by the server. |
updated |
The exact time the message was updated. NOTE: This property will not be serialized. It can only be populated by the server. |
Inherited Properties
id | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} NOTE: This property will not be serialized. It can only be populated by the server. |
location | The geo-location where the resource lives NOTE: This property will not be serialized. It can only be populated by the server. |
name | The name of the resource NOTE: This property will not be serialized. It can only be populated by the server. |
type | The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs" NOTE: This property will not be serialized. It can only be populated by the server. |
Property Details
accessedAt
Last time there was a receive request to this subscription. NOTE: This property will not be serialized. It can only be populated by the server.
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 NOTE: This property will not be serialized. It can only be populated by the server.
countDetails?: MessageCountDetails
Property Value
createdAt
Exact time the message was created. NOTE: This property will not be serialized. It can only be populated by the server.
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. NOTE: This property will not be serialized. It can only be populated by the server.
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
systemData
The system meta data relating to this resource. NOTE: This property will not be serialized. It can only be populated by the server.
systemData?: SystemData
Property Value
updatedAt
The exact time the message was updated. NOTE: This property will not be serialized. It can only be populated by the server.
updatedAt?: Date
Property Value
Date
Inherited Property Details
id
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} NOTE: This property will not be serialized. It can only be populated by the server.
id?: string
Property Value
string
Inherited From ProxyResource.id
location
The geo-location where the resource lives NOTE: This property will not be serialized. It can only be populated by the server.
location?: string
Property Value
string
Inherited From ProxyResource.location
name
The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.
name?: string
Property Value
string
Inherited From ProxyResource.name
type
The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs" NOTE: This property will not be serialized. It can only be populated by the server.
type?: string
Property Value
string
Inherited From ProxyResource.type