다음을 통해 공유


SignalRExtensions.GetSignalRsAsync Method

Definition

Handles requests to list all resources in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.SignalRService/signalR
  • Operation Id: SignalR_ListBySubscription
  • Default Api Version: 2022-02-01
  • Resource: SignalRResource
public static Azure.AsyncPageable<Azure.ResourceManager.SignalR.SignalRResource> GetSignalRsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetSignalRsAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SignalR.SignalRResource>
<Extension()>
Public Function GetSignalRsAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SignalRResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to