TopicTypeResource.GetEventTypesAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.