Share via


WebPubSubHubCollection.GetAllAsync(CancellationToken) Method

Definition

List hub settings.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/hubs
  • Operation Id: WebPubSubHubs_List
  • Default Api Version: 2021-10-01
  • Resource: WebPubSubHubResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.WebPubSub.WebPubSubHubResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.WebPubSub.WebPubSubHubResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.WebPubSub.WebPubSubHubResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of WebPubSubHubResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to