Share via


PlaywrightWorkspaceUpdateProperties Class

Definition

The updatable properties of the PlaywrightWorkspace.

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

Constructors

PlaywrightWorkspaceUpdateProperties()

Initializes a new instance of PlaywrightWorkspaceUpdateProperties.

Properties

LocalAuth

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

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<PlaywrightWorkspaceUpdateProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PlaywrightWorkspaceUpdateProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PlaywrightWorkspaceUpdateProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PlaywrightWorkspaceUpdateProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PlaywrightWorkspaceUpdateProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to