![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.digitalocean.kotlin.outputs.GetImagesImage.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-digitalocean-kotlin Show documentation
Show all versions of pulumi-digitalocean-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.digitalocean.kotlin.outputs
import kotlin.Boolean
import kotlin.Double
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property created When the image was created
* @property description a description of the image
* @property distribution The name of the distribution of the OS of the image.
* @property errorMessage Any applicable error message pertaining to the image
* @property id The ID of the image.
* @property image The id of the image (legacy parameter).
* @property minDiskSize The minimum 'disk' required for the image.
* @property name The name of the image.
* @property private 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.
* @property regions A set of the regions that the image is available in.
* @property sizeGigabytes The size of the image in GB.
* @property slug Unique text identifier of the image.
* @property status Current status of the image
* @property tags A set of tags applied to the image
* @property type Type of the image.
*/
public data class GetImagesImage(
public val created: String,
public val description: String,
public val distribution: String,
public val errorMessage: String,
public val id: Int,
public val image: String,
public val minDiskSize: Int,
public val name: String,
public val `private`: Boolean,
public val regions: List,
public val sizeGigabytes: Double,
public val slug: String,
public val status: String,
public val tags: List,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.GetImagesImage): GetImagesImage =
GetImagesImage(
created = javaType.created(),
description = javaType.description(),
distribution = javaType.distribution(),
errorMessage = javaType.errorMessage(),
id = javaType.id(),
image = javaType.image(),
minDiskSize = javaType.minDiskSize(),
name = javaType.name(),
`private` = javaType.private_(),
regions = javaType.regions().map({ args0 -> args0 }),
sizeGigabytes = javaType.sizeGigabytes(),
slug = javaType.slug(),
status = javaType.status(),
tags = javaType.tags().map({ args0 -> args0 }),
type = javaType.type(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy