H2OEngineVersionService

Assign new set of resourceID aliases to H2OEngineVersion. This will replace existing H2OEngineVersion resourceID aliases with the new aliases. If there are other H2OEngineVersions with the same alias that we try to assign to this H2OEngineVersion, they will be deleted from the other H2OEngineVersions.

Example 1 - two versions in the same workspace:

  • h2ow1v1(name="workspaces/w1/h2oEngineVersions/v1", aliases=["latest", "bar"])
  • h2ow1v2(name="workspaces/w1/h2oEngineVersions/v2", aliases=["baz", "foo"])
  • AssignAliases(h2ow1v1, aliases=["latest", "baz"]) => h2ow1v1.aliases=["latest", "baz"] (changed) => h2ow1v2.aliases=["foo"] (changed)

Example 2 - two versions in different workspaces:

  • h2ow1v1(name="workspaces/w1/h2oEngineVersions/v1", aliases=["latest", "bar"])
  • h2ow2v1(name="workspaces/w2/h2oEngineVersions/v1", aliases=["latest", "baz"])
  • AssignAliases(h2ow1v1, aliases=["latest", "baz"]) => h2ow1v1.aliases=["latest", "baz"] (changed) => h2ow2v1.aliases=["latest", "baz"] (unchanged)
post/v1/{name_1}:assignAliases

Request

Path parameters

name_1string required

H2OEngineVersion resource name. Format: workspaces/{workspace}/h2oEngineVersions/{h2o_engine_version}

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

  • actions/enginemanager/h2oEngineVersions/ASSIGN_ALIASES

Request body

aliasesstring[] required

New resourceID aliases of the H2OEngineVersion.

Response

A successful response.

Changes

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