- URL:
- https://<root>/machines/machine>/gpulimitinfo
- Methods:
GETPOST- Operations:
- Edit, Run Limit Check
- Version Introduced:
- 12.0
Description
The gpulimitinfo resource outputs the results of the GPU Limit Check tool. This tool is first run at the time of site creation. After site creation, the tool can be accessed using the HTML version of this resource.
Request parameters
| Parameter | Details |
|---|---|
(Required) | The output format for this operation. The default value is Values: |
(Optional) | The desired GPU Limit, as an integer. This value should reflect the actual number of available GPUs in an environment. Note that this parameter is only used in POST requests to manually set the |
(Required) | Users interacting programmatically with this endpoint must generate a token that must be included as a request parameter. A token can be obtained using the Generate Token operation. |
Response properties
| Property | Details |
|---|---|
| The number of GPUs detected by the GPU Limit Check tool. Note that the Edit operation available via the HTML version of this page allows for manual setting of this property. Additionally, the Run Limit Check Tool operation can also be run manually via the HTML version of this page. |
| Outputs a Unix timestamp of when the tool was last run. |
Example GET usage
The following is a sample request URL used to access the gpulimitinfo resource:
https://organization.example.com/<context>/admin/machines/MACHINE.EXAMPLE.COM/gpulimitinfo?f=pjsonExample POST usage
The following is a sample POST request for the gpulimitinfo operation:
POST /arcgis/admin/machines/machine.example.com/gpulimitinfo HTTP/1.1
Host: organization.example.com:21443
Content-Type: application/x-www-form-urlencoded
Content-Length: []
gpuLimit=1&f=pjsonJSON Response syntax
{
"limit": <integer>,
"lastExecuted": <Unix timestamp>
}JSON Response example
{
"limit": 1,
"lastExecuted": 1764774003
}