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

TopicsOperationsExtensions.CreateOrUpdate 方法

定义

创建主题。

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

参数

operations
ITopicsOperations

此扩展方法的操作组。

resourceGroupName
String

用户订阅中的资源组的名称。

topicName
String

主题名称。

topicInfo
Topic

主题信息。

返回

注解

使用指定的参数异步创建新主题。

适用于