SBSubscription Constructors

Definition

Overloads

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.

SBSubscription()

Initializes a new instance of the SBSubscription class.

public SBSubscription ();
Public Sub New ()

Applies to

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.

public SBSubscription (string id = default, string name = default, string type = default, string location = default, long? messageCount = default, DateTime? createdAt = default, DateTime? accessedAt = default, DateTime? updatedAt = default, Microsoft.Azure.Management.ServiceBus.Models.MessageCountDetails countDetails = default, TimeSpan? lockDuration = default, bool? requiresSession = default, TimeSpan? defaultMessageTimeToLive = default, bool? deadLetteringOnFilterEvaluationExceptions = default, bool? deadLetteringOnMessageExpiration = default, TimeSpan? duplicateDetectionHistoryTimeWindow = default, int? maxDeliveryCount = default, Microsoft.Azure.Management.ServiceBus.Models.EntityStatus? status = default, bool? enableBatchedOperations = default, TimeSpan? autoDeleteOnIdle = default, string forwardTo = default, string forwardDeadLetteredMessagesTo = default, bool? isClientAffine = default, Microsoft.Azure.Management.ServiceBus.Models.SBClientAffineProperties clientAffineProperties = default, Microsoft.Azure.Management.ServiceBus.Models.SystemData systemData = default);
new Microsoft.Azure.Management.ServiceBus.Models.SBSubscription : string * string * string * string * Nullable<int64> * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * Microsoft.Azure.Management.ServiceBus.Models.MessageCountDetails * Nullable<TimeSpan> * Nullable<bool> * Nullable<TimeSpan> * Nullable<bool> * Nullable<bool> * Nullable<TimeSpan> * Nullable<int> * Nullable<Microsoft.Azure.Management.ServiceBus.Models.EntityStatus> * Nullable<bool> * Nullable<TimeSpan> * string * string * Nullable<bool> * Microsoft.Azure.Management.ServiceBus.Models.SBClientAffineProperties * Microsoft.Azure.Management.ServiceBus.Models.SystemData -> Microsoft.Azure.Management.ServiceBus.Models.SBSubscription
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional messageCount As Nullable(Of Long) = Nothing, Optional createdAt As Nullable(Of DateTime) = Nothing, Optional accessedAt As Nullable(Of DateTime) = Nothing, Optional updatedAt As Nullable(Of DateTime) = Nothing, Optional countDetails As MessageCountDetails = Nothing, Optional lockDuration As Nullable(Of TimeSpan) = Nothing, Optional requiresSession As Nullable(Of Boolean) = Nothing, Optional defaultMessageTimeToLive As Nullable(Of TimeSpan) = Nothing, Optional deadLetteringOnFilterEvaluationExceptions As Nullable(Of Boolean) = Nothing, Optional deadLetteringOnMessageExpiration As Nullable(Of Boolean) = Nothing, Optional duplicateDetectionHistoryTimeWindow As Nullable(Of TimeSpan) = Nothing, Optional maxDeliveryCount As Nullable(Of Integer) = Nothing, Optional status As Nullable(Of EntityStatus) = Nothing, Optional enableBatchedOperations As Nullable(Of Boolean) = Nothing, Optional autoDeleteOnIdle As Nullable(Of TimeSpan) = Nothing, Optional forwardTo As String = Nothing, Optional forwardDeadLetteredMessagesTo As String = Nothing, Optional isClientAffine As Nullable(Of Boolean) = Nothing, Optional clientAffineProperties As SBClientAffineProperties = Nothing, Optional systemData As SystemData = Nothing)

Parameters

id
String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

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

location
String

The geo-location where the resource lives

messageCount
Nullable<Int64>

Number of messages.

createdAt
Nullable<DateTime>

Exact time the message was created.

accessedAt
Nullable<DateTime>

Last time there was a receive request to this subscription.

updatedAt
Nullable<DateTime>

The exact time the message was updated.

countDetails
MessageCountDetails

Message count details

lockDuration
Nullable<TimeSpan>

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

requiresSession
Nullable<Boolean>

Value indicating if a subscription supports the concept of sessions.

defaultMessageTimeToLive
Nullable<TimeSpan>

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.

deadLetteringOnFilterEvaluationExceptions
Nullable<Boolean>

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

deadLetteringOnMessageExpiration
Nullable<Boolean>

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

duplicateDetectionHistoryTimeWindow
Nullable<TimeSpan>

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

maxDeliveryCount
Nullable<Int32>

Number of maximum deliveries.

status
Nullable<EntityStatus>

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

enableBatchedOperations
Nullable<Boolean>

Value that indicates whether server-side batched operations are enabled.

autoDeleteOnIdle
Nullable<TimeSpan>

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

forwardTo
String

Queue/Topic name to forward the messages

forwardDeadLetteredMessagesTo
String

Queue/Topic name to forward the Dead Letter message

isClientAffine
Nullable<Boolean>

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

clientAffineProperties
SBClientAffineProperties

Properties specific to client affine subscriptions.

systemData
SystemData

The system meta data relating to this resource.

Applies to