Share via


TopicsOperationsExtensions.CreateOrUpdate Method

Definition

Create a topic.

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

Parameters

operations
ITopicsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group within the user's subscription.

topicName
String

Name of the topic.

topicInfo
Topic

Topic information.

Returns

Remarks

Asynchronously creates a new topic with the specified parameters.

Applies to