Partager via


PlaywrightTestingAccountProperties Class

Definition

Account resource properties.

public class PlaywrightTestingAccountProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingAccountProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingAccountProperties>
type PlaywrightTestingAccountProperties = class
    interface IJsonModel<PlaywrightTestingAccountProperties>
    interface IPersistableModel<PlaywrightTestingAccountProperties>
Public Class PlaywrightTestingAccountProperties
Implements IJsonModel(Of PlaywrightTestingAccountProperties), IPersistableModel(Of PlaywrightTestingAccountProperties)
Inheritance
PlaywrightTestingAccountProperties
Implements

Constructors

PlaywrightTestingAccountProperties()

Initializes a new instance of PlaywrightTestingAccountProperties.

Properties

DashboardUri

The Playwright testing dashboard URI for the account resource.

LocalAuth

When enabled, this feature allows the workspace to use local auth(through access key) for authentication of test runs.

ProvisioningState

The status of the last operation.

RegionalAffinity

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.

Reporting

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.

ScalableExecution

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.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<PlaywrightTestingAccountProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<PlaywrightTestingAccountProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PlaywrightTestingAccountProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PlaywrightTestingAccountProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<PlaywrightTestingAccountProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to