Dela via


ServiceBusNamespaceCollection.GetAllAsync(CancellationToken) Method

Definition

Gets the available namespaces within a resource group.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to