SBSubscription Class

Definition

Description of subscription resource.

[Microsoft.Rest.Serialization.JsonTransformation]
public class SBSubscription : Microsoft.Azure.Management.ServiceBus.Models.Resource
type SBSubscription = class
    inherit Resource
Public Class SBSubscription
Inherits Resource
Inheritance
System.Object
SBSubscription
Attributes

Constructors

SBSubscription()

Initializes a new instance of the SBSubscription class.

Properties

AccessedAt

Gets last time there was a receive request to this subscription.

AutoDeleteOnIdle

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

CountDetails

Gets message count details

CreatedAt

Gets exact time the message was created.

DeadLetteringOnMessageExpiration

Gets or sets value that indicates whether a subscription has dead letter support when a message expires.

DefaultMessageTimeToLive

Gets or sets 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

Gets or sets ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.

EnableBatchedOperations

Gets or sets value that indicates whether server-side batched operations are enabled.

ForwardDeadLetteredMessagesTo

Gets or sets queue/Topic name to forward the Dead Letter message

ForwardTo

Gets or sets queue/Topic name to forward the messages

Id

Gets resource Id

(Inherited from Resource)
LockDuration

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

MaxDeliveryCount

Gets or sets number of maximum deliveries.

MessageCount

Gets number of messages.

Name

Gets resource name

(Inherited from Resource)
RequiresSession

Gets or sets value indicating if a subscription supports the concept of sessions.

Status

Gets or sets enumerates the possible values for the status of a messaging entity. Possible values include: 'Active', 'Disabled', 'Restoring', 'SendDisabled', 'ReceiveDisabled', 'Creating', 'Deleting', 'Renaming', 'Unknown'

Type

Gets resource type

(Inherited from Resource)
UpdatedAt

Gets the exact time the message was updated.

Applies to