Computers
Get managed computer quotas
The organization’s managed computer quotas and what it uses now: managed desktops running and held (sleeping ones and their kept volumes included), per allocation mode, the GiB those volumes hold, running desktop hours this UTC month, open viewers, viewer media the relays forwarded this month, and stored screenshots. limits is what applies: the deployment’s defaults with the organization’s override on top; null is unlimited. Allocations, wakes and viewers over a limit are refused with code: COMPUTER_QUOTA_EXCEEDED.
授权
bearerAuth 授权Bearer <token>
位置: header
路径参数
orgId*string
响应主体
application/json
application/json
curl -X GET "https://example.com/v1/orgs/string/computers/quotas"{ "defaults": { "runningDesktops": 0, "desktops": 0, "storageGib": 0, "monthlyDesktopHours": 0, "modes": { "ephemeral": { "runningDesktops": 0, "desktops": 0 }, "per-agent": { "runningDesktops": 0, "desktops": 0 }, "manual": { "runningDesktops": 0, "desktops": 0 } }, "viewers": 0, "viewersPerComputer": 0, "monthlyViewerGib": 0, "screenshotStorageGib": 0, "screenshotRetentionDays": 0 }, "override": { "runningDesktops": 0, "desktops": 0, "storageGib": 0, "monthlyDesktopHours": 0, "modes": { "ephemeral": { "runningDesktops": 0, "desktops": 0 }, "per-agent": { "runningDesktops": 0, "desktops": 0 }, "manual": { "runningDesktops": 0, "desktops": 0 } }, "viewers": 0, "viewersPerComputer": 0, "monthlyViewerGib": 0, "screenshotStorageGib": 0, "screenshotRetentionDays": 0 }, "limits": { "runningDesktops": 0, "desktops": 0, "storageGib": 0, "monthlyDesktopHours": 0, "modes": { "ephemeral": { "runningDesktops": 0, "desktops": 0 }, "per-agent": { "runningDesktops": 0, "desktops": 0 }, "manual": { "runningDesktops": 0, "desktops": 0 } }, "viewers": 0, "viewersPerComputer": 0, "monthlyViewerGib": 0, "screenshotStorageGib": 0, "screenshotRetentionDays": 0 }, "used": { "runningDesktops": -9007199254740991, "desktops": -9007199254740991, "storageGib": 0, "monthlyDesktopHours": 0, "modes": { "property1": { "runningDesktops": -9007199254740991, "desktops": -9007199254740991 }, "property2": { "runningDesktops": -9007199254740991, "desktops": -9007199254740991 } }, "viewers": -9007199254740991, "monthlyViewerGib": 0, "screenshotStorageGib": 0 }, "volumeGib": 0, "canEdit": true}