共用方式為


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: 2024-01-01
  • 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