Share via


PlaywrightWorkspaceProperties Class

Definition

Playwright workspace resource properties.

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

Constructors

PlaywrightWorkspaceProperties()

Initializes a new instance of PlaywrightWorkspaceProperties.

Properties

DataplaneUri

The workspace data plane URI.

LocalAuth

When enabled, this feature allows the workspace to use local auth (through service access token) for executing operations.

ProvisioningState

The status of the last resource operation.

RegionalAffinity

This property sets the connection region for 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.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<PlaywrightWorkspaceProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PlaywrightWorkspaceProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PlaywrightWorkspaceProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PlaywrightWorkspaceProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PlaywrightWorkspaceProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to