Share via


SBSubscription Class

Definition

Description of subscription resource.

[Microsoft.Rest.Serialization.JsonTransformation]
public class SBSubscription : Microsoft.Azure.Management.ServiceBus.Models.ProxyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type SBSubscription = class
    inherit ProxyResource
Public Class SBSubscription
Inherits ProxyResource
Inheritance
SBSubscription
Attributes

Constructors

SBSubscription()

Initializes a new instance of the SBSubscription class.

SBSubscription(String, String, String, String, Nullable<Int64>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, MessageCountDetails, Nullable<TimeSpan>, Nullable<Boolean>, Nullable<TimeSpan>, Nullable<Boolean>, Nullable<Boolean>, Nullable<TimeSpan>, Nullable<Int32>, Nullable<EntityStatus>, Nullable<Boolean>, Nullable<TimeSpan>, String, String, Nullable<Boolean>, SBClientAffineProperties, SystemData)

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.

ClientAffineProperties

Gets or sets properties specific to client affine subscriptions.

CountDetails

Gets message count details

CreatedAt

Gets exact time the message was created.

DeadLetteringOnFilterEvaluationExceptions

Gets or sets value that indicates whether a subscription has dead letter support on filter evaluation exceptions.

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 fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

(Inherited from ProxyResource)
IsClientAffine

Gets or sets value that indicates whether the subscription has an affinity to the client id.

Location

Gets the geo-location where the resource lives

(Inherited from ProxyResource)
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 the name of the resource

(Inherited from ProxyResource)
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'

SystemData

Gets the system meta data relating to this resource.

Type

Gets the type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"

(Inherited from ProxyResource)
UpdatedAt

Gets the exact time the message was updated.

Applies to