Aracılığıyla paylaş


ServiceBusNamespaceCollection.GetAll(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: 2022-10-01-preview
  • Resource: ServiceBusNamespaceResource
public virtual Azure.Pageable<Azure.ResourceManager.ServiceBus.ServiceBusNamespaceResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ServiceBus.ServiceBusNamespaceResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ServiceBus.ServiceBusNamespaceResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ServiceBusNamespaceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to