Skip to content

Commit

Permalink
Mjmadhu playwrighttesting microsoft.azure playwright service 2023 10 …
Browse files Browse the repository at this point in the history
…01 preview new (#27132)

* First commit with existing version files in new version folder

* Added new ARM stable api-version for GA

* Readme changes

* Addressed review comments

* Changed data type to float as discussed in the comments

* Added suppression rules for SwaggerLintDiff as per review comment

* Added suppression rules for SwaggerLintDiff as per review comment

* Fix for suppressions not working

* Modified suppression syntax to the new one as per TSG.

* Added paths in suppressions

* Rectifying path for ResourceNameRestriction Suppression

* Paths not working correctly with ResourceNameRestriction suppression
  • Loading branch information
mjmadhu authored Jan 31, 2024
1 parent 17c165f commit 1fc2f86
Show file tree
Hide file tree
Showing 27 changed files with 1,737 additions and 52 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"title": "AccountQuotas_Get",
"operationId": "AccountQuotas_Get",
"parameters": {
"api-version": "2024-02-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "dummyrg",
"accountName": "myPlaywrightAccount",
"quotaName": "ScalableExecution"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.AzurePlaywrightService/accounts/myPlaywrightAccount/quotas/ScalableExecution",
"name": "ScalableExecution",
"type": "Microsoft.AzurePlaywrightService/Accounts/Quotas",
"properties": {
"freeTrial": {
"createdAt": "2023-08-31T10:19:36.081Z",
"expiryAt": "2023-08-31T10:19:36.081Z",
"allocatedValue": 0,
"usedValue": 0,
"percentageUsed": 100
},
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"title": "AccountQuotas_ListByAccount",
"operationId": "AccountQuotas_ListByAccount",
"parameters": {
"api-version": "2024-02-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "dummyrg",
"accountName": "myPlaywrightAccount"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.AzurePlaywrightService/accounts/myPlaywrightAccount/quotas/ScalableExecution",
"name": "ScalableExecution",
"type": "Microsoft.AzurePlaywrightService/Accounts/Quotas",
"properties": {
"freeTrial": {
"createdAt": "2023-08-31T10:19:36.081Z",
"expiryAt": "2023-08-31T10:19:36.081Z",
"allocatedValue": 0,
"usedValue": 0,
"percentageUsed": 100
},
"provisioningState": "Succeeded"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"title": "Accounts_CheckNameAvailability",
"operationId": "Accounts_CheckNameAvailability",
"parameters": {
"api-version": "2024-02-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"body": {
"name": "dummyName",
"type": "Microsoft.AzurePlaywrightService/Accounts"
}
},
"responses": {
"200": {
"body": {
"nameAvailable": true,
"message": "Test message."
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"title": "Accounts_CreateOrUpdate",
"operationId": "Accounts_CreateOrUpdate",
"parameters": {
"api-version": "2023-10-01-preview",
"api-version": "2024-02-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "dummyrg",
"name": "myPlaywrightAccount",
"accountName": "myPlaywrightAccount",
"resource": {
"location": "westus",
"tags": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"title": "Accounts_Delete",
"operationId": "Accounts_Delete",
"parameters": {
"api-version": "2023-10-01-preview",
"api-version": "2024-02-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "dummyrg",
"name": "myPlaywrightAccount"
"accountName": "myPlaywrightAccount"
},
"responses": {
"202": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"title": "Accounts_Get",
"operationId": "Accounts_Get",
"parameters": {
"api-version": "2023-10-01-preview",
"api-version": "2024-02-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "dummyrg",
"name": "myPlaywrightAccount"
"accountName": "myPlaywrightAccount"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Accounts_ListByResourceGroup",
"operationId": "Accounts_ListByResourceGroup",
"parameters": {
"api-version": "2023-10-01-preview",
"api-version": "2024-02-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "dummyrg"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Accounts_ListBySubscription",
"operationId": "Accounts_ListBySubscription",
"parameters": {
"api-version": "2023-10-01-preview",
"api-version": "2024-02-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"title": "Accounts_Update",
"operationId": "Accounts_Update",
"parameters": {
"api-version": "2023-10-01-preview",
"api-version": "2024-02-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "dummyrg",
"name": "myPlaywrightAccount",
"accountName": "myPlaywrightAccount",
"properties": {
"tags": {
"Team": "Dev Exp",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Operations_List",
"operationId": "Operations_List",
"parameters": {
"api-version": "2023-10-01-preview"
"api-version": "2024-02-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"title": "Quotas_Get",
"operationId": "Quotas_Get",
"parameters": {
"api-version": "2023-10-01-preview",
"api-version": "2024-02-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"location": "eastus",
"name": "ScalableExecution"
"quotaName": "ScalableExecution"
},
"responses": {
"200": {
Expand All @@ -16,11 +16,6 @@
"properties": {
"freeTrial": {
"accountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"createdAt": "2023-08-31T10:19:36.081Z",
"expiryAt": "2023-08-31T10:19:36.081Z",
"allocatedValue": 0,
"usedValue": 0,
"percentageUsed": 100,
"state": "Active"
},
"provisioningState": "Succeeded"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Quotas_ListBySubscription",
"operationId": "Quotas_ListBySubscription",
"parameters": {
"api-version": "2023-10-01-preview",
"api-version": "2024-02-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"location": "eastus"
},
Expand All @@ -14,11 +14,6 @@
"properties": {
"freeTrial": {
"accountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"createdAt": "2023-08-31T10:19:36.081Z",
"expiryAt": "2023-08-31T10:19:36.081Z",
"allocatedValue": 0,
"usedValue": 0,
"percentageUsed": 100,
"state": "Active"
},
"provisioningState": "Succeeded"
Expand Down
Loading

0 comments on commit 1fc2f86

Please sign in to comment.