共用方式為


ITopic Interface

Definition

Type representing Service Bus topic.

public interface ITopic : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IGroupableResource<Microsoft.Azure.Management.ServiceBus.Fluent.IServiceBusManager,Microsoft.Azure.Management.ServiceBus.Fluent.Models.TopicInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.ServiceBus.Fluent.Models.TopicInner>, 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.TopicInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IRefreshable<Microsoft.Azure.Management.ServiceBus.Fluent.ITopic>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IUpdatable<Microsoft.Azure.Management.ServiceBus.Fluent.Topic.Update.IUpdate>
type ITopic = interface
    interface IIndependentChildResource<IServiceBusManager, TopicInner>
    interface IGroupableResource<IServiceBusManager, TopicInner>
    interface IResource
    interface IIndexable
    interface IHasId
    interface IHasName
    interface IHasResourceGroup
    interface IHasManager<IServiceBusManager>
    interface IHasInner<TopicInner>
    interface IIndependentChild<IServiceBusManager>
    interface IRefreshable<ITopic>
    interface IUpdatable<IUpdate>
Public Interface ITopic
Implements IGroupableResource(Of IServiceBusManager, TopicInner), IHasInner(Of TopicInner), IHasManager(Of IServiceBusManager), IIndependentChild(Of IServiceBusManager), IIndependentChildResource(Of IServiceBusManager, TopicInner), IRefreshable(Of ITopic), IUpdatable(Of IUpdate)
Implements

Properties

AccessedAt

Gets last time a message was sent, or the last time there was a receive request to this topic.

ActiveMessageCount

Gets number of active messages in the topic.

AuthorizationRules

Gets entry point to manage authorization rules for the Service Bus topic.

CreatedAt

Gets the exact time the topic was created.

CurrentSizeInBytes

Gets current size of the topic, in bytes.

DeadLetterMessageCount

Gets number of messages in the dead-letter topic.

DefaultMessageTtlDuration

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

DeleteOnIdleDurationInMinutes

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

DuplicateMessageDetectionHistoryDuration

Gets the duration of the duplicate detection history.

Id

Gets the resource id string

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

Gets indicates whether server-side batched operations are enabled.

IsDuplicateDetectionEnabled

Gets indicates if this topic requires duplicate detection.

IsExpressEnabled

Gets indicates whether express entities are enabled.

IsPartitioningEnabled

Gets indicates whether the topic is to be partitioned across multiple message brokers.

Key (Inherited from IIndexable)
Manager

Gets the manager client type of this resource type.

(Inherited from IHasManager<ManagerT>)
MaxSizeInMB

Gets the maximum size of memory allocated for the topic in megabytes.

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 topic that are yet to be released for consumption.

Status

Gets the current status of the topic.

SubscriptionCount

Gets number of subscriptions for the topic.

Subscriptions

Gets entry point to manage subscriptions associated with the topic.

Tags (Inherited from IResource)
TransferDeadLetterMessageCount

Gets number of messages transferred into dead letters.

TransferMessageCount

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

Type (Inherited from IResource)
UpdatedAt

Gets the exact time the topic 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