Share via


PartnerTopicEventSubscriptionsOperationsExtensions.UpdateAsync Method

Definition

Update event subscription of a partner topic.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.EventSubscription> UpdateAsync (this Microsoft.Azure.Management.EventGrid.IPartnerTopicEventSubscriptionsOperations operations, string resourceGroupName, string partnerTopicName, string eventSubscriptionName, Microsoft.Azure.Management.EventGrid.Models.EventSubscriptionUpdateParameters eventSubscriptionUpdateParameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.EventGrid.IPartnerTopicEventSubscriptionsOperations * string * string * string * Microsoft.Azure.Management.EventGrid.Models.EventSubscriptionUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.EventSubscription>
<Extension()>
Public Function UpdateAsync (operations As IPartnerTopicEventSubscriptionsOperations, resourceGroupName As String, partnerTopicName As String, eventSubscriptionName As String, eventSubscriptionUpdateParameters As EventSubscriptionUpdateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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.

eventSubscriptionUpdateParameters
EventSubscriptionUpdateParameters

Updated event subscription information.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Update an existing event subscription of a partner topic.

Applies to