Share via


ExtensionTopicsOperationsExtensions.GetAsync Method

Definition

Get properties of an extension topic.

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

Parameters

operations
IExtensionTopicsOperations

The operations group for this extension method.

scope
String

The identifier of the resource to which extension topic is queried. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for Azure resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Get the properties of an extension topic.

Applies to