ArmPlaywrightTestingModelFactory.PlaywrightTestingAccountProperties 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.
Initializes a new instance of PlaywrightTestingAccountProperties.
public static Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingAccountProperties PlaywrightTestingAccountProperties (Uri dashboardUri = default, Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingEnablementStatus? regionalAffinity = default, Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingEnablementStatus? scalableExecution = default, Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingEnablementStatus? reporting = default, Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingEnablementStatus? localAuth = default, Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingProvisioningState? provisioningState = default);
static member PlaywrightTestingAccountProperties : Uri * Nullable<Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingEnablementStatus> * Nullable<Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingEnablementStatus> * Nullable<Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingEnablementStatus> * Nullable<Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingEnablementStatus> * Nullable<Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingProvisioningState> -> Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingAccountProperties
Public Shared Function PlaywrightTestingAccountProperties (Optional dashboardUri As Uri = Nothing, Optional regionalAffinity As Nullable(Of PlaywrightTestingEnablementStatus) = Nothing, Optional scalableExecution As Nullable(Of PlaywrightTestingEnablementStatus) = Nothing, Optional reporting As Nullable(Of PlaywrightTestingEnablementStatus) = Nothing, Optional localAuth As Nullable(Of PlaywrightTestingEnablementStatus) = Nothing, Optional provisioningState As Nullable(Of PlaywrightTestingProvisioningState) = Nothing) As PlaywrightTestingAccountProperties
Parameters
- dashboardUri
- Uri
The Playwright testing dashboard URI for the account resource.
- regionalAffinity
- Nullable<PlaywrightTestingEnablementStatus>
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<PlaywrightTestingEnablementStatus>
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<PlaywrightTestingEnablementStatus>
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.
- localAuth
- Nullable<PlaywrightTestingEnablementStatus>
When enabled, this feature allows the workspace to use local auth(through access key) for authentication of test runs.
- provisioningState
- Nullable<PlaywrightTestingProvisioningState>
The status of the last operation.
Returns
A new PlaywrightTestingAccountProperties instance for mocking.