-
Notifications
You must be signed in to change notification settings - Fork 518
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CodeGen from PR 25445 in Azure/azure-rest-api-specs
[Hub Generated] Review request for Microsoft.PlaywrightTesting to add version preview/2023-10-01-preview (#25445) * Generate new Service for playwrighttesting * Adding Management APIs for Microsoft.AzurePlaywrightService public preview api-version 2023-10-01-preview * CI failures Fix * Removed description form properties as it's not required * Added new resource type * Spell check fix * Renamed quota resource type * Rectifying the typespec issue for location based resource * Renamed enum value * Review comments addressed * Swagger build errors resolution * Swagger model validation error fix for example * Added dashboard URI in examples * Revert "Added dashboard URI in examples" This reverts commit 8b1a7cb8964592d026b176380afea398317f2387. * Mjmadhu playwrighttesting microsoft.azure playwright service 2023 10 01 preview data plane (#25681) * Renamed entity from access-key to access-token * Added subscription state to handle appropriate action for clients * Added account state as a property * Updated regex for names * Updated example * Added readonly properties in PUT request examples
- Loading branch information
SDKAuto
committed
Sep 12, 2023
1 parent
4bd5052
commit e3d849b
Showing
2 changed files
with
126 additions
and
0 deletions.
There are no files selected for viewing
123 changes: 123 additions & 0 deletions
123
schemas/2023-10-01-preview/Microsoft.AzurePlaywrightService.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters