你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IBlank 接口

定义

主题定义的第一阶段。

public interface IBlank : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.ServiceBus.Fluent.ITopic>, Microsoft.Azure.Management.ServiceBus.Fluent.Topic.Definition.IWithCreate
type IBlank = interface
    interface IWithCreate
    interface ICreatable<ITopic>
    interface IIndexable
    interface IWithSize
    interface IWithPartitioning
    interface IWithDeleteOnIdle
    interface IWithDefaultMessageTTL
    interface IWithExpressMessage
    interface IWithMessageBatching
    interface IWithDuplicateMessageDetection
    interface IWithSubscription
    interface IWithAuthorizationRule
Public Interface IBlank
Implements ICreatable(Of ITopic), IWithCreate
派生
实现

属性

Key

主题定义的第一阶段。

(继承自 IIndexable)
Name

获取可创建资源的名称。

(继承自 ICreatable<T>)

方法

Create()

执行创建请求。

(继承自 ICreatable<T>)
CreateAsync(CancellationToken, Boolean)

将请求放入队列,并允许 HTTP 客户端在系统资源可用时执行该请求。

(继承自 ICreatable<T>)
WithDefaultMessageTTL(TimeSpan)

指定消息过期的持续时间。 注意:除非显式重写,否则默认 ttl 为无限 (TimeSpan.Max) 。

(继承自 IWithDefaultMessageTTL)
WithDeleteOnIdleDurationInMinutes(Int32)

自动删除主题的空闲间隔。 注意:除非显式重写,否则空闲持续时间的默认删除是无限 (TimeSpan.Max) 。

(继承自 IWithDeleteOnIdle)
WithDuplicateMessageDetection(TimeSpan)

指定重复消息检测历史记录的持续时间。

(继承自 IWithDuplicateMessageDetection)
WithExpressMessage()

指定本主题中的消息是快速的,因此可以在内存中缓存一段时间,然后再将其存储在消息存储中。 注意:默认情况下,主题不是明示的。

(继承自 IWithExpressMessage)
WithNewListenRule(String)

为主题创建侦听授权规则。

(继承自 IWithAuthorizationRule)
WithNewManageRule(String)

为主题创建管理授权规则。

(继承自 IWithAuthorizationRule)
WithNewSendRule(String)

为主题创建发送授权规则。

(继承自 IWithAuthorizationRule)
WithNewSubscription(String)

为服务总线主题创建订阅实体。

(继承自 IWithSubscription)
WithoutMessageBatching()

指定应在本主题中禁用默认批处理。 使用批处理,服务总线可以在写入或删除内部存储中的消息时批处理多条消息。

(继承自 IWithMessageBatching)
WithoutPartitioning()

指定应在本主题中禁用默认分区。 注意:如果父服务总线是高级 SKU,则无法禁用分区。

(继承自 IWithPartitioning)
WithPartitioning()

指定应在本主题中启用分区。

(继承自 IWithPartitioning)
WithSizeInMB(Int64)

指定为主题分配的最大内存大小。

(继承自 IWithSize)

适用于