Module clients.sandbox_engine.engine
Functions
sandbox_engine_from_api_object
def sandbox_engine_from_api_object(api_object: h2o_engine_manager.gen.model.v1_sandbox_engine.V1SandboxEngine) ‑> SandboxEngine
sandbox_engine_to_api_object
def sandbox_engine_to_api_object(sandbox_engine: SandboxEngine) ‑> h2o_engine_manager.gen.model.v1_sandbox_engine.V1SandboxEngine
Classes
SandboxEngine
class SandboxEngine(sandbox_engine_image: str, sandbox_engine_template: str, name: str = '', display_name: str = '', uid: str = '', state: h2o_engine_manager.clients.sandbox_engine.state.SandboxEngineState = SandboxEngineState.STATE_UNSPECIFIED, creator: str = '', creator_display_name: str = '', create_time: Optional[datetime.datetime] = None, sandbox_engine_image_info: Optional[h2o_engine_manager.clients.sandbox_engine.sandbox_engine_image_info.SandboxEngineImageInfo] = None, sandbox_engine_template_info: Optional[h2o_engine_manager.clients.sandbox_engine.sandbox_engine_template_info.SandboxEngineTemplateInfo] = None, current_idle_duration: Optional[str] = None, annotations: Optional[Dict[str, str]] = None)
SandboxEngine represents a sandbox environment for running custom code.
SandboxEngine represents a sandbox environment.
Args
sandbox_engine_image- The resource name of the SandboxEngineImage. Format is
workspaces/*/sandboxEngineImages/*. sandbox_engine_template- The resource name of the SandboxEngineTemplate. Format is
workspaces/*/sandboxEngineTemplates/*. name- The resource name of the SandboxEngine. Format:
workspaces/*/sandboxEngines/*. display_name- Human-readable name.
uid- Globally unique identifier of the resource.
state- The current state of the SandboxEngine.
creator- Name of entity that created the SandboxEngine.
creator_display_name- Human-readable name of entity that created the SandboxEngine.
create_time- Time when the SandboxEngine creation was requested.
sandbox_engine_image_info- SandboxEngineImage data used when the SandboxEngine was created from the assigned sandbox_engine_image.
sandbox_engine_template_info- SandboxEngineTemplate data used when the SandboxEngine was created from the assigned sandbox_engine_template.
current_idle_duration- Current time the SandboxEngine is idle.
annotations- Additional arbitrary metadata associated with the SandboxEngine.
Feedback
- Submit and view feedback for this page
- Send feedback about AI Engine Manager to cloud-feedback@h2o.ai