Share via


ServiceBusSubscriptionData Class

Definition

A class representing the ServiceBusSubscription data model. Description of subscription resource.

public class ServiceBusSubscriptionData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ServiceBus.ServiceBusSubscriptionData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ServiceBus.ServiceBusSubscriptionData>
type ServiceBusSubscriptionData = class
    inherit ResourceData
    interface IJsonModel<ServiceBusSubscriptionData>
    interface IPersistableModel<ServiceBusSubscriptionData>
Public Class ServiceBusSubscriptionData
Inherits ResourceData
Implements IJsonModel(Of ServiceBusSubscriptionData), IPersistableModel(Of ServiceBusSubscriptionData)
Inheritance
ServiceBusSubscriptionData
Implements

Constructors

ServiceBusSubscriptionData()

Initializes a new instance of ServiceBusSubscriptionData.

Properties

AccessedOn

Last time there was a receive request to this subscription.

AutoDeleteOnIdle

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

ClientAffineProperties

Properties specific to client affine subscriptions.

CountDetails

Message count details.

CreatedOn

Exact time the message was created.

DeadLetteringOnFilterEvaluationExceptions

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

DeadLetteringOnMessageExpiration

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

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.

DuplicateDetectionHistoryTimeWindow

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

EnableBatchedOperations

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

ForwardDeadLetteredMessagesTo

Queue/Topic name to forward the Dead Letter message.

ForwardTo

Queue/Topic name to forward the messages.

Id

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

(Inherited from ResourceData)
IsClientAffine

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

Location

The geo-location where the resource lives.

LockDuration

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

MaxDeliveryCount

Number of maximum deliveries.

MessageCount

Number of messages.

Name

The name of the resource.

(Inherited from ResourceData)
RequiresSession

Value indicating if a subscription supports the concept of sessions.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
Status

Enumerates the possible values for the status of a messaging entity.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
UpdatedOn

The exact time the message was updated.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<ServiceBusSubscriptionData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ServiceBusSubscriptionData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ServiceBusSubscriptionData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ServiceBusSubscriptionData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ServiceBusSubscriptionData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to