Udostępnij za pośrednictwem


TopicTypeResource.GetEventTypesAsync(CancellationToken) Method

Definition

List event types for a topic type.

  • Request Path: /providers/Microsoft.EventGrid/topicTypes/{topicTypeName}/eventTypes
  • Operation Id: TopicTypes_ListEventTypes
  • Default Api Version: 2024-06-01-preview
  • Resource: TopicTypeResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.EventGrid.Models.EventTypeUnderTopic> GetEventTypesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetEventTypesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.EventGrid.Models.EventTypeUnderTopic>
override this.GetEventTypesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.EventGrid.Models.EventTypeUnderTopic>
Public Overridable Function GetEventTypesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of EventTypeUnderTopic)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of EventTypeUnderTopic that may take multiple service requests to iterate over.

Applies to