Set Module Resources
set_module_resourcesSet a module's CPU and memory and rebuild it so its pods take them. The allocation is checked against the resource pool's capacity first; a refused one is restored. The operation is ASYNCHRONOUS: poll the returned job_id with get_job_status. One operation runs on a module at a time, and none beside an operation on its project: the refusal names the running job; wait for it with get_job_status, then call again. While RationalBloks is being updated, the call is refused with 'RationalBloks is being updated': call it again in a few minutes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memory_mb | Yes | Memory allocation in MB | |
| module_id | Yes | Module ID (list_modules) | |
| cpu_millicores | Yes | CPU allocation in millicores |