H2OEngineVersionService

Creates a new H2OEngineVersion.

post/v1/{parent}/h2oEngineVersions

Request

Path parameters

parentstring required

Workspace resource name. Format: workspaces/{workspace}

Authorization may require the following permission on the h2oEngineVersion's parent workspace:

  • actions/enginemanager/h2oEngineVersions/CREATE

Query parameters

h2oEngineVersionIdstring required

Specify the H2OEngineVersion ID, which will become a part of the H2OEngineVersion resource name.

It must:

  • be in semver format (more segments than three segments allowed)
  • contain max 63 characters

Examples: "1.10.3", "1.10.3-alpha", "1.10.3.2", "1.10.3.2-alpha"

Request body

namestring
deprecatedboolean

Indicates whether H2OEngineVersion is deprecated.

aliasesstring[]

Optional. ResourceID aliases for this H2OEngineVersion. Aliases are unique within the workspace (two versions in the same workspace cannot have the same alias).

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 This matches a regular expression: ^a-z?$

For example: when H2OEngineVersion with name "workspaces/global/h2oEngineVersions/3.38.0.1" has aliases={"latest", "prerelease"}, then "workspaces/global/h2oEngineVersions/latest" will refer to this H2OEngineVersion.

imagestring required

Required. Name of the Docker image used when using this H2OEngineVersion.

imagePullPolicy'IMAGE_PULL_POLICY_UNSPECIFIED' | 'IMAGE_PULL_POLICY_ALWAYS' | 'IMAGE_PULL_POLICY_NEVER' | 'IMAGE_PULL_POLICY_IF_NOT_PRESENT'

Policy for downloading an image in K8s.

  • IMAGE_PULL_POLICY_UNSPECIFIED: Unspecified image pull policy.
  • IMAGE_PULL_POLICY_ALWAYS: Every time the container is launched, the container image registry is queried to resolve the name to an image digest.
  • IMAGE_PULL_POLICY_NEVER: Do not try to fetch the image. If the image is already present locally, the container will start. If the image is not present, container startup will fail.
  • IMAGE_PULL_POLICY_IF_NOT_PRESENT: The image is pulled only if it is not already present locally.
imagePullSecretsstring[]

List of references to k8s secrets that can be used for pulling an image of this H2OEngineVersion from a private container image registry or repository.

createTimestring date-time

Output only. Time when the H2OEngineVersion was created.

updateTimestring date-time nullable

Output only. Time when the H2OEngineVersion was last updated.

creatorstring

Output only. Name of entity that created the H2OEngineVersion.

updaterstring

Output only. Name of entity that last updated the H2OEngineVersion.

creatorDisplayNamestring

Output only. Human-readable name of entity that created the H2OEngineVersion.

updaterDisplayNamestring

Output only. Human-readable name of entity that last updated the H2OEngineVersion.

Response

A successful response.

Changes

No recorded changes to this operation across all 1 revision of this API.