Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The playwrightWorkspaces resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.LoadTestService/playwrightWorkspaces resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.LoadTestService/playwrightWorkspaces@2025-09-01' = {
location: 'string'
name: 'string'
properties: {
localAuth: 'string'
regionalAffinity: 'string'
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.LoadTestService/playwrightWorkspaces
| Name | Description | Value |
|---|---|---|
| location | The geo-location where the resource lives | string (required) |
| name | The resource name | string Constraints: Pattern = ^[a-zA-Z0-9-]{3,24}$ (required) |
| properties | The resource-specific properties for this resource. | PlaywrightWorkspaceProperties |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
PlaywrightWorkspaceProperties
| Name | Description | Value |
|---|---|---|
| localAuth | Specifies whether service access tokens can be used to authenticate workspace operations. | 'Disabled' 'Enabled' |
| regionalAffinity | Specifies where client workers connect to cloud-hosted browsers. When Enabled, workers connect to browsers in the nearest Azure region to reduce latency. When Disabled, workers connect to browsers in the workspace's Azure region. | 'Disabled' 'Enabled' |
TrackedResourceTags
| Name | Description | Value |
|---|
ARM template resource definition
The playwrightWorkspaces resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands For a list of changed properties in each API version, see change log.
Usage Examples
Resource format
To create a Microsoft.LoadTestService/playwrightWorkspaces resource, add the following JSON to your template.
{
"type": "Microsoft.LoadTestService/playwrightWorkspaces",
"apiVersion": "2025-09-01",
"name": "string",
"location": "string",
"properties": {
"localAuth": "string",
"regionalAffinity": "string"
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.LoadTestService/playwrightWorkspaces
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2025-09-01' |
| location | The geo-location where the resource lives | string (required) |
| name | The resource name | string Constraints: Pattern = ^[a-zA-Z0-9-]{3,24}$ (required) |
| properties | The resource-specific properties for this resource. | PlaywrightWorkspaceProperties |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
| type | The resource type | 'Microsoft.LoadTestService/playwrightWorkspaces' |
PlaywrightWorkspaceProperties
| Name | Description | Value |
|---|---|---|
| localAuth | Specifies whether service access tokens can be used to authenticate workspace operations. | 'Disabled' 'Enabled' |
| regionalAffinity | Specifies where client workers connect to cloud-hosted browsers. When Enabled, workers connect to browsers in the nearest Azure region to reduce latency. When Disabled, workers connect to browsers in the workspace's Azure region. | 'Disabled' 'Enabled' |
TrackedResourceTags
| Name | Description | Value |
|---|
Terraform (AzAPI provider) resource definition
The playwrightWorkspaces resource type can be deployed with operations that target:
- Resource groups For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.LoadTestService/playwrightWorkspaces resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.LoadTestService/playwrightWorkspaces@2025-09-01"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
localAuth = "string"
regionalAffinity = "string"
}
}
}
Property Values
Microsoft.LoadTestService/playwrightWorkspaces
| Name | Description | Value |
|---|---|---|
| location | The geo-location where the resource lives | string (required) |
| name | The resource name | string Constraints: Pattern = ^[a-zA-Z0-9-]{3,24}$ (required) |
| properties | The resource-specific properties for this resource. | PlaywrightWorkspaceProperties |
| tags | Resource tags | Dictionary of tag names and values. |
| type | The resource type | "Microsoft.LoadTestService/playwrightWorkspaces@2025-09-01" |
PlaywrightWorkspaceProperties
| Name | Description | Value |
|---|---|---|
| localAuth | Specifies whether service access tokens can be used to authenticate workspace operations. | 'Disabled' 'Enabled' |
| regionalAffinity | Specifies where client workers connect to cloud-hosted browsers. When Enabled, workers connect to browsers in the nearest Azure region to reduce latency. When Disabled, workers connect to browsers in the workspace's Azure region. | 'Disabled' 'Enabled' |
TrackedResourceTags
| Name | Description | Value |
|---|