다음을 통해 공유


ServiceBusTopicData Class

Definition

A class representing the ServiceBusTopic data model. Description of topic resource.

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

Constructors

ServiceBusTopicData()

Initializes a new instance of ServiceBusTopicData.

Properties

AccessedOn

Last time the message was sent, or a request was received, for this topic.

AutoDeleteOnIdle

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

CountDetails

Message count details.

CreatedOn

Exact time the message was created.

DefaultMessageTimeToLive

ISO 8601 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

ISO8601 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.

EnableExpress

Value that indicates whether Express Entities are enabled. An express topic holds a message in memory temporarily before writing it to persistent storage.

EnablePartitioning

Value that indicates whether the topic to be partitioned across multiple message brokers is enabled.

Id

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

(Inherited from ResourceData)
Location

The geo-location where the resource lives.

MaxMessageSizeInKilobytes

Maximum size (in KB) of the message payload that can be accepted by the topic. This property is only used in Premium today and default is 1024.

MaxSizeInMegabytes

Maximum size of the topic in megabytes, which is the size of the memory allocated for the topic. Default is 1024.

Name

The name of the resource.

(Inherited from ResourceData)
RequiresDuplicateDetection

Value indicating if this topic requires duplicate detection.

ResourceType

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

(Inherited from ResourceData)
SizeInBytes

Size of the topic, in bytes.

Status

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

SubscriptionCount

Number of subscriptions.

SupportOrdering

Value that indicates whether the topic supports ordering.

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<ServiceBusTopicData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ServiceBusTopicData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ServiceBusTopicData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ServiceBusTopicData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ServiceBusTopicData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to