Module clients.sandbox_engine_template.template
Functions
from_api_object 
def from_api_object(api_object: h2o_engine_manager.gen.model.v1_sandbox_engine_template.V1SandboxEngineTemplate) ‑> SandboxEngineTemplate
from_api_objects 
def from_api_objects(api_objects: List[h2o_engine_manager.gen.model.v1_sandbox_engine_template.V1SandboxEngineTemplate]) ‑> List[SandboxEngineTemplate]
Classes
SandboxEngineTemplate
class SandboxEngineTemplate(memory_bytes_limit: str, max_idle_duration: str, name: str = '', display_name: str = '', milli_cpu_request: int = 0, milli_cpu_limit: int = 0, gpu_resource: str = '', gpu: int = 0, memory_bytes_request: str = '0', storage_bytes: str = '0', environmental_variables: Optional[Dict[str, str]] = None, yaml_pod_template_spec: str = '', enabled: bool = True, create_time: Optional[datetime.datetime] = None, update_time: Optional[datetime.datetime] = None, creator: str = '', updater: str = '', creator_display_name: str = '', updater_display_name: str = '')
SandboxEngineTemplate represents a compute template for SandboxEngine.
SandboxEngineTemplate represents a compute template for SandboxEngine.
Args
memory_bytes_limit- Max memory in bytes a SandboxEngine is allowed to use.
 max_idle_duration- Maximum time a SandboxEngine can be idle before it is automatically terminated.
 name- Resource name. Format "workspaces//sandboxEngineTemplates/".
 display_name- Human-readable name of the SandboxEngineTemplate.
 milli_cpu_request- MilliCPU units that will be reserved for the SandboxEngine.
 milli_cpu_limit- Maximum MilliCPU units a SandboxEngine is allowed to use.
 gpu_resource- Kubernetes GPU resource name (e.g., "nvidia.com/gpu").
 gpu- The amount of GPU units requested by this SandboxEngine.
 memory_bytes_request- Memory in bytes that will be reserved for the SandboxEngine.
 storage_bytes- External ephemeral storage in bytes.
 environmental_variables- Map of environmental variables.
 yaml_pod_template_spec- YAML representation of custom PodTemplateSpec.
 enabled- Whether the SandboxEngineTemplate is enabled.
 create_time- Time when the SandboxEngineTemplate was created.
 update_time- Time when the SandboxEngineTemplate was last updated.
 creator- Name of entity that created the SandboxEngineTemplate.
 updater- Name of entity that last updated the SandboxEngineTemplate.
 creator_display_name- Human-readable name of entity that created the SandboxEngineTemplate.
 updater_display_name- Human-readable name of entity that last updated the SandboxEngineTemplate.
 
Methods
Feedback
- Submit and view feedback for this page
 - Send feedback about AI Engine Manager to cloud-feedback@h2o.ai