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

EventHubsOperationsExtensions.CreateOrUpdate 方法

定义

创建或更新一个新的事件中心作为命名空间中的嵌套资源。

public static Microsoft.Azure.Management.EventHub.Models.Eventhub CreateOrUpdate (this Microsoft.Azure.Management.EventHub.IEventHubsOperations operations, string resourceGroupName, string namespaceName, string eventHubName, Microsoft.Azure.Management.EventHub.Models.Eventhub parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.EventHub.IEventHubsOperations * string * string * string * Microsoft.Azure.Management.EventHub.Models.Eventhub -> Microsoft.Azure.Management.EventHub.Models.Eventhub
<Extension()>
Public Function CreateOrUpdate (operations As IEventHubsOperations, resourceGroupName As String, namespaceName As String, eventHubName As String, parameters As Eventhub) As Eventhub

参数

operations
IEventHubsOperations

此扩展方法的操作组。

resourceGroupName
String

Azure 订阅中资源组的名称。

namespaceName
String

命名空间名称

eventHubName
String

事件中心名称

parameters
Eventhub

提供用于创建事件中心资源的参数。

返回

适用于