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

TopicsOperationsExtensions.CreateOrUpdate 方法

定义

在指定的命名空间中创建主题。 https://msdn.microsoft.com/en-us/library/azure/mt639409.aspx

public static Microsoft.Azure.Management.ServiceBus.Models.SBTopic CreateOrUpdate (this Microsoft.Azure.Management.ServiceBus.ITopicsOperations operations, string resourceGroupName, string namespaceName, string topicName, Microsoft.Azure.Management.ServiceBus.Models.SBTopic parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.ServiceBus.ITopicsOperations * string * string * string * Microsoft.Azure.Management.ServiceBus.Models.SBTopic -> Microsoft.Azure.Management.ServiceBus.Models.SBTopic
<Extension()>
Public Function CreateOrUpdate (operations As ITopicsOperations, resourceGroupName As String, namespaceName As String, topicName As String, parameters As SBTopic) As SBTopic

参数

operations
ITopicsOperations

此扩展方法的操作组。

resourceGroupName
String

Azure 订阅中的资源组的名称。

namespaceName
String

命名空间名称

topicName
String

主题名称。

parameters
SBTopic

为创建主题资源提供的参数。

返回

适用于