Sdílet prostřednictvím


PartnerTopicsOperationsExtensions.DeactivateAsync Method

Definition

Deactivate a partner topic.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.PartnerTopic> DeactivateAsync (this Microsoft.Azure.Management.EventGrid.IPartnerTopicsOperations operations, string resourceGroupName, string partnerTopicName, System.Threading.CancellationToken cancellationToken = default);
static member DeactivateAsync : Microsoft.Azure.Management.EventGrid.IPartnerTopicsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.PartnerTopic>
<Extension()>
Public Function DeactivateAsync (operations As IPartnerTopicsOperations, resourceGroupName As String, partnerTopicName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PartnerTopic)

Parameters

operations
IPartnerTopicsOperations

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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Deactivate specific partner topic.

Applies to