다음을 통해 공유


SignalRExtensions.GetSignalRs Method

Definition

Overloads

GetSignalRs(ResourceGroupResource)

Gets a collection of SignalRResources in the ResourceGroupResource. MockingTo mock this method, please mock GetSignalRs() instead.

GetSignalRs(SubscriptionResource, CancellationToken)

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

GetSignalRs(ResourceGroupResource)

Source:
SignalRExtensions.cs
Source:
SignalRExtensions.cs

Gets a collection of SignalRResources in the ResourceGroupResource. MockingTo mock this method, please mock GetSignalRs() instead.

public static Azure.ResourceManager.SignalR.SignalRCollection GetSignalRs (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetSignalRs : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.SignalR.SignalRCollection
<Extension()>
Public Function GetSignalRs (resourceGroupResource As ResourceGroupResource) As SignalRCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of SignalRResources and their operations over a SignalRResource.

Exceptions

resourceGroupResource is null.

Applies to

GetSignalRs(SubscriptionResource, CancellationToken)

Source:
SignalRExtensions.cs
Source:
SignalRExtensions.cs

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to