Share via


Microsoft.AzurePlaywrightService accounts 2023-10-01-preview

Bicep resource definition

The accounts resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.AzurePlaywrightService/accounts resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.AzurePlaywrightService/accounts@2023-10-01-preview' = {
  location: 'string'
  name: 'string'
  properties: {
    regionalAffinity: 'string'
    reporting: 'string'
    scalableExecution: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

Microsoft.AzurePlaywrightService/accounts

Name Description Value
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Min length = 3
Max length = 64
Pattern = ^[a-zA-Z]{1}[a-zA-Z0-9]{2,63}$ (required)
properties The resource-specific properties for this resource. AccountProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

AccountProperties

Name Description Value
regionalAffinity This property sets the connection region for Playwright 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. 'Disabled'
'Enabled'
reporting When enabled, this feature allows the workspace to upload and display test results, including artifacts like traces and screenshots, in the Playwright portal. This enables faster and more efficient troubleshooting. 'Disabled'
'Enabled'
scalableExecution When enabled, Playwright client workers can connect to cloud-hosted browsers. This can increase the number of parallel workers for a test run, significantly minimizing test completion durations. 'Disabled'
'Enabled'

TrackedResourceTags

Name Description Value

ARM template resource definition

The accounts resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.AzurePlaywrightService/accounts resource, add the following JSON to your template.

{
  "type": "Microsoft.AzurePlaywrightService/accounts",
  "apiVersion": "2023-10-01-preview",
  "name": "string",
  "location": "string",
  "properties": {
    "regionalAffinity": "string",
    "reporting": "string",
    "scalableExecution": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

Microsoft.AzurePlaywrightService/accounts

Name Description Value
apiVersion The api version '2023-10-01-preview'
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Min length = 3
Max length = 64
Pattern = ^[a-zA-Z]{1}[a-zA-Z0-9]{2,63}$ (required)
properties The resource-specific properties for this resource. AccountProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.AzurePlaywrightService/accounts'

AccountProperties

Name Description Value
regionalAffinity This property sets the connection region for Playwright 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. 'Disabled'
'Enabled'
reporting When enabled, this feature allows the workspace to upload and display test results, including artifacts like traces and screenshots, in the Playwright portal. This enables faster and more efficient troubleshooting. 'Disabled'
'Enabled'
scalableExecution When enabled, Playwright client workers can connect to cloud-hosted browsers. This can increase the number of parallel workers for a test run, significantly minimizing test completion durations. 'Disabled'
'Enabled'

TrackedResourceTags

Name Description Value

Usage Examples

Terraform (AzAPI provider) resource definition

The accounts 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.AzurePlaywrightService/accounts resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.AzurePlaywrightService/accounts@2023-10-01-preview"
  name = "string"
  parent_id = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      regionalAffinity = "string"
      reporting = "string"
      scalableExecution = "string"
    }
  }
}

Property Values

Microsoft.AzurePlaywrightService/accounts

Name Description Value
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Min length = 3
Max length = 64
Pattern = ^[a-zA-Z]{1}[a-zA-Z0-9]{2,63}$ (required)
properties The resource-specific properties for this resource. AccountProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.AzurePlaywrightService/accounts@2023-10-01-preview"

AccountProperties

Name Description Value
regionalAffinity This property sets the connection region for Playwright 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. 'Disabled'
'Enabled'
reporting When enabled, this feature allows the workspace to upload and display test results, including artifacts like traces and screenshots, in the Playwright portal. This enables faster and more efficient troubleshooting. 'Disabled'
'Enabled'
scalableExecution When enabled, Playwright client workers can connect to cloud-hosted browsers. This can increase the number of parallel workers for a test run, significantly minimizing test completion durations. 'Disabled'
'Enabled'

TrackedResourceTags

Name Description Value