GetImageResult

data class GetImageResult(val created: String, val description: String, val distribution: String, val errorMessage: String, val id: Int, val image: String, val minDiskSize: Int, val name: String, val private: Boolean, val regions: List<String>, val sizeGigabytes: Double, val slug: String, val source: String? = null, val status: String, val tags: List<String>, val type: String)

A collection of values returned by getImage.

Constructors

Link copied to clipboard
constructor(created: String, description: String, distribution: String, errorMessage: String, id: Int, image: String, minDiskSize: Int, name: String, private: Boolean, regions: List<String>, sizeGigabytes: Double, slug: String, source: String? = null, status: String, tags: List<String>, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

When the image was created

Link copied to clipboard
Link copied to clipboard

The name of the distribution of the OS of the image.

Link copied to clipboard

Any applicable error message pertaining to the image

Link copied to clipboard
val id: Int

The ID of the image.

Link copied to clipboard

The id of the image (legacy parameter).

Link copied to clipboard

The minimum 'disk' required for the image.

Link copied to clipboard

The name of the image.

Link copied to clipboard

Is image a public image or not. Public images represent Linux distributions or One-Click Applications, while non-public images represent snapshots and backups and are only available within your account.

Link copied to clipboard

A set of the regions that the image is available in.

Link copied to clipboard

The size of the image in GB.

Link copied to clipboard

Unique text identifier of the image.

Link copied to clipboard
val source: String? = null
Link copied to clipboard

Current status of the image

Link copied to clipboard

A set of tags applied to the image

Link copied to clipboard

Type of the image.