你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Eventhub 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Eventhub()
初始化 Eventhub 类的新实例。
public Eventhub ();
Public Sub New ()
适用于
Eventhub(String, String, String, String, IList<String>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int64>, Nullable<Int64>, Nullable<EntityStatus>, CaptureDescription, SystemData)
初始化 Eventhub 类的新实例。
public Eventhub (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IList<string> partitionIds = default, DateTime? createdAt = default, DateTime? updatedAt = default, long? messageRetentionInDays = default, long? partitionCount = default, Microsoft.Azure.Management.EventHub.Models.EntityStatus? status = default, Microsoft.Azure.Management.EventHub.Models.CaptureDescription captureDescription = default, Microsoft.Azure.Management.EventHub.Models.SystemData systemData = default);
new Microsoft.Azure.Management.EventHub.Models.Eventhub : string * string * string * string * System.Collections.Generic.IList<string> * Nullable<DateTime> * Nullable<DateTime> * Nullable<int64> * Nullable<int64> * Nullable<Microsoft.Azure.Management.EventHub.Models.EntityStatus> * Microsoft.Azure.Management.EventHub.Models.CaptureDescription * Microsoft.Azure.Management.EventHub.Models.SystemData -> Microsoft.Azure.Management.EventHub.Models.Eventhub
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional partitionIds As IList(Of String) = Nothing, Optional createdAt As Nullable(Of DateTime) = Nothing, Optional updatedAt As Nullable(Of DateTime) = Nothing, Optional messageRetentionInDays As Nullable(Of Long) = Nothing, Optional partitionCount As Nullable(Of Long) = Nothing, Optional status As Nullable(Of EntityStatus) = Nothing, Optional captureDescription As CaptureDescription = 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
资源所在的地理位置
- status
- Nullable<EntityStatus>
枚举事件中心状态的可能值。 可能的值包括:“Active”、“Disabled”、“Restoring”、“SendDisabled”、“ReceiveDisabled”、“Create”、“删除”、“Renaming”、“Unknown”
- captureDescription
- CaptureDescription
捕获说明的属性
- systemData
- SystemData
与此资源相关的系统元数据。