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@2026-11-01-preview' = {
identity: {
type: 'string'
userAssignedIdentities: {
{customized property}: {}
}
}
location: 'string'
name: 'string'
properties: {
browserProxy: 'string'
localAuth: 'string'
regionalAffinity: 'string'
reporting: 'string'
sessionArtifacts: 'string'
storageIdentity: {
resourceId: 'string'
type: 'string'
}
storageUri: 'string'
subnetId: 'string'
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.LoadTestService/playwrightWorkspaces
| Name | Description | Value |
|---|---|---|
| identity | The managed service identities assigned to this resource. | ManagedServiceIdentity |
| 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 |
ManagedIdentity
| Name | Description | Value |
|---|---|---|
| resourceId | The Azure Resource Manager resource ID of the user-assigned managed identity. Required when type is UserAssigned. Omit when type is SystemAssigned. | string |
| type | The managed identity type: SystemAssigned or UserAssigned. | 'SystemAssigned' 'UserAssigned' |
ManagedServiceIdentity
| Name | Description | Value |
|---|---|---|
| type | Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). | 'None' 'SystemAssigned' 'SystemAssigned,UserAssigned' 'UserAssigned' (required) |
| userAssignedIdentities | The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. | ManagedServiceIdentityUserAssignedIdentities |
ManagedServiceIdentityUserAssignedIdentities
| Name | Description | Value |
|---|
PlaywrightWorkspaceProperties
| Name | Description | Value |
|---|---|---|
| browserProxy | Specifies whether the browser proxy is enabled for the workspace. | 'Disabled' 'Enabled' |
| 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' |
| reporting | Specifies whether test reporting is enabled for the workspace. | 'Disabled' 'Enabled' |
| sessionArtifacts | Specifies whether session artifact recording is enabled for the workspace. | 'Disabled' 'Enabled' |
| storageIdentity | The managed identity used to manage session artifacts in the storage account. | ManagedIdentity |
| storageUri | The URI of the Azure Storage account used to store workspace artifacts, test results, reports and browser profiles. | string |
| subnetId | The Azure Resource Manager resource ID of the subnet used for private network connectivity. Before creating the workspace, ensure the subnet meets the virtual network prerequisites at https://aka.ms/pww/docs/vnet. Format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Network/virtualNetworks/{virtualNetwork}/subnets/{subnet}. This value cannot be changed after workspace creation. | string |
TrackedResourceTags
| Name | Description | Value |
|---|
UserAssignedIdentity
| 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": "2026-11-01-preview",
"name": "string",
"identity": {
"type": "string",
"userAssignedIdentities": {
"{customized property}": {
}
}
},
"location": "string",
"properties": {
"browserProxy": "string",
"localAuth": "string",
"regionalAffinity": "string",
"reporting": "string",
"sessionArtifacts": "string",
"storageIdentity": {
"resourceId": "string",
"type": "string"
},
"storageUri": "string",
"subnetId": "string"
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.LoadTestService/playwrightWorkspaces
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2026-11-01-preview' |
| identity | The managed service identities assigned to this resource. | ManagedServiceIdentity |
| 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' |
ManagedIdentity
| Name | Description | Value |
|---|---|---|
| resourceId | The Azure Resource Manager resource ID of the user-assigned managed identity. Required when type is UserAssigned. Omit when type is SystemAssigned. | string |
| type | The managed identity type: SystemAssigned or UserAssigned. | 'SystemAssigned' 'UserAssigned' |
ManagedServiceIdentity
| Name | Description | Value |
|---|---|---|
| type | Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). | 'None' 'SystemAssigned' 'SystemAssigned,UserAssigned' 'UserAssigned' (required) |
| userAssignedIdentities | The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. | ManagedServiceIdentityUserAssignedIdentities |
ManagedServiceIdentityUserAssignedIdentities
| Name | Description | Value |
|---|
PlaywrightWorkspaceProperties
| Name | Description | Value |
|---|---|---|
| browserProxy | Specifies whether the browser proxy is enabled for the workspace. | 'Disabled' 'Enabled' |
| 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' |
| reporting | Specifies whether test reporting is enabled for the workspace. | 'Disabled' 'Enabled' |
| sessionArtifacts | Specifies whether session artifact recording is enabled for the workspace. | 'Disabled' 'Enabled' |
| storageIdentity | The managed identity used to manage session artifacts in the storage account. | ManagedIdentity |
| storageUri | The URI of the Azure Storage account used to store workspace artifacts, test results, reports and browser profiles. | string |
| subnetId | The Azure Resource Manager resource ID of the subnet used for private network connectivity. Before creating the workspace, ensure the subnet meets the virtual network prerequisites at https://aka.ms/pww/docs/vnet. Format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Network/virtualNetworks/{virtualNetwork}/subnets/{subnet}. This value cannot be changed after workspace creation. | string |
TrackedResourceTags
| Name | Description | Value |
|---|
UserAssignedIdentity
| 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@2026-11-01-preview"
name = "string"
parent_id = "string"
identity {
type = "string"
identity_ids = [
"string"
]
}
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
browserProxy = "string"
localAuth = "string"
regionalAffinity = "string"
reporting = "string"
sessionArtifacts = "string"
storageIdentity = {
resourceId = "string"
type = "string"
}
storageUri = "string"
subnetId = "string"
}
}
}
Property Values
Microsoft.LoadTestService/playwrightWorkspaces
| Name | Description | Value |
|---|---|---|
| identity | The managed service identities assigned to this resource. | ManagedServiceIdentity |
| 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@2026-11-01-preview" |
ManagedIdentity
| Name | Description | Value |
|---|---|---|
| resourceId | The Azure Resource Manager resource ID of the user-assigned managed identity. Required when type is UserAssigned. Omit when type is SystemAssigned. | string |
| type | The managed identity type: SystemAssigned or UserAssigned. | 'SystemAssigned' 'UserAssigned' |
ManagedServiceIdentity
| Name | Description | Value |
|---|---|---|
| type | Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). | 'None' 'SystemAssigned' 'SystemAssigned,UserAssigned' 'UserAssigned' (required) |
| userAssignedIdentities | The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. | ManagedServiceIdentityUserAssignedIdentities |
ManagedServiceIdentityUserAssignedIdentities
| Name | Description | Value |
|---|
PlaywrightWorkspaceProperties
| Name | Description | Value |
|---|---|---|
| browserProxy | Specifies whether the browser proxy is enabled for the workspace. | 'Disabled' 'Enabled' |
| 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' |
| reporting | Specifies whether test reporting is enabled for the workspace. | 'Disabled' 'Enabled' |
| sessionArtifacts | Specifies whether session artifact recording is enabled for the workspace. | 'Disabled' 'Enabled' |
| storageIdentity | The managed identity used to manage session artifacts in the storage account. | ManagedIdentity |
| storageUri | The URI of the Azure Storage account used to store workspace artifacts, test results, reports and browser profiles. | string |
| subnetId | The Azure Resource Manager resource ID of the subnet used for private network connectivity. Before creating the workspace, ensure the subnet meets the virtual network prerequisites at https://aka.ms/pww/docs/vnet. Format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Network/virtualNetworks/{virtualNetwork}/subnets/{subnet}. This value cannot be changed after workspace creation. | string |
TrackedResourceTags
| Name | Description | Value |
|---|
UserAssignedIdentity
| Name | Description | Value |
|---|