OBJECT

ImageFile

link GraphQL Schema definition

  • type ImageFile {
  • # SHA-1 hex digest of the file content. Used for upload/download corruption
  • # checking.
  • sha1: ID
  • # Number of bytes. Maximum 20GiB. This maximum is meant to be a "you'll never hit
  • # it" cap, the purpose is to inform cache handling in IMGAPI servers.
  • size: Int
  • # The type of file compression used by the file. One of 'bzip2', 'gzip', 'none'.
  • compression: ImageFileCompression
  • # Optional. The ZFS internal unique identifier for this dataset's snapshot
  • # (available via zfs get guid SNAPSHOT, e.g. zfs get guid
  • # zones/f669428c-a939-11e2-a485-b790efc0f0c1@final). If available, this is used to
  • # ensure a common base snapshot for incremental images (via imgadm create -i) and
  • # VM migrations (via vmadm send/receive).
  • dataset_guid: ID
  • # Only included if ?inclAdminFields=true is passed to GetImage/ListImages. The
  • # IMGAPI storage type used to store this file.
  • stor: String
  • }