<span id="计算资源"></span>

# Compute resources

Choose an API for the resource you need to operate on, then prepare the identity, IDs, and parameters listed on its action page.

<span id="选择任务"></span>

## Choose a task

| Task | Page | Description |
| --- | --- | --- |
| Submit an administrative compute resource deletion | [Submit an administrative compute resource deletion](delete-resource.md) | Persist the deletion intent and return an acknowledgement. Background processing continues the cleanup. |
| Compute administration errors and recovery | [Compute administration errors and recovery](compute-admin-crud-errors-recovery.md) | Classified shared authorization denials return 403/ErrForbidden; unavailability returns 503/ErrServiceUnavailable. Unclassified shared service errors return 500/ErrServer. |
| List compute resources as an administrator | [List compute resources as an administrator](list-resources.md) | List compute resources across Workspaces in the current administration directory. Filter by Workspace, status, name, or keyword. |
| Compute administration common objects | [Compute administration common objects](compute-admin-crud-objects.md) | An optional declaration does not mean every API populates the field. These list and update APIs do not populate py_deps. |
| Preflight compute resource deletion | [Preflight compute resource deletion](preflight-delete.md) | Read current active tasks and workflow bindings before deletion. |
| Update administrative compute resource configuration | [Update administrative compute resource configuration](update-resource.md) | Update a target compute resource as a configured administrator and return the ordinary resource object. |
| Compute administration lifecycle errors and recovery | [Compute administration lifecycle errors and recovery](compute-runtime-admin-errors-recovery.md) | Require SUSPENDED and ERROR, respectively. |
| Get compute resource runtime state as an administrator | [Get compute resource runtime state as an administrator](list-runtime.md) | Read a target instance's Worker types, states, and replica records separately from the parent instance state. |
| Compute administration runtime and lifecycle common objects | [Compute administration runtime and lifecycle common objects](compute-runtime-admin-objects.md) | Fields come from current handler DTOs and converters. |
| Resume a compute resource | [Resume a compute resource](resume-resource.md) | Resume a target compute instance as a configured administrator and return the instance reread after the operation. |
| Retry a compute resource | [Retry a compute resource](retry-resource.md) | Retry the target compute instance as a configured administrator and return the instance read again after the operation. |
| Suspend a compute resource | [Suspend a compute resource](suspend-resource.md) | Suspend a target compute instance as a configured administrator, then return the instance reread after the operation. |

```{toctree}
:hidden:
:maxdepth: 1

Submit an administrative compute resource deletion <delete-resource>
Compute administration errors and recovery <compute-admin-crud-errors-recovery>
List compute resources as an administrator <list-resources>
Compute administration common objects <compute-admin-crud-objects>
Preflight compute resource deletion <preflight-delete>
Update administrative compute resource configuration <update-resource>
Compute administration lifecycle errors and recovery <compute-runtime-admin-errors-recovery>
Get compute resource runtime state as an administrator <list-runtime>
Compute administration runtime and lifecycle common objects <compute-runtime-admin-objects>
Resume a compute resource <resume-resource>
Retry a compute resource <retry-resource>
Suspend a compute resource <suspend-resource>
```
