Schedule maintenance for a machine.
Signature
VastAI.schedule_maint(
id: int,
sdate: Any,
duration: Any,
category: str = 'not provided'
) -> dict
Parameters
id of machine to schedule maintenance for
maintenance start date in unix epoch time (UTC seconds)
maintenance duration in hours
category
str
default:"not provided"
Returns
dict
Example
from vastai import VastAI
client = VastAI(api_key="YOUR_API_KEY")
result = client.schedule_maint(id=12345, sdate="value", duration="value")
print(result)