From abb30bf9483e3e0426938839eea887ccc2bd064c Mon Sep 17 00:00:00 2001 From: MJ <71822730+mjmadhu@users.noreply.github.com> Date: Mon, 5 Feb 2024 23:41:44 +0530 Subject: [PATCH] Mjmadhu playwrighttesting microsoft.azure playwright service 2023 10 01 preview cp (#27611) * Base commit to add new version folders * Moving unrequired stable version back to preview --- .../AccountQuotas_Get.json | 2 +- .../AccountQuotas_ListByAccount.json | 2 +- .../Accounts_CheckNameAvailability.json | 2 +- .../Accounts_CreateOrUpdate.json | 2 +- .../2024-02-01-preview}/Accounts_Delete.json | 2 +- .../examples/2024-02-01-preview}/Accounts_Get.json | 2 +- .../Accounts_ListByResourceGroup.json | 2 +- .../Accounts_ListBySubscription.json | 2 +- .../Accounts_Update.json | 2 +- .../Operations_List.json | 2 +- .../examples/2024-02-01-preview}/Quotas_Get.json | 2 +- .../Quotas_ListBySubscription.json | 2 +- .../PlaywrightTesting.Management/main.tsp | 4 ++-- .../examples/AccountQuotas_Get.json | 2 +- .../examples/AccountQuotas_ListByAccount.json | 2 +- .../examples/Accounts_CheckNameAvailability.json | 2 +- .../examples}/Accounts_CreateOrUpdate.json | 2 +- .../examples}/Accounts_Delete.json | 2 +- .../2024-02-01-preview/examples}/Accounts_Get.json | 2 +- .../examples}/Accounts_ListByResourceGroup.json | 2 +- .../examples/Accounts_ListBySubscription.json | 2 +- .../examples/Accounts_Update.json | 2 +- .../examples/Operations_List.json | 2 +- .../2024-02-01-preview/examples}/Quotas_Get.json | 2 +- .../examples/Quotas_ListBySubscription.json | 2 +- .../2024-02-01-preview}/playwrighttesting.json | 2 +- .../playwrighttesting/resource-manager/readme.md | 13 +++++-------- 27 files changed, 32 insertions(+), 35 deletions(-) rename specification/playwrighttesting/PlaywrightTesting.Management/examples/{2024-02-01 => 2024-02-01-preview}/AccountQuotas_Get.json (95%) rename specification/playwrighttesting/PlaywrightTesting.Management/examples/{2024-02-01 => 2024-02-01-preview}/AccountQuotas_ListByAccount.json (96%) rename specification/playwrighttesting/PlaywrightTesting.Management/examples/{2024-02-01 => 2024-02-01-preview}/Accounts_CheckNameAvailability.json (91%) rename specification/playwrighttesting/{resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples => PlaywrightTesting.Management/examples/2024-02-01-preview}/Accounts_CreateOrUpdate.json (98%) rename specification/playwrighttesting/{resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples => PlaywrightTesting.Management/examples/2024-02-01-preview}/Accounts_Delete.json (93%) rename specification/playwrighttesting/{resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples => PlaywrightTesting.Management/examples/2024-02-01-preview}/Accounts_Get.json (96%) rename specification/playwrighttesting/{resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples => PlaywrightTesting.Management/examples/2024-02-01-preview}/Accounts_ListByResourceGroup.json (97%) rename specification/playwrighttesting/PlaywrightTesting.Management/examples/{2024-02-01 => 2024-02-01-preview}/Accounts_ListBySubscription.json (96%) rename specification/playwrighttesting/PlaywrightTesting.Management/examples/{2024-02-01 => 2024-02-01-preview}/Accounts_Update.json (97%) rename specification/playwrighttesting/PlaywrightTesting.Management/examples/{2024-02-01 => 2024-02-01-preview}/Operations_List.json (97%) rename specification/playwrighttesting/{resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples => PlaywrightTesting.Management/examples/2024-02-01-preview}/Quotas_Get.json (94%) rename specification/playwrighttesting/PlaywrightTesting.Management/examples/{2024-02-01 => 2024-02-01-preview}/Quotas_ListBySubscription.json (95%) rename specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/{stable/2024-02-01 => preview/2024-02-01-preview}/examples/AccountQuotas_Get.json (95%) rename specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/{stable/2024-02-01 => preview/2024-02-01-preview}/examples/AccountQuotas_ListByAccount.json (96%) rename specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/{stable/2024-02-01 => preview/2024-02-01-preview}/examples/Accounts_CheckNameAvailability.json (91%) rename specification/playwrighttesting/{PlaywrightTesting.Management/examples/2024-02-01 => resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples}/Accounts_CreateOrUpdate.json (98%) rename specification/playwrighttesting/{PlaywrightTesting.Management/examples/2024-02-01 => resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples}/Accounts_Delete.json (93%) rename specification/playwrighttesting/{PlaywrightTesting.Management/examples/2024-02-01 => resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples}/Accounts_Get.json (96%) rename specification/playwrighttesting/{PlaywrightTesting.Management/examples/2024-02-01 => resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples}/Accounts_ListByResourceGroup.json (97%) rename specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/{stable/2024-02-01 => preview/2024-02-01-preview}/examples/Accounts_ListBySubscription.json (96%) rename specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/{stable/2024-02-01 => preview/2024-02-01-preview}/examples/Accounts_Update.json (97%) rename specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/{stable/2024-02-01 => preview/2024-02-01-preview}/examples/Operations_List.json (97%) rename specification/playwrighttesting/{PlaywrightTesting.Management/examples/2024-02-01 => resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples}/Quotas_Get.json (94%) rename specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/{stable/2024-02-01 => preview/2024-02-01-preview}/examples/Quotas_ListBySubscription.json (95%) rename specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/{stable/2024-02-01 => preview/2024-02-01-preview}/playwrighttesting.json (99%) diff --git a/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/AccountQuotas_Get.json b/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/AccountQuotas_Get.json similarity index 95% rename from specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/AccountQuotas_Get.json rename to specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/AccountQuotas_Get.json index 4bbab16c74f2..3f9210fcd2ea 100644 --- a/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/AccountQuotas_Get.json +++ b/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/AccountQuotas_Get.json @@ -2,7 +2,7 @@ "title": "AccountQuotas_Get", "operationId": "AccountQuotas_Get", "parameters": { - "api-version": "2024-02-01", + "api-version": "2024-02-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "accountName": "myPlaywrightAccount", diff --git a/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/AccountQuotas_ListByAccount.json b/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/AccountQuotas_ListByAccount.json similarity index 96% rename from specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/AccountQuotas_ListByAccount.json rename to specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/AccountQuotas_ListByAccount.json index 0d087084b0df..b04ddf4c8a59 100644 --- a/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/AccountQuotas_ListByAccount.json +++ b/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/AccountQuotas_ListByAccount.json @@ -2,7 +2,7 @@ "title": "AccountQuotas_ListByAccount", "operationId": "AccountQuotas_ListByAccount", "parameters": { - "api-version": "2024-02-01", + "api-version": "2024-02-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "accountName": "myPlaywrightAccount" diff --git a/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/Accounts_CheckNameAvailability.json b/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/Accounts_CheckNameAvailability.json similarity index 91% rename from specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/Accounts_CheckNameAvailability.json rename to specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/Accounts_CheckNameAvailability.json index d251005d1323..6df5c0d04a90 100644 --- a/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/Accounts_CheckNameAvailability.json +++ b/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/Accounts_CheckNameAvailability.json @@ -2,7 +2,7 @@ "title": "Accounts_CheckNameAvailability", "operationId": "Accounts_CheckNameAvailability", "parameters": { - "api-version": "2024-02-01", + "api-version": "2024-02-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "body": { "name": "dummyName", diff --git a/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/Accounts_CreateOrUpdate.json b/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/Accounts_CreateOrUpdate.json similarity index 98% rename from specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/Accounts_CreateOrUpdate.json rename to specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/Accounts_CreateOrUpdate.json index f17750340bf4..8cf5222500f7 100644 --- a/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/Accounts_CreateOrUpdate.json +++ b/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/Accounts_CreateOrUpdate.json @@ -2,7 +2,7 @@ "title": "Accounts_CreateOrUpdate", "operationId": "Accounts_CreateOrUpdate", "parameters": { - "api-version": "2024-02-01", + "api-version": "2024-02-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "accountName": "myPlaywrightAccount", diff --git a/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/Accounts_Delete.json b/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/Accounts_Delete.json similarity index 93% rename from specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/Accounts_Delete.json rename to specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/Accounts_Delete.json index f50f3cec23e9..3696889a7113 100644 --- a/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/Accounts_Delete.json +++ b/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/Accounts_Delete.json @@ -2,7 +2,7 @@ "title": "Accounts_Delete", "operationId": "Accounts_Delete", "parameters": { - "api-version": "2024-02-01", + "api-version": "2024-02-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "accountName": "myPlaywrightAccount" diff --git a/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/Accounts_Get.json b/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/Accounts_Get.json similarity index 96% rename from specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/Accounts_Get.json rename to specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/Accounts_Get.json index f6980545f4d7..9d4da3abb841 100644 --- a/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/Accounts_Get.json +++ b/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/Accounts_Get.json @@ -2,7 +2,7 @@ "title": "Accounts_Get", "operationId": "Accounts_Get", "parameters": { - "api-version": "2024-02-01", + "api-version": "2024-02-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "accountName": "myPlaywrightAccount" diff --git a/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/Accounts_ListByResourceGroup.json b/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/Accounts_ListByResourceGroup.json similarity index 97% rename from specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/Accounts_ListByResourceGroup.json rename to specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/Accounts_ListByResourceGroup.json index 462b79389851..68e31fede344 100644 --- a/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/Accounts_ListByResourceGroup.json +++ b/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/Accounts_ListByResourceGroup.json @@ -2,7 +2,7 @@ "title": "Accounts_ListByResourceGroup", "operationId": "Accounts_ListByResourceGroup", "parameters": { - "api-version": "2024-02-01", + "api-version": "2024-02-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg" }, diff --git a/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/Accounts_ListBySubscription.json b/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/Accounts_ListBySubscription.json similarity index 96% rename from specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/Accounts_ListBySubscription.json rename to specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/Accounts_ListBySubscription.json index 5a38310a8dc7..93f998037f7c 100644 --- a/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/Accounts_ListBySubscription.json +++ b/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/Accounts_ListBySubscription.json @@ -2,7 +2,7 @@ "title": "Accounts_ListBySubscription", "operationId": "Accounts_ListBySubscription", "parameters": { - "api-version": "2024-02-01", + "api-version": "2024-02-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { diff --git a/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/Accounts_Update.json b/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/Accounts_Update.json similarity index 97% rename from specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/Accounts_Update.json rename to specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/Accounts_Update.json index 673ee23285b1..ba297638039d 100644 --- a/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/Accounts_Update.json +++ b/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/Accounts_Update.json @@ -2,7 +2,7 @@ "title": "Accounts_Update", "operationId": "Accounts_Update", "parameters": { - "api-version": "2024-02-01", + "api-version": "2024-02-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "accountName": "myPlaywrightAccount", diff --git a/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/Operations_List.json b/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/Operations_List.json similarity index 97% rename from specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/Operations_List.json rename to specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/Operations_List.json index 3f437274a34c..e668f47e311f 100644 --- a/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/Operations_List.json +++ b/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/Operations_List.json @@ -2,7 +2,7 @@ "title": "Operations_List", "operationId": "Operations_List", "parameters": { - "api-version": "2024-02-01" + "api-version": "2024-02-01-preview" }, "responses": { "200": { diff --git a/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/Quotas_Get.json b/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/Quotas_Get.json similarity index 94% rename from specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/Quotas_Get.json rename to specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/Quotas_Get.json index e6824227a6ab..17492117a25b 100644 --- a/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/Quotas_Get.json +++ b/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/Quotas_Get.json @@ -2,7 +2,7 @@ "title": "Quotas_Get", "operationId": "Quotas_Get", "parameters": { - "api-version": "2024-02-01", + "api-version": "2024-02-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "location": "eastus", "quotaName": "ScalableExecution" diff --git a/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/Quotas_ListBySubscription.json b/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/Quotas_ListBySubscription.json similarity index 95% rename from specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/Quotas_ListBySubscription.json rename to specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/Quotas_ListBySubscription.json index 09bf98f70898..2e002359dd73 100644 --- a/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/Quotas_ListBySubscription.json +++ b/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01-preview/Quotas_ListBySubscription.json @@ -2,7 +2,7 @@ "title": "Quotas_ListBySubscription", "operationId": "Quotas_ListBySubscription", "parameters": { - "api-version": "2024-02-01", + "api-version": "2024-02-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "location": "eastus" }, diff --git a/specification/playwrighttesting/PlaywrightTesting.Management/main.tsp b/specification/playwrighttesting/PlaywrightTesting.Management/main.tsp index 9f05d2c999c2..a3fcd2001754 100644 --- a/specification/playwrighttesting/PlaywrightTesting.Management/main.tsp +++ b/specification/playwrighttesting/PlaywrightTesting.Management/main.tsp @@ -20,10 +20,10 @@ namespace Microsoft.AzurePlaywrightService; @doc("Microsoft.AzurePlaywrightService Management API Versions.") enum Versions { - /** 2024-02-01 version */ + /** 2024-02-01-preview version */ @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) - `2024-02-01`, + `2024-02-01-preview`, } interface Operations extends Azure.ResourceManager.Operations {} diff --git a/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/AccountQuotas_Get.json b/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/AccountQuotas_Get.json similarity index 95% rename from specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/AccountQuotas_Get.json rename to specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/AccountQuotas_Get.json index 4bbab16c74f2..3f9210fcd2ea 100644 --- a/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/AccountQuotas_Get.json +++ b/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/AccountQuotas_Get.json @@ -2,7 +2,7 @@ "title": "AccountQuotas_Get", "operationId": "AccountQuotas_Get", "parameters": { - "api-version": "2024-02-01", + "api-version": "2024-02-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "accountName": "myPlaywrightAccount", diff --git a/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/AccountQuotas_ListByAccount.json b/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/AccountQuotas_ListByAccount.json similarity index 96% rename from specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/AccountQuotas_ListByAccount.json rename to specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/AccountQuotas_ListByAccount.json index 0d087084b0df..b04ddf4c8a59 100644 --- a/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/AccountQuotas_ListByAccount.json +++ b/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/AccountQuotas_ListByAccount.json @@ -2,7 +2,7 @@ "title": "AccountQuotas_ListByAccount", "operationId": "AccountQuotas_ListByAccount", "parameters": { - "api-version": "2024-02-01", + "api-version": "2024-02-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "accountName": "myPlaywrightAccount" diff --git a/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/Accounts_CheckNameAvailability.json b/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/Accounts_CheckNameAvailability.json similarity index 91% rename from specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/Accounts_CheckNameAvailability.json rename to specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/Accounts_CheckNameAvailability.json index d251005d1323..6df5c0d04a90 100644 --- a/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/Accounts_CheckNameAvailability.json +++ b/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/Accounts_CheckNameAvailability.json @@ -2,7 +2,7 @@ "title": "Accounts_CheckNameAvailability", "operationId": "Accounts_CheckNameAvailability", "parameters": { - "api-version": "2024-02-01", + "api-version": "2024-02-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "body": { "name": "dummyName", diff --git a/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/Accounts_CreateOrUpdate.json b/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/Accounts_CreateOrUpdate.json similarity index 98% rename from specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/Accounts_CreateOrUpdate.json rename to specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/Accounts_CreateOrUpdate.json index f17750340bf4..8cf5222500f7 100644 --- a/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/Accounts_CreateOrUpdate.json +++ b/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/Accounts_CreateOrUpdate.json @@ -2,7 +2,7 @@ "title": "Accounts_CreateOrUpdate", "operationId": "Accounts_CreateOrUpdate", "parameters": { - "api-version": "2024-02-01", + "api-version": "2024-02-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "accountName": "myPlaywrightAccount", diff --git a/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/Accounts_Delete.json b/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/Accounts_Delete.json similarity index 93% rename from specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/Accounts_Delete.json rename to specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/Accounts_Delete.json index f50f3cec23e9..3696889a7113 100644 --- a/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/Accounts_Delete.json +++ b/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/Accounts_Delete.json @@ -2,7 +2,7 @@ "title": "Accounts_Delete", "operationId": "Accounts_Delete", "parameters": { - "api-version": "2024-02-01", + "api-version": "2024-02-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "accountName": "myPlaywrightAccount" diff --git a/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/Accounts_Get.json b/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/Accounts_Get.json similarity index 96% rename from specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/Accounts_Get.json rename to specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/Accounts_Get.json index f6980545f4d7..9d4da3abb841 100644 --- a/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/Accounts_Get.json +++ b/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/Accounts_Get.json @@ -2,7 +2,7 @@ "title": "Accounts_Get", "operationId": "Accounts_Get", "parameters": { - "api-version": "2024-02-01", + "api-version": "2024-02-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "accountName": "myPlaywrightAccount" diff --git a/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/Accounts_ListByResourceGroup.json b/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/Accounts_ListByResourceGroup.json similarity index 97% rename from specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/Accounts_ListByResourceGroup.json rename to specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/Accounts_ListByResourceGroup.json index 462b79389851..68e31fede344 100644 --- a/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/Accounts_ListByResourceGroup.json +++ b/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/Accounts_ListByResourceGroup.json @@ -2,7 +2,7 @@ "title": "Accounts_ListByResourceGroup", "operationId": "Accounts_ListByResourceGroup", "parameters": { - "api-version": "2024-02-01", + "api-version": "2024-02-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg" }, diff --git a/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/Accounts_ListBySubscription.json b/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/Accounts_ListBySubscription.json similarity index 96% rename from specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/Accounts_ListBySubscription.json rename to specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/Accounts_ListBySubscription.json index 5a38310a8dc7..93f998037f7c 100644 --- a/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/Accounts_ListBySubscription.json +++ b/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/Accounts_ListBySubscription.json @@ -2,7 +2,7 @@ "title": "Accounts_ListBySubscription", "operationId": "Accounts_ListBySubscription", "parameters": { - "api-version": "2024-02-01", + "api-version": "2024-02-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { diff --git a/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/Accounts_Update.json b/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/Accounts_Update.json similarity index 97% rename from specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/Accounts_Update.json rename to specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/Accounts_Update.json index 673ee23285b1..ba297638039d 100644 --- a/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/Accounts_Update.json +++ b/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/Accounts_Update.json @@ -2,7 +2,7 @@ "title": "Accounts_Update", "operationId": "Accounts_Update", "parameters": { - "api-version": "2024-02-01", + "api-version": "2024-02-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "dummyrg", "accountName": "myPlaywrightAccount", diff --git a/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/Operations_List.json b/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/Operations_List.json similarity index 97% rename from specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/Operations_List.json rename to specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/Operations_List.json index 3f437274a34c..e668f47e311f 100644 --- a/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/Operations_List.json +++ b/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/Operations_List.json @@ -2,7 +2,7 @@ "title": "Operations_List", "operationId": "Operations_List", "parameters": { - "api-version": "2024-02-01" + "api-version": "2024-02-01-preview" }, "responses": { "200": { diff --git a/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/Quotas_Get.json b/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/Quotas_Get.json similarity index 94% rename from specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/Quotas_Get.json rename to specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/Quotas_Get.json index e6824227a6ab..17492117a25b 100644 --- a/specification/playwrighttesting/PlaywrightTesting.Management/examples/2024-02-01/Quotas_Get.json +++ b/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/Quotas_Get.json @@ -2,7 +2,7 @@ "title": "Quotas_Get", "operationId": "Quotas_Get", "parameters": { - "api-version": "2024-02-01", + "api-version": "2024-02-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "location": "eastus", "quotaName": "ScalableExecution" diff --git a/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/Quotas_ListBySubscription.json b/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/Quotas_ListBySubscription.json similarity index 95% rename from specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/Quotas_ListBySubscription.json rename to specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/Quotas_ListBySubscription.json index 09bf98f70898..2e002359dd73 100644 --- a/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/examples/Quotas_ListBySubscription.json +++ b/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/examples/Quotas_ListBySubscription.json @@ -2,7 +2,7 @@ "title": "Quotas_ListBySubscription", "operationId": "Quotas_ListBySubscription", "parameters": { - "api-version": "2024-02-01", + "api-version": "2024-02-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "location": "eastus" }, diff --git a/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/playwrighttesting.json b/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/playwrighttesting.json similarity index 99% rename from specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/playwrighttesting.json rename to specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/playwrighttesting.json index 7d7c5e05772e..4b87122d48a4 100644 --- a/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/stable/2024-02-01/playwrighttesting.json +++ b/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/playwrighttesting.json @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "Microsoft AzurePlaywrightService Management API", - "version": "2024-02-01", + "version": "2024-02-01-preview", "description": "Microsoft.AzurePlaywrightService Resource Provider Management API.", "x-typespec-generated": [ { diff --git a/specification/playwrighttesting/resource-manager/readme.md b/specification/playwrighttesting/resource-manager/readme.md index 27bd6d248028..626f7865ee64 100644 --- a/specification/playwrighttesting/resource-manager/readme.md +++ b/specification/playwrighttesting/resource-manager/readme.md @@ -29,23 +29,20 @@ title: PlaywrightTestingClient description: Azure Playwright testing management service openapi-type: arm openapi-subtype: rpaas -tag: package-2024-02-01 +tag: package-2024-02-01-preview ``` -### Tag: package-2024-02-01 +### Tag: package-2024-02-01-preview -These settings apply only when `--tag=package-2024-02-01` is specified on the command line. +These settings apply only when `--tag=package-2024-02-01-preview` is specified on the command line. -```yaml $(tag) == 'package-2024-02-01' +```yaml $(tag) == 'package-2024-02-01-preview' input-file: - - Microsoft.AzurePlaywrightService/stable/2024-02-01/playwrighttesting.json + - Microsoft.AzurePlaywrightService/preview/2024-02-01-preview/playwrighttesting.json suppressions: - code: ResourceNameRestriction from: playwrighttesting.json reason: We have enums defined for quota resource names which doesn't support string pattern validation. - # where: - # - $.paths["/subscriptions/{subscriptionId}/providers/Microsoft.AzurePlaywrightService/locations/{location}/quotas/{quotaName}"].get.parameters.3 - # - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzurePlaywrightService/accounts/{accountName}/quotas/{quotaName}"].get.parameters.4 - code: ProvisioningStateMustBeReadOnly from: playwrighttesting.json reason: Seems like a tool bug, as the visibility is set to read only in the TypeSpec already.