PartnerTopicsOperationsExtensions.DeactivateAsync(IPartnerTopicsOperations, String, String, CancellationToken) 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
System.String

The name of the resource group within the user's subscription.

partnerTopicName
System.String

Name of the partner topic.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<PartnerTopic>

Remarks

Deactivate specific partner topic.

Applies to