Share via


WebPubSubExtensions.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 static Azure.AsyncPageable<Azure.ResourceManager.WebPubSub.WebPubSubResource> GetWebPubSubsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetWebPubSubsAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.WebPubSub.WebPubSubResource>
<Extension()>
Public Function GetWebPubSubsAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of WebPubSubResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to