共用方式為


WebPubSubCollection.GetAllAsync(CancellationToken) Method

Definition

Handles requests to list all resources in a resource group.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to