Skip to main content

Software Artifact Version

View as Markdown

SoftwareArtifactVersion object​

An immutable version of a software artifact, identified by its content digest.

digeststringPublic PreviewOutput only

Content digest of the version's image manifest, of the form {algorithm}:{hex}.

Example: sha256:7ba451133c403e85ee98073f28fd640bc9aa5000f0d6fce0f0b06ff7ac4cd9c5

namestringPublic PreviewIDImmutable

Resource name of the version, of the form software-artifacts/{catalog}.{schema}.{artifact}/versions/{version}, where {version} is the version's content digest.

tagsarray of stringPublic PreviewOutput only

Tags (aliases) that currently point at this version, for example latest or v1.2.3. Bounded at 10 per version; a version pointed at by more tags returns an arbitrary 10 of them.

image_acceleration_detailsobjectPublic PreviewOutput only

Image acceleration information for this version.

Show child attributesHide child attributes
statusstringPublic Preview

Image acceleration status for the version.

Values:

  • UNSPECIFIED
  • SUCCESS
create_timestringPublic PreviewOutput only

Time at which this software artifact version was created, formatted as an RFC 3339 timestamp in JSON.

created_bystringPublic PreviewOutput only

Principal name of the software artifact version creator.

update_timestringPublic PreviewOutput only

Time at which this software artifact version was last updated, formatted as an RFC 3339 timestamp in JSON.

updated_bystringPublic PreviewOutput only

Principal name that last updated this software artifact version.

Get a software artifact version Public Preview​

GET /api/2.1/unity-catalog/{name=software-artifacts/*/versions/*}

Gets a software artifact version by its resource name. Returns NOT_FOUND if the version does not exist.

API scopes: unity-catalog

Parameters​

namestringRequiredpath

Resource name of the version, of the form software-artifacts/{catalog}.{schema}.{artifact}/versions/{version}, where {version} is the version's content digest.

Response​

Returns the SoftwareArtifactVersion object.

List software artifact versions Public Preview​

GET /api/2.1/unity-catalog/{parent=software-artifacts/*}/versions

Lists the versions of a software artifact.

API scopes: unity-catalog

Parameters​

parentstringRequiredpath

Resource name of the parent artifact, of the form software-artifacts/{catalog}.{schema}.{artifact}.

Example: software-artifacts/main.ml.inference-server

page_tokenstringquery

Opaque continuation token from a previous response's next_page_token. Omit for the first page.

page_sizeint32query

Maximum number of versions to return. If omitted or set to 0, the page size defaults to 50. The maximum value is 50; values above 50 or below 0 are rejected.

Response​

Returns a list of SoftwareArtifactVersion objects.

Delete a software artifact version Public Preview​

DELETE /api/2.1/unity-catalog/{name=software-artifacts/*/versions/*}

Deletes a software artifact version.

API scopes: unity-catalog

Parameters​

namestringRequiredpath

Resource name of the version, of the form software-artifacts/{catalog}.{schema}.{artifact}/versions/{version}, where {version} is the version's content digest, for example sha256:<hex>.

Resolve a software artifact version Public Preview​

POST /api/2.1/unity-catalog/{parent=software-artifacts/*}/versions:resolve

Resolves a software artifact version from its tag alias. Returns NOT_FOUND if the artifact or the alias does not exist.

API scopes: unity-catalog

Parameters​

parentstringRequiredpath

Resource name of the software artifact containing the alias, of the form software-artifacts/{catalog}.{schema}.{artifact}.

Example: software-artifacts/main.ml.inference-server

Request body​

aliasstringRequired

Image tag alias selecting the version. The alias must be a valid OCI image tag of at most 128 characters, made of letters, digits, underscores, periods, and hyphens, and must not start with a period or hyphen.

Example: latest

Response​

software_artifact_versionobjectOutput only

The software artifact version selected by the alias.

Show child attributesHide child attributes
digeststringOutput only

Content digest of the version's image manifest, of the form {algorithm}:{hex}.

Example: sha256:7ba451133c403e85ee98073f28fd640bc9aa5000f0d6fce0f0b06ff7ac4cd9c5

namestringIDImmutable

Resource name of the version, of the form software-artifacts/{catalog}.{schema}.{artifact}/versions/{version}, where {version} is the version's content digest.

tagsarray of stringOutput only

Tags (aliases) that currently point at this version, for example latest or v1.2.3. Bounded at 10 per version; a version pointed at by more tags returns an arbitrary 10 of them.

image_acceleration_detailsobjectOutput only

Image acceleration information for this version.

Show child attributesHide child attributes
statusstring

Image acceleration status for the version.

Values:

  • UNSPECIFIED
  • SUCCESS
create_timestringOutput only

Time at which this software artifact version was created, formatted as an RFC 3339 timestamp in JSON.

created_bystringOutput only

Principal name of the software artifact version creator.

update_timestringOutput only

Time at which this software artifact version was last updated, formatted as an RFC 3339 timestamp in JSON.

updated_bystringOutput only

Principal name that last updated this software artifact version.