PartnerTopicResource.UpdateAsync(PartnerTopicPatch, CancellationToken) 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.
Asynchronously updates a partner topic with the specified parameters.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerTopics/{partnerTopicName}
- Operation Id: PartnerTopics_Update
- Default Api Version: 2024-06-01-preview
- Resource: PartnerTopicResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.PartnerTopicResource>> UpdateAsync (Azure.ResourceManager.EventGrid.Models.PartnerTopicPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.EventGrid.Models.PartnerTopicPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.PartnerTopicResource>>
override this.UpdateAsync : Azure.ResourceManager.EventGrid.Models.PartnerTopicPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.PartnerTopicResource>>
Public Overridable Function UpdateAsync (patch As PartnerTopicPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PartnerTopicResource))
Parameters
- patch
- PartnerTopicPatch
PartnerTopic update information.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
patch
is null.