Signature
Parameters
int
required
id of machine to schedule maintenance for
Any
required
maintenance start date in unix epoch time (UTC seconds)
Any
required
maintenance duration in hours
str
default:"not provided"
Returns
dict
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
VastAI.schedule_maint(
id: int,
sdate: Any,
duration: Any,
category: str = 'not provided'
) -> dict
dict
from vastai import VastAI
client = VastAI(api_key="YOUR_API_KEY")
result = client.schedule_maint(id=12345, sdate="value", duration="value")
print(result)