{ "swagger": "2.0", "info": { "title": "Playwright Service Management API", "version": "2025-07-01-preview", "description": "Playwright Service Management API provides access to Playwright workspace resources and their operations through Azure Resource Manager.", "x-typespec-generated": [ { "emitter": "@azure-tools/typespec-autorest" } ] }, "schemes": [ "https" ], "host": "management.azure.com", "produces": [ "application/json" ], "consumes": [ "application/json" ], "security": [ { "azure_auth": [ "user_impersonation" ] } ], "securityDefinitions": { "azure_auth": { "type": "oauth2", "description": "Azure Active Directory OAuth2 Flow.", "flow": "implicit", "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", "scopes": { "user_impersonation": "impersonate your user account" } } }, "tags": [ { "name": "Operations" }, { "name": "PlaywrightWorkspaces" }, { "name": "PlaywrightQuotas" }, { "name": "PlaywrightWorkspaceQuotas" } ], "paths": { "/providers/Microsoft.LoadTestService/operations": { "get": { "operationId": "Operations_List", "tags": [ "Operations" ], "description": "List the operations for the provider", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/OperationListResult" } }, "default": { "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { "Operations_List": { "$ref": "./examples/Operations_List.json" } }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.LoadTestService/checkNameAvailability": { "post": { "operationId": "PlaywrightWorkspaces_CheckNameAvailability", "tags": [ "PlaywrightWorkspaces" ], "description": "Checks if a Playwright workspace name is available globally.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "name": "body", "in": "body", "description": "The CheckAvailability request", "required": true, "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/CheckNameAvailabilityRequest" } } ], "responses": { "200": { "description": "The request has succeeded.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/CheckNameAvailabilityResponse" } }, "default": { "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { "PlaywrightWorkspaces_CheckNameAvailability": { "$ref": "./examples/PlaywrightWorkspaces_CheckNameAvailability.json" } } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.LoadTestService/locations/{location}/playwrightQuotas": { "get": { "operationId": "PlaywrightQuotas_ListBySubscription", "tags": [ "PlaywrightQuotas" ], "description": "Lists Playwright quota resources for a given subscription ID.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/LocationParameter" } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/PlaywrightQuotaListResult" } }, "default": { "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { "PlaywrightQuotas_ListBySubscription": { "$ref": "./examples/PlaywrightQuotas_ListBySubscription.json" } }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.LoadTestService/locations/{location}/playwrightQuotas/{playwrightQuotaName}": { "get": { "operationId": "PlaywrightQuotas_Get", "tags": [ "PlaywrightQuotas" ], "description": "Gets a subscription-level location-based Playwright quota resource by name.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/LocationParameter" }, { "name": "playwrightQuotaName", "in": "path", "description": "The name of the PlaywrightQuota", "required": true, "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$", "enum": [ "ExecutionMinutes" ], "x-ms-enum": { "name": "QuotaName", "modelAsString": true, "values": [ { "name": "ExecutionMinutes", "value": "ExecutionMinutes", "description": "Quota for execution duration in minutes." } ] } } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/PlaywrightQuota" } }, "default": { "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { "PlaywrightQuotas_Get": { "$ref": "./examples/PlaywrightQuotas_Get.json" } } } }, "/subscriptions/{subscriptionId}/providers/Microsoft.LoadTestService/playwrightWorkspaces": { "get": { "operationId": "PlaywrightWorkspaces_ListBySubscription", "tags": [ "PlaywrightWorkspaces" ], "description": "List PlaywrightWorkspace resources by subscription ID", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/PlaywrightWorkspaceListResult" } }, "default": { "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { "PlaywrightWorkspaces_ListBySubscription": { "$ref": "./examples/PlaywrightWorkspaces_ListBySubscription.json" } }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/playwrightWorkspaces": { "get": { "operationId": "PlaywrightWorkspaces_ListByResourceGroup", "tags": [ "PlaywrightWorkspaces" ], "description": "List PlaywrightWorkspace resources by resource group", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/PlaywrightWorkspaceListResult" } }, "default": { "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { "PlaywrightWorkspaces_ListByResourceGroup": { "$ref": "./examples/PlaywrightWorkspaces_ListByResourceGroup.json" } }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/playwrightWorkspaces/{playwrightWorkspaceName}": { "get": { "operationId": "PlaywrightWorkspaces_Get", "tags": [ "PlaywrightWorkspaces" ], "description": "Get a PlaywrightWorkspace", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "playwrightWorkspaceName", "in": "path", "description": "The name of the PlaywrightWorkspace", "required": true, "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$" } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/PlaywrightWorkspace" } }, "default": { "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { "PlaywrightWorkspaces_Get": { "$ref": "./examples/PlaywrightWorkspaces_Get.json" } } }, "put": { "operationId": "PlaywrightWorkspaces_CreateOrUpdate", "tags": [ "PlaywrightWorkspaces" ], "description": "Create a PlaywrightWorkspace", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "playwrightWorkspaceName", "in": "path", "description": "The name of the PlaywrightWorkspace", "required": true, "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$" }, { "name": "resource", "in": "body", "description": "Resource create parameters.", "required": true, "schema": { "$ref": "#/definitions/PlaywrightWorkspace" } } ], "responses": { "200": { "description": "Resource 'PlaywrightWorkspace' update operation succeeded", "schema": { "$ref": "#/definitions/PlaywrightWorkspace" } }, "201": { "description": "Resource 'PlaywrightWorkspace' create operation succeeded", "schema": { "$ref": "#/definitions/PlaywrightWorkspace" }, "headers": { "Azure-AsyncOperation": { "type": "string", "description": "A link to the status monitor" }, "Retry-After": { "type": "integer", "format": "int32", "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "default": { "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { "PlaywrightWorkspaces_CreateOrUpdate": { "$ref": "./examples/PlaywrightWorkspaces_CreateOrUpdate.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, "x-ms-long-running-operation": true }, "patch": { "operationId": "PlaywrightWorkspaces_Update", "tags": [ "PlaywrightWorkspaces" ], "description": "Updates a Playwright workspace resource synchronously.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "playwrightWorkspaceName", "in": "path", "description": "The name of the PlaywrightWorkspace", "required": true, "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$" }, { "name": "properties", "in": "body", "description": "The resource properties to be updated.", "required": true, "schema": { "$ref": "#/definitions/PlaywrightWorkspaceUpdate" } } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/PlaywrightWorkspace" } }, "default": { "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { "PlaywrightWorkspaces_Update": { "$ref": "./examples/PlaywrightWorkspaces_Update.json" } } }, "delete": { "operationId": "PlaywrightWorkspaces_Delete", "tags": [ "PlaywrightWorkspaces" ], "description": "Deletes a Playwright workspace resource asynchronously.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "playwrightWorkspaceName", "in": "path", "description": "The name of the PlaywrightWorkspace", "required": true, "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$" } ], "responses": { "202": { "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", "description": "The Location header contains the URL where the status of the long running operation can be checked." }, "Retry-After": { "type": "integer", "format": "int32", "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." } } }, "204": { "description": "Resource does not exist." }, "default": { "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { "PlaywrightWorkspaces_Delete": { "$ref": "./examples/PlaywrightWorkspaces_Delete.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/playwrightWorkspaces/{playwrightWorkspaceName}/quotas": { "get": { "operationId": "PlaywrightWorkspaceQuotas_ListByPlaywrightWorkspace", "tags": [ "PlaywrightWorkspaceQuotas" ], "description": "Lists quota resources for a given Playwright workspace.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "playwrightWorkspaceName", "in": "path", "description": "The name of the PlaywrightWorkspace", "required": true, "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$" } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/PlaywrightWorkspaceQuotaListResult" } }, "default": { "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { "PlaywrightWorkspaceQuotas_ListByPlaywrightWorkspace": { "$ref": "./examples/PlaywrightWorkspaceQuotas_ListByPlaywrightWorkspace.json" } }, "x-ms-pageable": { "nextLinkName": "nextLink" } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/playwrightWorkspaces/{playwrightWorkspaceName}/quotas/{quotaName}": { "get": { "operationId": "PlaywrightWorkspaceQuotas_Get", "tags": [ "PlaywrightWorkspaceQuotas" ], "description": "Gets a Playwright workspace quota resource by name.", "parameters": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "playwrightWorkspaceName", "in": "path", "description": "The name of the PlaywrightWorkspace", "required": true, "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$" }, { "name": "quotaName", "in": "path", "description": "The name of the PlaywrightWorkspaceQuota", "required": true, "type": "string", "pattern": "^[a-zA-Z0-9-]{3,24}$", "enum": [ "ExecutionMinutes" ], "x-ms-enum": { "name": "QuotaName", "modelAsString": true, "values": [ { "name": "ExecutionMinutes", "value": "ExecutionMinutes", "description": "Quota for execution duration in minutes." } ] } } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { "$ref": "#/definitions/PlaywrightWorkspaceQuota" } }, "default": { "description": "An unexpected error response.", "schema": { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, "x-ms-examples": { "PlaywrightWorkspaceQuotas_Get": { "$ref": "./examples/PlaywrightWorkspaceQuotas_Get.json" } } } } }, "definitions": { "EnablementStatus": { "type": "string", "description": "The enablement status of a feature.", "enum": [ "Enabled", "Disabled" ], "x-ms-enum": { "name": "EnablementStatus", "modelAsString": true, "values": [ { "name": "Enabled", "value": "Enabled", "description": "The feature is enabled." }, { "name": "Disabled", "value": "Disabled", "description": "The feature is disabled." } ] } }, "FreeTrialProperties": { "type": "object", "description": "Subscription-level location-based Playwright quota free trial properties.", "properties": { "workspaceId": { "type": "string", "description": "The workspace ID in GUID format that has free trial enabled in the subscription.", "minLength": 3, "maxLength": 36, "pattern": "[A-Za-z0-9]+(-[A-Za-z0-9]+)+", "readOnly": true }, "state": { "$ref": "#/definitions/FreeTrialState", "description": "The free trial state.", "readOnly": true } }, "required": [ "workspaceId", "state" ] }, "FreeTrialState": { "type": "string", "description": "The free trial state.", "enum": [ "Active", "Expired", "NotApplicable" ], "x-ms-enum": { "name": "FreeTrialState", "modelAsString": true, "values": [ { "name": "Active", "value": "Active", "description": "The free trial is active and available for use." }, { "name": "Expired", "value": "Expired", "description": "The free trial has expired and is no longer available." }, { "name": "NotApplicable", "value": "NotApplicable", "description": "The free trial is not applicable for this resource." } ] } }, "PlaywrightQuota": { "type": "object", "description": "Subscription-level location-based Playwright quota resource.", "properties": { "properties": { "$ref": "#/definitions/PlaywrightQuotaProperties", "description": "The resource-specific properties for this resource.", "x-ms-client-flatten": true } }, "allOf": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" } ] }, "PlaywrightQuotaListResult": { "type": "object", "description": "The response of a PlaywrightQuota list operation.", "properties": { "value": { "type": "array", "description": "The PlaywrightQuota items on this page", "items": { "$ref": "#/definitions/PlaywrightQuota" } }, "nextLink": { "type": "string", "format": "uri", "description": "The link to the next page of items" } }, "required": [ "value" ] }, "PlaywrightQuotaProperties": { "type": "object", "description": "Subscription-level location-based Playwright quota resource properties.", "properties": { "freeTrial": { "$ref": "#/definitions/FreeTrialProperties", "description": "The subscription-level location-based Playwright quota free trial properties.", "readOnly": true }, "provisioningState": { "$ref": "#/definitions/ProvisioningState", "description": "The status of the last resource operation.", "readOnly": true } } }, "PlaywrightWorkspace": { "type": "object", "description": "Playwright workspace resource.", "properties": { "properties": { "$ref": "#/definitions/PlaywrightWorkspaceProperties", "description": "The resource-specific properties for this resource.", "x-ms-client-flatten": true } }, "allOf": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, "PlaywrightWorkspaceFreeTrialProperties": { "type": "object", "description": "Playwright workspace quota free trial properties.", "properties": { "createdAt": { "type": "string", "format": "date-time", "description": "The free trial creation timestamp in UTC.", "readOnly": true }, "expiryAt": { "type": "string", "format": "date-time", "description": "The free trial expiration timestamp in UTC.", "readOnly": true }, "allocatedValue": { "type": "integer", "format": "int32", "description": "The allocated limit value (e.g., allocated free execution minutes).", "readOnly": true }, "usedValue": { "type": "number", "format": "float", "description": "The used value (e.g., used free execution minutes).", "readOnly": true }, "percentageUsed": { "type": "number", "format": "float", "description": "The percentage of the free trial quota used.", "minimum": 0, "maximum": 100, "readOnly": true } }, "required": [ "createdAt", "expiryAt", "allocatedValue", "usedValue", "percentageUsed" ] }, "PlaywrightWorkspaceListResult": { "type": "object", "description": "The response of a PlaywrightWorkspace list operation.", "properties": { "value": { "type": "array", "description": "The PlaywrightWorkspace items on this page", "items": { "$ref": "#/definitions/PlaywrightWorkspace" } }, "nextLink": { "type": "string", "format": "uri", "description": "The link to the next page of items" } }, "required": [ "value" ] }, "PlaywrightWorkspaceProperties": { "type": "object", "description": "Playwright workspace resource properties.", "properties": { "provisioningState": { "$ref": "#/definitions/ProvisioningState", "description": "The status of the last resource operation.", "readOnly": true }, "dataplaneUri": { "type": "string", "format": "uri", "description": "The API endpoint for workspace data plane operations.", "readOnly": true }, "regionalAffinity": { "type": "string", "description": "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.", "default": "Enabled", "enum": [ "Enabled", "Disabled" ], "x-ms-enum": { "name": "EnablementStatus", "modelAsString": true, "values": [ { "name": "Enabled", "value": "Enabled", "description": "The feature is enabled." }, { "name": "Disabled", "value": "Disabled", "description": "The feature is disabled." } ] } }, "localAuth": { "type": "string", "description": "Specifies whether service access tokens can be used to authenticate workspace operations.", "default": "Disabled", "enum": [ "Enabled", "Disabled" ], "x-ms-enum": { "name": "EnablementStatus", "modelAsString": true, "values": [ { "name": "Enabled", "value": "Enabled", "description": "The feature is enabled." }, { "name": "Disabled", "value": "Disabled", "description": "The feature is disabled." } ] } }, "workspaceId": { "type": "string", "description": "The workspace ID in GUID format.", "minLength": 3, "maxLength": 36, "pattern": "[A-Za-z0-9]+(-[A-Za-z0-9]+)+", "readOnly": true } } }, "PlaywrightWorkspaceQuota": { "type": "object", "description": "Playwright workspace quota resource.", "properties": { "properties": { "$ref": "#/definitions/PlaywrightWorkspaceQuotaProperties", "description": "The resource-specific properties for this resource.", "x-ms-client-flatten": true } }, "allOf": [ { "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" } ] }, "PlaywrightWorkspaceQuotaListResult": { "type": "object", "description": "The response of a PlaywrightWorkspaceQuota list operation.", "properties": { "value": { "type": "array", "description": "The PlaywrightWorkspaceQuota items on this page", "items": { "$ref": "#/definitions/PlaywrightWorkspaceQuota" } }, "nextLink": { "type": "string", "format": "uri", "description": "The link to the next page of items" } }, "required": [ "value" ] }, "PlaywrightWorkspaceQuotaProperties": { "type": "object", "description": "Playwright workspace quota resource properties.", "properties": { "freeTrial": { "$ref": "#/definitions/PlaywrightWorkspaceFreeTrialProperties", "description": "The Playwright workspace quota free trial properties.", "readOnly": true }, "provisioningState": { "$ref": "#/definitions/ProvisioningState", "description": "The status of the last resource operation.", "readOnly": true } } }, "PlaywrightWorkspaceUpdate": { "type": "object", "description": "The type used for update operations of the PlaywrightWorkspace.", "properties": { "tags": { "type": "object", "description": "Resource tags.", "additionalProperties": { "type": "string" } }, "properties": { "$ref": "#/definitions/PlaywrightWorkspaceUpdateProperties", "description": "The resource-specific properties for this resource.", "x-ms-client-flatten": true } } }, "PlaywrightWorkspaceUpdateProperties": { "type": "object", "description": "The updatable properties of the PlaywrightWorkspace.", "properties": { "regionalAffinity": { "$ref": "#/definitions/EnablementStatus", "description": "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." }, "localAuth": { "$ref": "#/definitions/EnablementStatus", "description": "Specifies whether service access tokens can be used to authenticate workspace operations." } } }, "ProvisioningState": { "type": "string", "description": "The status of the last resource operation.", "enum": [ "Succeeded", "Failed", "Canceled", "Creating", "Deleting", "Accepted" ], "x-ms-enum": { "name": "ProvisioningState", "modelAsString": true, "values": [ { "name": "Succeeded", "value": "Succeeded", "description": "Resource has been created." }, { "name": "Failed", "value": "Failed", "description": "Resource creation failed." }, { "name": "Canceled", "value": "Canceled", "description": "Resource creation was canceled." }, { "name": "Creating", "value": "Creating", "description": "Resource creation is in progress." }, { "name": "Deleting", "value": "Deleting", "description": "Resource deletion is in progress." }, { "name": "Accepted", "value": "Accepted", "description": "Request has been accepted for processing." } ] }, "readOnly": true } }, "parameters": {} }