Share via


PartnerTopicResource.DeactivateAsync(CancellationToken) Method

Definition

Deactivate specific partner topic.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerTopics/{partnerTopicName}/deactivate
  • Operation Id: PartnerTopics_Deactivate
  • Default Api Version: 2024-06-01-preview
  • Resource: PartnerTopicResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.PartnerTopicResource>> DeactivateAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member DeactivateAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.PartnerTopicResource>>
override this.DeactivateAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.PartnerTopicResource>>
Public Overridable Function DeactivateAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PartnerTopicResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to