PlaywrightTestingExtensions.GetPlaywrightTestingAccounts Method

Definition

Overloads

GetPlaywrightTestingAccounts(ResourceGroupResource)

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

GetPlaywrightTestingAccounts(SubscriptionResource, CancellationToken)

List Account resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzurePlaywrightService/accounts
  • Operation Id: Accounts_ListBySubscription
  • Default Api Version: 2023-10-01-preview
  • Resource: PlaywrightTestingAccountResource

GetPlaywrightTestingAccounts(ResourceGroupResource)

Source:
PlaywrightTestingExtensions.cs

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

public static Azure.ResourceManager.PlaywrightTesting.PlaywrightTestingAccountCollection GetPlaywrightTestingAccounts (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetPlaywrightTestingAccounts : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.PlaywrightTesting.PlaywrightTestingAccountCollection
<Extension()>
Public Function GetPlaywrightTestingAccounts (resourceGroupResource As ResourceGroupResource) As PlaywrightTestingAccountCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of PlaywrightTestingAccountResources and their operations over a PlaywrightTestingAccountResource.

Exceptions

resourceGroupResource is null.

Applies to

GetPlaywrightTestingAccounts(SubscriptionResource, CancellationToken)

Source:
PlaywrightTestingExtensions.cs

List Account resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzurePlaywrightService/accounts
  • Operation Id: Accounts_ListBySubscription
  • Default Api Version: 2023-10-01-preview
  • Resource: PlaywrightTestingAccountResource
public static Azure.Pageable<Azure.ResourceManager.PlaywrightTesting.PlaywrightTestingAccountResource> GetPlaywrightTestingAccounts (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetPlaywrightTestingAccounts : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.PlaywrightTesting.PlaywrightTestingAccountResource>
<Extension()>
Public Function GetPlaywrightTestingAccounts (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PlaywrightTestingAccountResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to