共用方式為


SBTopic Class

Definition

Description of topic resource.

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

Constructors

SBTopic()

Initializes a new instance of the SBTopic class.

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

Initializes a new instance of the SBTopic class.

Properties

AccessedAt

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

AutoDeleteOnIdle

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

CountDetails

Gets message count details

CreatedAt

Gets exact time the message was created.

DefaultMessageTimeToLive

Gets or sets 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

Gets or sets ISO8601 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.

EnableExpress

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

EnablePartitioning

Gets or sets value that indicates whether the topic to be partitioned across multiple message brokers is enabled.

Id

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

(Inherited from ProxyResource)
Location

Gets the geo-location where the resource lives

(Inherited from ProxyResource)
MaxMessageSizeInKilobytes

Gets or sets 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

Gets or sets maximum size of the topic in megabytes, which is the size of the memory allocated for the topic. Default is 1024.

Name

Gets the name of the resource

(Inherited from ProxyResource)
RequiresDuplicateDetection

Gets or sets value indicating if this topic requires duplicate detection.

SizeInBytes

Gets size of the topic, in bytes.

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'

SubscriptionCount

Gets number of subscriptions.

SupportOrdering

Gets or sets value that indicates whether the topic supports ordering.

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