Skip to main content

Module clients.dai_engine_version.version

Functions

from_api_object

def from_api_object(api_object: h2o_engine_manager.gen.model.v1_dai_engine_version.V1DAIEngineVersion) ‑> DAIEngineVersion

from_api_objects

def from_api_objects(api_objects: List[h2o_engine_manager.gen.model.v1_dai_engine_version.V1DAIEngineVersion]) ‑> List[DAIEngineVersion]

Classes

DAIEngineVersion

class DAIEngineVersion(image: str, name: str = '', deprecated: bool = False, aliases: Optional[List[str]] = None, image_pull_policy: h2o_engine_manager.clients.base.image_pull_policy.ImagePullPolicy = ImagePullPolicy.IMAGE_PULL_POLICY_UNSPECIFIED, image_pull_secrets: Optional[List[str]] = None, create_time: Optional[datetime.datetime] = None, update_time: Optional[datetime.datetime] = None, creator: str = '', updater: str = '', creator_display_name: str = '', updater_display_name: str = '')

DAIEngineVersion represents Driverless AI version that can be used in DAIEngine.

DAIEngineVersion represents a set of values that are used for DAIEngine.

Args
image
Name of the Docker image used when using this DAIEngineVersion.
name
Resource name. Format "workspaces//daiEngineVersions/".
deprecated
Indicates whether DAIEngineVersion is deprecated.
aliases
Resource ID aliases for this DAIEngineVersion. Aliases are unique within the workspace. Any alias must be in format: - contain 1-63 characters - contain only lowercase alphanumeric characters or hyphen ('-') - start with an alphabetic character - end with an alphanumeric character
image_pull_policy
Image pull policy applied when using this DAIEngineVersion. When unset, server will choose a default one.
image_pull_secrets
List of references to k8s secrets that can be used for pulling an image of this DAIEngineVersion from a private container image registry or repository.
create_time
Time when the DAIEngineVersion was created.
update_time
Time when the DAIEngineVersion was last updated.
creator
Name of entity that created the DAIEngineVersion.
updater
Name of entity that last updated the DAIEngineVersion.
creator_display_name
Human-readable name of entity that created the DAIEngineVersion.
updater_display_name
Human-readable name of entity that last updated the DAIEngineVersion.

Methods

to_api_object

def to_api_object(self) ‑> h2o_engine_manager.gen.model.v1_dai_engine_version.V1DAIEngineVersion

to_resource

def to_resource(self) ‑> h2o_engine_manager.gen.model.required_dai_engine_version_resource.RequiredDAIEngineVersionResource

Feedback