你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SBTopic 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
SBTopic()
初始化 SBTopic 类的新实例。
public SBTopic ();
Public Sub New ()
适用于
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)
初始化 SBTopic 类的新实例。
public SBTopic (string id = default, string name = default, string type = default, string location = default, long? sizeInBytes = default, DateTime? createdAt = default, DateTime? updatedAt = default, DateTime? accessedAt = default, int? subscriptionCount = default, Microsoft.Azure.Management.ServiceBus.Models.MessageCountDetails countDetails = default, TimeSpan? defaultMessageTimeToLive = default, int? maxSizeInMegabytes = default, long? maxMessageSizeInKilobytes = default, bool? requiresDuplicateDetection = default, TimeSpan? duplicateDetectionHistoryTimeWindow = default, bool? enableBatchedOperations = default, Microsoft.Azure.Management.ServiceBus.Models.EntityStatus? status = default, bool? supportOrdering = default, TimeSpan? autoDeleteOnIdle = default, bool? enablePartitioning = default, bool? enableExpress = default, Microsoft.Azure.Management.ServiceBus.Models.SystemData systemData = default);
new Microsoft.Azure.Management.ServiceBus.Models.SBTopic : string * string * string * string * Nullable<int64> * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * Nullable<int> * Microsoft.Azure.Management.ServiceBus.Models.MessageCountDetails * Nullable<TimeSpan> * Nullable<int> * Nullable<int64> * Nullable<bool> * Nullable<TimeSpan> * Nullable<bool> * Nullable<Microsoft.Azure.Management.ServiceBus.Models.EntityStatus> * Nullable<bool> * Nullable<TimeSpan> * Nullable<bool> * Nullable<bool> * Microsoft.Azure.Management.ServiceBus.Models.SystemData -> Microsoft.Azure.Management.ServiceBus.Models.SBTopic
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional sizeInBytes As Nullable(Of Long) = Nothing, Optional createdAt As Nullable(Of DateTime) = Nothing, Optional updatedAt As Nullable(Of DateTime) = Nothing, Optional accessedAt As Nullable(Of DateTime) = Nothing, Optional subscriptionCount As Nullable(Of Integer) = Nothing, Optional countDetails As MessageCountDetails = Nothing, Optional defaultMessageTimeToLive As Nullable(Of TimeSpan) = Nothing, Optional maxSizeInMegabytes As Nullable(Of Integer) = Nothing, Optional maxMessageSizeInKilobytes As Nullable(Of Long) = Nothing, Optional requiresDuplicateDetection As Nullable(Of Boolean) = Nothing, Optional duplicateDetectionHistoryTimeWindow As Nullable(Of TimeSpan) = Nothing, Optional enableBatchedOperations As Nullable(Of Boolean) = Nothing, Optional status As Nullable(Of EntityStatus) = Nothing, Optional supportOrdering As Nullable(Of Boolean) = Nothing, Optional autoDeleteOnIdle As Nullable(Of TimeSpan) = Nothing, Optional enablePartitioning As Nullable(Of Boolean) = Nothing, Optional enableExpress As Nullable(Of Boolean) = Nothing, Optional systemData As SystemData = Nothing)
参数
- id
- String
资源的完全限定的资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
资源的名称
- type
- String
资源类型。 例如“Microsoft.EventHub/Namespaces”或“Microsoft.EventHub/Namespaces/EventHubs”
- location
- String
资源所在的地理位置
- countDetails
- MessageCountDetails
消息计数详细信息
ISO 8601 默认消息时间跨度到实时值。 这是消息过期的持续时间,从消息发送到服务总线时开始。 这是未在消息本身上设置 TimeToLive 时使用的默认值。
ISO8601 时间跨度结构,用于定义重复检测历史记录的持续时间。 默认值为 10 分钟。
- status
- Nullable<EntityStatus>
枚举消息实体状态的可能值。 可能的值包括:“Active”、“Disabled”、“Restoring”、“SendDisabled”、“ReceiveDisabled”、“Create”、“删除”、“Renaming”、“Unknown”
- systemData
- SystemData
与此资源相关的系统元数据。