다음을 통해 공유


WebPubSubExtensions.GetWebPubSubs Method

Definition

Overloads

GetWebPubSubs(ResourceGroupResource)

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

GetWebPubSubs(SubscriptionResource, CancellationToken)

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

GetWebPubSubs(ResourceGroupResource)

Source:
WebPubSubExtensions.cs
Source:
WebPubSubExtensions.cs

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

public static Azure.ResourceManager.WebPubSub.WebPubSubCollection GetWebPubSubs (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetWebPubSubs : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.WebPubSub.WebPubSubCollection
<Extension()>
Public Function GetWebPubSubs (resourceGroupResource As ResourceGroupResource) As WebPubSubCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of WebPubSubResources and their operations over a WebPubSubResource.

Exceptions

resourceGroupResource is null.

Applies to

GetWebPubSubs(SubscriptionResource, CancellationToken)

Source:
WebPubSubExtensions.cs
Source:
WebPubSubExtensions.cs

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to