Share via


PartnerTopicEventSubscriptionsOperationsExtensions.CreateOrUpdate Method

Definition

Create or update an event subscription of a partner topic.

public static Microsoft.Azure.Management.EventGrid.Models.EventSubscription CreateOrUpdate (this Microsoft.Azure.Management.EventGrid.IPartnerTopicEventSubscriptionsOperations operations, string resourceGroupName, string partnerTopicName, string eventSubscriptionName, Microsoft.Azure.Management.EventGrid.Models.EventSubscription eventSubscriptionInfo);
static member CreateOrUpdate : Microsoft.Azure.Management.EventGrid.IPartnerTopicEventSubscriptionsOperations * string * string * string * Microsoft.Azure.Management.EventGrid.Models.EventSubscription -> Microsoft.Azure.Management.EventGrid.Models.EventSubscription
<Extension()>
Public Function CreateOrUpdate (operations As IPartnerTopicEventSubscriptionsOperations, resourceGroupName As String, partnerTopicName As String, eventSubscriptionName As String, eventSubscriptionInfo As EventSubscription) As EventSubscription

Parameters

operations
IPartnerTopicEventSubscriptionsOperations

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.

eventSubscriptionName
String

Name of the event subscription to be created. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.

eventSubscriptionInfo
EventSubscription

Event subscription properties containing the destination and filter information.

Returns

Remarks

Asynchronously creates or updates an event subscription of a partner topic with the specified parameters. Existing event subscriptions will be updated with this API.

Applies to