ArmPlaywrightModelFactory.PlaywrightWorkspaceProperties 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.
Overloads
PlaywrightWorkspaceProperties(Nullable<PlaywrightProvisioningState>, Uri, Nullable<PlaywrightEnablementStatus>, Nullable<PlaywrightEnablementStatus>)
- Source:
- ArmPlaywrightModelFactory.cs
Initializes a new instance of PlaywrightWorkspaceProperties.
public static Azure.ResourceManager.Playwright.Models.PlaywrightWorkspaceProperties PlaywrightWorkspaceProperties(Azure.ResourceManager.Playwright.Models.PlaywrightProvisioningState? provisioningState = default, Uri dataplaneUri = default, Azure.ResourceManager.Playwright.Models.PlaywrightEnablementStatus? regionalAffinity = default, Azure.ResourceManager.Playwright.Models.PlaywrightEnablementStatus? localAuth = default);
static member PlaywrightWorkspaceProperties : Nullable<Azure.ResourceManager.Playwright.Models.PlaywrightProvisioningState> * Uri * Nullable<Azure.ResourceManager.Playwright.Models.PlaywrightEnablementStatus> * Nullable<Azure.ResourceManager.Playwright.Models.PlaywrightEnablementStatus> -> Azure.ResourceManager.Playwright.Models.PlaywrightWorkspaceProperties
Public Shared Function PlaywrightWorkspaceProperties (Optional provisioningState As Nullable(Of PlaywrightProvisioningState) = Nothing, Optional dataplaneUri As Uri = Nothing, Optional regionalAffinity As Nullable(Of PlaywrightEnablementStatus) = Nothing, Optional localAuth As Nullable(Of PlaywrightEnablementStatus) = Nothing) As PlaywrightWorkspaceProperties
Parameters
- provisioningState
- Nullable<PlaywrightProvisioningState>
The status of the last resource operation.
- dataplaneUri
- Uri
The workspace data plane URI.
- regionalAffinity
- Nullable<PlaywrightEnablementStatus>
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.
- localAuth
- Nullable<PlaywrightEnablementStatus>
When enabled, this feature allows the workspace to use local auth (through service access token) for executing operations.
Returns
A new PlaywrightWorkspaceProperties instance for mocking.
Applies to
PlaywrightWorkspaceProperties(Nullable<PlaywrightProvisioningState>, Uri, Nullable<PlaywrightEnablementStatus>, Nullable<PlaywrightEnablementStatus>, String)
- Source:
- ArmPlaywrightModelFactory.cs
Initializes a new instance of PlaywrightWorkspaceProperties.
public static Azure.ResourceManager.Playwright.Models.PlaywrightWorkspaceProperties PlaywrightWorkspaceProperties(Azure.ResourceManager.Playwright.Models.PlaywrightProvisioningState? provisioningState = default, Uri dataplaneUri = default, Azure.ResourceManager.Playwright.Models.PlaywrightEnablementStatus? regionalAffinity = default, Azure.ResourceManager.Playwright.Models.PlaywrightEnablementStatus? localAuth = default, string workspaceId = default);
static member PlaywrightWorkspaceProperties : Nullable<Azure.ResourceManager.Playwright.Models.PlaywrightProvisioningState> * Uri * Nullable<Azure.ResourceManager.Playwright.Models.PlaywrightEnablementStatus> * Nullable<Azure.ResourceManager.Playwright.Models.PlaywrightEnablementStatus> * string -> Azure.ResourceManager.Playwright.Models.PlaywrightWorkspaceProperties
Public Shared Function PlaywrightWorkspaceProperties (Optional provisioningState As Nullable(Of PlaywrightProvisioningState) = Nothing, Optional dataplaneUri As Uri = Nothing, Optional regionalAffinity As Nullable(Of PlaywrightEnablementStatus) = Nothing, Optional localAuth As Nullable(Of PlaywrightEnablementStatus) = Nothing, Optional workspaceId As String = Nothing) As PlaywrightWorkspaceProperties
Parameters
- provisioningState
- Nullable<PlaywrightProvisioningState>
The status of the last resource operation.
- dataplaneUri
- Uri
The workspace data plane service API URI.
- regionalAffinity
- Nullable<PlaywrightEnablementStatus>
Controls the connection region for client workers to cloud-hosted browsers. When enabled, workers connect to browsers in the closest Azure region for lower latency. When disabled, workers connect to browsers in the Azure region where the workspace was created.
- localAuth
- Nullable<PlaywrightEnablementStatus>
Enables the workspace to use local authentication through service access tokens for operations.
- workspaceId
- String
The workspace ID in GUID format.
Returns
A new PlaywrightWorkspaceProperties instance for mocking.