Condividi tramite


PartnerTopicsOperationsExtensions.ActivateAsync Method

Definition

Activate a partner topic.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.PartnerTopic> ActivateAsync (this Microsoft.Azure.Management.EventGrid.IPartnerTopicsOperations operations, string resourceGroupName, string partnerTopicName, System.Threading.CancellationToken cancellationToken = default);
static member ActivateAsync : Microsoft.Azure.Management.EventGrid.IPartnerTopicsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.PartnerTopic>
<Extension()>
Public Function ActivateAsync (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

Activate a newly created partner topic.

Applies to