Skip to content

UpdateAccountingRequest

Source code in docs_src/capo_pcs/types/update_accounting_request.py
class UpdateAccountingRequest(TypedDict, closed=True):
    default_purge_time_in_days: NotRequired["int"]
    """<p>The default value for all purge settings for <code>slurmdbd.conf</code>. For more information, see the <a href="https://slurm.schedmd.com/slurmdbd.conf.html">slurmdbd.conf documentation at SchedMD</a>.</p> <p>The default value for <code>defaultPurgeTimeInDays</code> is <code>-1</code>.</p> <p>A value of <code>-1</code> means there is no purge time and records persist as long as the cluster exists.</p> <important> <p> <code>0</code> isn't a valid value.</p> </important>"""
    mode: NotRequired["capo_pcs.types.accounting_mode.AccountingMode"]
    """<p>The default value for <code>mode</code> is <code>NONE</code>. A value of <code>STANDARD</code> means Slurm accounting is enabled.</p>"""

default_purge_time_in_days instance-attribute

default_purge_time_in_days: NotRequired[int]

The default value for all purge settings for slurmdbd.conf. For more information, see the slurmdbd.conf documentation at SchedMD.

The default value for defaultPurgeTimeInDays is -1.

A value of -1 means there is no purge time and records persist as long as the cluster exists.

0 isn't a valid value.

mode instance-attribute

mode: NotRequired[AccountingMode]

The default value for mode is NONE. A value of STANDARD means Slurm accounting is enabled.