Skip to content

Commit

Permalink
CodeGen from PR 25787 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Update readme.python.md (#25787)
  • Loading branch information
SDKAuto committed Sep 15, 2023
1 parent 4bd5052 commit 05df187
Show file tree
Hide file tree
Showing 2 changed files with 126 additions and 0 deletions.
123 changes: 123 additions & 0 deletions schemas/2023-10-01-preview/Microsoft.AzurePlaywrightService.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
{
"id": "https://schema.management.azure.com/schemas/2023-10-01-preview/Microsoft.AzurePlaywrightService.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.AzurePlaywrightService",
"description": "Microsoft AzurePlaywrightService Resource Types",
"resourceDefinitions": {
"accounts": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2023-10-01-preview"
]
},
"location": {
"type": "string",
"description": "The geo-location where the resource lives"
},
"name": {
"type": "string",
"enum": [
"ScalableExecution"
],
"description": "Name of account"
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/AccountProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Account properties"
},
"tags": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Resource tags."
},
"type": {
"type": "string",
"enum": [
"Microsoft.AzurePlaywrightService/accounts"
]
}
},
"required": [
"apiVersion",
"location",
"name",
"properties",
"type"
],
"description": "Microsoft.AzurePlaywrightService/accounts"
}
},
"definitions": {
"AccountProperties": {
"type": "object",
"properties": {
"regionalAffinity": {
"oneOf": [
{
"type": "string",
"enum": [
"Enabled",
"Disabled"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "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."
},
"reporting": {
"oneOf": [
{
"type": "string",
"enum": [
"Enabled",
"Disabled"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "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."
},
"scalableExecution": {
"oneOf": [
{
"type": "string",
"enum": [
"Enabled",
"Disabled"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "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."
}
},
"description": "Account properties"
}
}
}
3 changes: 3 additions & 0 deletions schemas/common/autogeneratedResources.json
Original file line number Diff line number Diff line change
Expand Up @@ -4852,6 +4852,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2019-07-24-preview/Microsoft.AzureData.json#/resourceDefinitions/sqlServerRegistrations_sqlServers"
},
{
"$ref": "https://schema.management.azure.com/schemas/2023-10-01-preview/Microsoft.AzurePlaywrightService.json#/resourceDefinitions/accounts"
},
{
"$ref": "https://schema.management.azure.com/schemas/2022-09-01-preview/Microsoft.AzureSphere.json#/resourceDefinitions/catalogs"
},
Expand Down

0 comments on commit 05df187

Please sign in to comment.