Share via


TopicsOperationsExtensions.GetAsync Method

Definition

Get a topic.

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

Parameters

operations
ITopicsOperations

The operations group for this extension method.

resourceGroupName
String

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

topicName
String

Name of the topic.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Get properties of a topic.

Applies to