TopicEventSubscriptionsOperationsExtensions.UpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Update an event subscription for a topic.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.EventSubscription> UpdateAsync (this Microsoft.Azure.Management.EventGrid.ITopicEventSubscriptionsOperations operations, string resourceGroupName, string topicName, string eventSubscriptionName, Microsoft.Azure.Management.EventGrid.Models.EventSubscriptionUpdateParameters eventSubscriptionUpdateParameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.EventGrid.ITopicEventSubscriptionsOperations * 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 ITopicEventSubscriptionsOperations, resourceGroupName As String, topicName As String, eventSubscriptionName As String, eventSubscriptionUpdateParameters As EventSubscriptionUpdateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of EventSubscription)
Parameters
- operations
- ITopicEventSubscriptionsOperations
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 domain.
- eventSubscriptionName
- String
Name of the event subscription to be updated.
- eventSubscriptionUpdateParameters
- EventSubscriptionUpdateParameters
Updated event subscription information.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Update an existing event subscription for a topic.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET