WebPubSubExtensions.GetWebPubSubs Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
|
- 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
Azure SDK for .NET Preview and Azure SDK for .NET Latest
Product | Versions |
---|---|
Azure SDK for .NET | Latest, Preview |
- 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
Azure SDK for .NET Preview and Azure SDK for .NET Latest
Product | Versions |
---|---|
Azure SDK for .NET | Latest, Preview |
Azure SDK for .NET feedback
Azure SDK for .NET is an open source project. Select a link to provide feedback: