Share via


TopicsOperationsExtensions.ListEventTypesAsync Method

Definition

List topic event types.

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.EventGrid.Models.EventType>> ListEventTypesAsync (this Microsoft.Azure.Management.EventGrid.ITopicsOperations operations, string resourceGroupName, string providerNamespace, string resourceTypeName, string resourceName, System.Threading.CancellationToken cancellationToken = default);
static member ListEventTypesAsync : Microsoft.Azure.Management.EventGrid.ITopicsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.EventGrid.Models.EventType>>
<Extension()>
Public Function ListEventTypesAsync (operations As ITopicsOperations, resourceGroupName As String, providerNamespace As String, resourceTypeName As String, resourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of EventType))

Parameters

operations
ITopicsOperations

The operations group for this extension method.

resourceGroupName
String

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

providerNamespace
String

Namespace of the provider of the topic.

resourceTypeName
String

Name of the topic type.

resourceName
String

Name of the topic.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

List event types for a topic.

Applies to