ISubscription Interface

Definition

Type representing service bus topic subscription.

public interface ISubscription : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IGroupableResource<Microsoft.Azure.Management.ServiceBus.Fluent.IServiceBusManager,Microsoft.Azure.Management.ServiceBus.Fluent.Models.SubscriptionInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.ServiceBus.Fluent.Models.SubscriptionInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasManager<Microsoft.Azure.Management.ServiceBus.Fluent.IServiceBusManager>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IIndependentChild<Microsoft.Azure.Management.ServiceBus.Fluent.IServiceBusManager>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IIndependentChildResource<Microsoft.Azure.Management.ServiceBus.Fluent.IServiceBusManager,Microsoft.Azure.Management.ServiceBus.Fluent.Models.SubscriptionInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IRefreshable<Microsoft.Azure.Management.ServiceBus.Fluent.ISubscription>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IUpdatable<Microsoft.Azure.Management.ServiceBus.Fluent.Subscription.Update.IUpdate>
type ISubscription = interface
    interface IIndependentChildResource<IServiceBusManager, SubscriptionInner>
    interface IGroupableResource<IServiceBusManager, SubscriptionInner>
    interface IResource
    interface IIndexable
    interface IHasId
    interface IHasName
    interface IHasResourceGroup
    interface IHasManager<IServiceBusManager>
    interface IHasInner<SubscriptionInner>
    interface IIndependentChild<IServiceBusManager>
    interface IRefreshable<ISubscription>
    interface IUpdatable<IUpdate>
Public Interface ISubscription
Implements IGroupableResource(Of IServiceBusManager, SubscriptionInner), IHasInner(Of SubscriptionInner), IHasManager(Of IServiceBusManager), IIndependentChild(Of IServiceBusManager), IIndependentChildResource(Of IServiceBusManager, SubscriptionInner), IRefreshable(Of ISubscription), IUpdatable(Of IUpdate)
Implements

Properties

AccessedAt

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

ActiveMessageCount

Gets number of active messages in the subscription.

CreatedAt

Gets the exact time the message was created.

DeadLetterMessageCount

Gets number of messages in the dead-letter subscription.

DefaultMessageTtlDuration

Gets the duration after which the message expires, starting from when the message is sent to subscription.

DeleteOnIdleDurationInMinutes

Gets the idle duration after which the subscription is automatically deleted.

Id

Gets the resource id string

(Inherited from IHasId)
Inner (Inherited from IHasInner<T>)
IsBatchedOperationsEnabled

Gets indicates whether server-side batched operations are enabled.

IsDeadLetteringEnabledForExpiredMessages

Gets indicates whether this subscription has dead letter support when a message expires.

IsDeadLetteringEnabledForFilterEvaluationFailedMessages

Gets indicates whether subscription has dead letter support on filter evaluation exceptions.

IsSessionEnabled

Gets indicates whether the subscription supports sessions.

Key (Inherited from IIndexable)
LockDurationInSeconds

Gets the duration of peek-lock which is the amount of time that the message is locked for other receivers.

Manager

Gets the manager client type of this resource type.

(Inherited from IHasManager<ManagerT>)
MaxDeliveryCountBeforeDeadLetteringMessage

Gets the maximum number of a message delivery before marking it as dead-lettered.

MessageCount

Gets the number of messages in the subscription.

Name

Gets the name of the resource

(Inherited from IHasName)
Region (Inherited from IResource)
RegionName (Inherited from IResource)
ResourceGroupName (Inherited from IHasResourceGroup)
ScheduledMessageCount

Gets number of messages sent to the subscription that are yet to be released for consumption.

Status

Gets the current status of the subscription.

Tags (Inherited from IResource)
TransferDeadLetterMessageCount

Gets number of messages transferred into dead letters.

TransferMessageCount

Gets number of messages transferred to another queue, topic, or subscription.

Type (Inherited from IResource)
UpdatedAt

Gets the exact time the message was updated.

Methods

Refresh()

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
RefreshAsync(CancellationToken)

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
Update() (Inherited from IUpdatable<T>)

Applies to