Playwright Workspace Quotas - List By Playwright Workspace
列出给定 Playwright 工作区资源的配额资源。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/playwrightWorkspaces/{playwrightWorkspaceName}/quotas?api-version=2025-07-01-preview
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
playwright
|
path | True |
string pattern: ^[a-zA-Z0-9-]{3,24}$ |
PlaywrightWorkspace 的名称 |
resource
|
path | True |
string minLength: 1maxLength: 90 |
资源组的名称。 此名称不区分大小写。 |
subscription
|
path | True |
string (uuid) |
目标订阅的 ID。 该值必须是 UUID。 |
api-version
|
query | True |
string minLength: 1 |
要用于此操作的 API 版本。 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
Azure 操作已成功完成。 |
|
Other Status Codes |
意外的错误响应。 |
安全性
azure_auth
Azure Active Directory OAuth2 Flow。
类型:
oauth2
流向:
implicit
授权 URL:
https://login.microsoftonline.com/common/oauth2/authorize
作用域
名称 | 说明 |
---|---|
user_impersonation | 模拟用户帐户 |
示例
PlaywrightWorkspaceQuotas_ListByPlaywrightWorkspace
示例请求
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.LoadTestService/playwrightWorkspaces/myWorkspace/quotas?api-version=2025-07-01-preview
示例响应
{
"value": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dummyrg/providers/Microsoft.LoadTestService/PlaywrightWorkspaces/myWorkspace/quotas/ExecutionMinutes",
"name": "ExecutionMinutes",
"type": "Microsoft.LoadTestService/PlaywrightWorkspaces/Quotas",
"properties": {
"freeTrial": {
"createdAt": "2025-05-31T10:19:36.081Z",
"expiryAt": "2026-03-31T10:19:36.081Z",
"allocatedValue": 10,
"usedValue": 10,
"percentageUsed": 100
},
"provisioningState": "Succeeded"
}
}
]
}
定义
名称 | 说明 |
---|---|
created |
创建资源的标识的类型。 |
Error |
资源管理错误附加信息。 |
Error |
错误详细信息。 |
Error |
错误响应 |
Playwright |
Playwright 工作区配额资源免费试用属性。 |
Playwright |
Playwright 工作区配额资源。 |
Playwright |
PlaywrightWorkspaceQuota 列表作的响应。 |
Provisioning |
上次资源作的状态。 |
system |
与创建和上次修改资源相关的元数据。 |
createdByType
创建资源的标识的类型。
值 | 说明 |
---|---|
Application | |
Key | |
ManagedIdentity | |
User |
ErrorAdditionalInfo
资源管理错误附加信息。
名称 | 类型 | 说明 |
---|---|---|
info |
object |
其他信息。 |
type |
string |
其他信息类型。 |
ErrorDetail
错误详细信息。
名称 | 类型 | 说明 |
---|---|---|
additionalInfo |
错误附加信息。 |
|
code |
string |
错误代码。 |
details |
错误详细信息。 |
|
message |
string |
错误消息。 |
target |
string |
错误目标。 |
ErrorResponse
错误响应
名称 | 类型 | 说明 |
---|---|---|
error |
错误对象。 |
PlaywrightWorkspaceFreeTrialProperties
Playwright 工作区配额资源免费试用属性。
名称 | 类型 | 说明 |
---|---|---|
allocatedValue |
integer (int32) |
免费试用分配的限制值,例如。分配的免费执行分钟数。 |
createdAt |
string (date-time) |
免费试用版 createdAt utcDateTime。 |
expiryAt |
string (date-time) |
免费试用 expiryAt utcDateTime。 |
percentageUsed |
number (float) minimum: 0maximum: 100 |
使用的免费试用百分比。 |
usedValue |
number (float) |
免费试用使用的值 eg.使用免费执行分钟数。 |
PlaywrightWorkspaceQuota
Playwright 工作区配额资源。
名称 | 类型 | 说明 |
---|---|---|
id |
string (arm-id) |
资源的完全限定资源 ID。 例如“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}” |
name |
string |
资源的名称 |
properties.freeTrial |
Playwright 工作区配额资源免费试用属性。 |
|
properties.provisioningState |
上次资源作的状态。 |
|
systemData |
包含 createdBy 和 modifiedBy 信息的 Azure 资源管理器元数据。 |
|
type |
string |
资源类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts” |
PlaywrightWorkspaceQuotaListResult
PlaywrightWorkspaceQuota 列表作的响应。
名称 | 类型 | 说明 |
---|---|---|
nextLink |
string (uri) |
指向下一页项的链接 |
value |
此页上的 PlaywrightWorkspaceQuota 项 |
ProvisioningState
上次资源作的状态。
值 | 说明 |
---|---|
Accepted |
接受处理请求.. |
Canceled |
资源创建已取消。 |
Creating |
正在创建。 |
Deleting |
正在删除。 |
Failed |
资源创建失败。 |
Succeeded |
已创建资源。 |
systemData
与创建和上次修改资源相关的元数据。
名称 | 类型 | 说明 |
---|---|---|
createdAt |
string (date-time) |
资源创建时间戳(UTC)。 |
createdBy |
string |
创建资源的标识。 |
createdByType |
创建资源的标识的类型。 |
|
lastModifiedAt |
string (date-time) |
上次修改的资源时间戳(UTC) |
lastModifiedBy |
string |
上次修改资源的标识。 |
lastModifiedByType |
上次修改资源的标识的类型。 |