Compartilhar via


ArmPlaywrightTestingModelFactory.PlaywrightTestingAccountData Method

Definition

Initializes a new instance of PlaywrightTestingAccountData.

public static Azure.ResourceManager.PlaywrightTesting.PlaywrightTestingAccountData PlaywrightTestingAccountData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Uri dashboardUri = default, Azure.ResourceManager.PlaywrightTesting.Models.EnablementStatus? regionalAffinity = default, Azure.ResourceManager.PlaywrightTesting.Models.EnablementStatus? scalableExecution = default, Azure.ResourceManager.PlaywrightTesting.Models.EnablementStatus? reporting = default, Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingProvisioningState? provisioningState = default);
static member PlaywrightTestingAccountData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Uri * Nullable<Azure.ResourceManager.PlaywrightTesting.Models.EnablementStatus> * Nullable<Azure.ResourceManager.PlaywrightTesting.Models.EnablementStatus> * Nullable<Azure.ResourceManager.PlaywrightTesting.Models.EnablementStatus> * Nullable<Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingProvisioningState> -> Azure.ResourceManager.PlaywrightTesting.PlaywrightTestingAccountData
Public Shared Function PlaywrightTestingAccountData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional dashboardUri As Uri = Nothing, Optional regionalAffinity As Nullable(Of EnablementStatus) = Nothing, Optional scalableExecution As Nullable(Of EnablementStatus) = Nothing, Optional reporting As Nullable(Of EnablementStatus) = Nothing, Optional provisioningState As Nullable(Of PlaywrightTestingProvisioningState) = Nothing) As PlaywrightTestingAccountData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

dashboardUri
Uri

The Playwright testing dashboard URI for the account resource.

regionalAffinity
Nullable<EnablementStatus>

This property sets the connection region for Playwright client workers to cloud-hosted browsers. If enabled, workers connect to browsers in the closest Azure region, ensuring lower latency. If disabled, workers connect to browsers in the Azure region in which the workspace was initially created.

scalableExecution
Nullable<EnablementStatus>

When enabled, Playwright client workers can connect to cloud-hosted browsers. This can increase the number of parallel workers for a test run, significantly minimizing test completion durations.

reporting
Nullable<EnablementStatus>

When enabled, this feature allows the workspace to upload and display test results, including artifacts like traces and screenshots, in the Playwright portal. This enables faster and more efficient troubleshooting.

provisioningState
Nullable<PlaywrightTestingProvisioningState>

The status of the last operation.

Returns

A new PlaywrightTestingAccountData instance for mocking.

Applies to