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

IWithEventHub.WithNewEventHub 方法

定义

重载

WithNewEventHub(String)

指定应在 命名空间中创建新的事件中心。

WithNewEventHub(String, Int32)

指定应在 命名空间中创建新的事件中心。

WithNewEventHub(String, Int32, Int32)

指定应在 命名空间中创建新的事件中心。

WithNewEventHub(String)

指定应在 命名空间中创建新的事件中心。

public Microsoft.Azure.Management.Eventhub.Fluent.EventHubNamespace.Update.IUpdate WithNewEventHub (string eventHubName);
abstract member WithNewEventHub : string -> Microsoft.Azure.Management.Eventhub.Fluent.EventHubNamespace.Update.IUpdate
Public Function WithNewEventHub (eventHubName As String) As IUpdate

参数

eventHubName
String

事件中心名称。

返回

适用于

WithNewEventHub(String, Int32)

指定应在 命名空间中创建新的事件中心。

public Microsoft.Azure.Management.Eventhub.Fluent.EventHubNamespace.Update.IUpdate WithNewEventHub (string eventHubName, int partitionCount);
abstract member WithNewEventHub : string * int -> Microsoft.Azure.Management.Eventhub.Fluent.EventHubNamespace.Update.IUpdate
Public Function WithNewEventHub (eventHubName As String, partitionCount As Integer) As IUpdate

参数

eventHubName
String

事件中心名称。

partitionCount
Int32

事件中心内的分区数。

返回

适用于

WithNewEventHub(String, Int32, Int32)

指定应在 命名空间中创建新的事件中心。

public Microsoft.Azure.Management.Eventhub.Fluent.EventHubNamespace.Update.IUpdate WithNewEventHub (string eventHubName, int partitionCount, int retentionPeriodInDays);
abstract member WithNewEventHub : string * int * int -> Microsoft.Azure.Management.Eventhub.Fluent.EventHubNamespace.Update.IUpdate
Public Function WithNewEventHub (eventHubName As String, partitionCount As Integer, retentionPeriodInDays As Integer) As IUpdate

参数

eventHubName
String

事件中心名称。

partitionCount
Int32

事件中心内的分区数。

retentionPeriodInDays
Int32

事件的保留期(以天为单位)。

返回

适用于