import latitudesh_python_sdk
from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
latitudesh.servers.reinstall(server_id="sv_aNmodj6ydbE8W", data={
"type": latitudesh_python_sdk.CreateServerReinstallServersType.REINSTALLS,
"attributes": {
"operating_system": latitudesh_python_sdk.CreateServerReinstallServersOperatingSystem.IPXE,
"hostname": "BRC1",
"ipxe": "https://some-host.com/image.ipxe",
},
})
# Use the SDK ...{}import latitudesh_python_sdk
from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
latitudesh.servers.reinstall(server_id="sv_aNmodj6ydbE8W", data={
"type": latitudesh_python_sdk.CreateServerReinstallServersType.REINSTALLS,
"attributes": {
"operating_system": latitudesh_python_sdk.CreateServerReinstallServersOperatingSystem.IPXE,
"hostname": "BRC1",
"ipxe": "https://some-host.com/image.ipxe",
},
})
# Use the SDK ...{}Documentation Index
Fetch the complete documentation index at: https://www.latitude.sh/docs/llms.txt
Use this file to discover all available pages before exploring further.
Was this page helpful?