PartnerTopicsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create a partner topic.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.PartnerTopic> CreateOrUpdateAsync (this Microsoft.Azure.Management.EventGrid.IPartnerTopicsOperations operations, string resourceGroupName, string partnerTopicName, Microsoft.Azure.Management.EventGrid.Models.PartnerTopic partnerTopicInfo, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.EventGrid.IPartnerTopicsOperations * string * string * Microsoft.Azure.Management.EventGrid.Models.PartnerTopic * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.PartnerTopic>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IPartnerTopicsOperations, resourceGroupName As String, partnerTopicName As String, partnerTopicInfo As PartnerTopic, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PartnerTopic)

Parameters

operations
IPartnerTopicsOperations

The operations group for this extension method.

resourceGroupName
String

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

partnerTopicName
String

Name of the partner topic.

partnerTopicInfo
PartnerTopic

Partner Topic information.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Asynchronously creates a new partner topic with the specified parameters.

Applies to