Dela via


PartnerTopicResource.Update(PartnerTopicPatch, CancellationToken) Method

Definition

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 Azure.Response<Azure.ResourceManager.EventGrid.PartnerTopicResource> Update (Azure.ResourceManager.EventGrid.Models.PartnerTopicPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.EventGrid.Models.PartnerTopicPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.EventGrid.PartnerTopicResource>
override this.Update : Azure.ResourceManager.EventGrid.Models.PartnerTopicPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.EventGrid.PartnerTopicResource>
Public Overridable Function Update (patch As PartnerTopicPatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of PartnerTopicResource)

Parameters

patch
PartnerTopicPatch

PartnerTopic update information.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to