Share via


MockableWebPubSubSubscriptionResource.GetWebPubSubsAsync Method

Definition

Handles requests to list all resources in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.SignalRService/webPubSub
  • Operation Id: WebPubSub_ListBySubscription
  • Default Api Version: 2021-10-01
  • Resource: WebPubSubResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.WebPubSub.WebPubSubResource> GetWebPubSubsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetWebPubSubsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.WebPubSub.WebPubSubResource>
override this.GetWebPubSubsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.WebPubSub.WebPubSubResource>
Public Overridable Function GetWebPubSubsAsync (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