All Products
Search
Document Center

Elastic High Performance Computing:InspectImage

Last Updated:Apr 09, 2024

Displays the Inspect information about an image.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ClusterIdstringNo

The ID of the E-HPC cluster where the image whose Inspect information you want to view resides.

ehpc-hz-ibug699***
ContainerTypestringNo

The container type of the image. Set the value to singularity.

singularity
ImageNamestringNo

The name of the image whose Inspect information you want to view.

test.sif

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The request ID.

896D338C-E4F4-41EC-A154-D605E5DE****
ImageStatusobject

The state of the container image.

ImageInspectInfoobject

The list of Inspect information about the image.

BuildArchstring

The architecture used to build the image.

amd64
BuildDatestring

The date on which the image was built.

Tuesday_9_November_2021_19
BootStrapstring

The version of the bootstrapper used by the container image.

1.0
DefFromstring

The mode in which the image was built.

localimage
ContainerVersionstring

The container version of the image.

sccIntelMPI.sif
SchemaVersionstring

The singularity version and kernel version of the image.

3.8.3-1.el7

Examples

Sample success responses

JSONformat

{
  "RequestId": "896D338C-E4F4-41EC-A154-D605E5DE****",
  "ImageStatus": {
    "ImageInspectInfo": {
      "BuildArch": "amd64",
      "BuildDate": "Tuesday_9_November_2021_19",
      "BootStrap": "1.0",
      "DefFrom": "localimage",
      "ContainerVersion": "sccIntelMPI.sif",
      "SchemaVersion": "3.8.3-1.el7"
    }
  }
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidContainerTypeUnsupported container type: %s. -
401InvalidContainerNameThe request cannot get the %s image-
503ServiceUnavailableThe request has failed due to a temporary failure of the serverThe request has failed due to a temporary failure of the server.

For a list of error codes, visit the Service error codes.