EventHubsNamespaceCollection.GetAllAsync(CancellationToken) Method

Definition

Lists the available Namespaces within a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces
  • Operation Id: Namespaces_ListByResourceGroup
  • Default Api Version: 2024-01-01
  • Resource: EventHubsNamespaceResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.EventHubs.EventHubsNamespaceResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.EventHubs.EventHubsNamespaceResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.EventHubs.EventHubsNamespaceResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of EventHubsNamespaceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to