For the complete documentation index, see llms.txt. This page is also available as Markdown.

Policy (Slurm)

Cedana API for policies (Slurm)

List maintenance windows

get

Returns all maintenance windows

Authorizations
Responses
200

Returns all SLURM maintenance windows

application/json
created_atstring · nullableOptional
end_timestring · nullableOptional
idstring · nullableOptional
nodesstring[] · nullableOptional
partitionsstring[] · nullableOptional
reasonstring · nullableOptional
start_timestring · nullableOptional
statusstring · nullableOptional
get
/v2/slurm/maintenance_window

Create maintenance window

post

Creates a new maintenance window for SLURM clusters

Authorizations
Body
end_timestring · date-timeRequired
nodesstring[] · nullableOptional
partitionsstring[] · nullableOptional
reasonstringRequired
start_timestring · date-timeRequired
statusstring · nullableOptional
Responses
post
/v2/slurm/maintenance_window

Get maintenance window

get

Returns a specific maintenance window by ID

Authorizations
Path parameters
idstringRequired
Responses
200

Returns the maintenance window

application/json
created_atstring · nullableOptional
end_timestring · nullableOptional
idstring · nullableOptional
nodesstring[] · nullableOptional
partitionsstring[] · nullableOptional
reasonstring · nullableOptional
start_timestring · nullableOptional
statusstring · nullableOptional
get
/v2/slurm/maintenance_window/{id}

Update maintenance window

put

Updates an existing maintenance window

Authorizations
Path parameters
idstringRequired
Body
end_timestring · nullableOptional
nodesstring[] · nullableOptional
partitionsstring[] · nullableOptional
reasonstring · nullableOptional
start_timestring · nullableOptional
statusstring · nullableOptional
Responses
200

Successfully updated maintenance window and returns id

text/plain
stringOptional
put
/v2/slurm/maintenance_window/{id}

Delete maintenance window

delete

Deletes a maintenance window by ID

Authorizations
Path parameters
idstringRequired
Responses
200

Successfully deleted maintenance window and returns id

text/plain
stringOptional
delete
/v2/slurm/maintenance_window/{id}

Last updated

Was this helpful?