PlaywrightExtensions.GetPlaywrightWorkspaces Method
Definition
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.
Overloads
GetPlaywrightWorkspaces(ResourceGroupResource) |
Gets a collection of PlaywrightWorkspaceResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetPlaywrightWorkspaces() instead.</item> |
GetPlaywrightWorkspaces(SubscriptionResource, CancellationToken) |
List PlaywrightWorkspace resources by subscription ID
|
GetPlaywrightWorkspaces(ResourceGroupResource)
- Source:
- PlaywrightExtensions.cs
- Source:
- PlaywrightExtensions.cs
Gets a collection of PlaywrightWorkspaceResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetPlaywrightWorkspaces() instead.</item>
public static Azure.ResourceManager.Playwright.PlaywrightWorkspaceCollection GetPlaywrightWorkspaces(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetPlaywrightWorkspaces : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Playwright.PlaywrightWorkspaceCollection
<Extension()>
Public Function GetPlaywrightWorkspaces (resourceGroupResource As ResourceGroupResource) As PlaywrightWorkspaceCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of PlaywrightWorkspaceResources and their operations over a PlaywrightWorkspaceResource.
Exceptions
resourceGroupResource
is null.
Applies to
GetPlaywrightWorkspaces(SubscriptionResource, CancellationToken)
- Source:
- PlaywrightExtensions.cs
- Source:
- PlaywrightExtensions.cs
List PlaywrightWorkspace resources by subscription ID
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.LoadTestService/playwrightWorkspaces
- Operation Id: PlaywrightWorkspace_ListBySubscription
- Default Api Version: 2025-09-01
- Resource: PlaywrightWorkspaceResource
public static Azure.Pageable<Azure.ResourceManager.Playwright.PlaywrightWorkspaceResource> GetPlaywrightWorkspaces(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetPlaywrightWorkspaces : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Playwright.PlaywrightWorkspaceResource>
<Extension()>
Public Function GetPlaywrightWorkspaces (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PlaywrightWorkspaceResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of PlaywrightWorkspaceResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.