![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.compute.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-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.compute.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
*
* @property dataDisks One or more `data_disk` blocks as defined below.
* @property location The supported Azure location where the Image exists.
* @property name The name of the Image.
* @property osDisks An `os_disk` block as defined below.
* @property tags A mapping of tags assigned to the Image.
* @property zoneResilient Is zone resiliency enabled?
*/
public data class GetImagesImage(
public val dataDisks: List,
public val location: String,
public val name: String,
public val osDisks: List,
public val tags: Map,
public val zoneResilient: Boolean,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.GetImagesImage): GetImagesImage =
GetImagesImage(
dataDisks = javaType.dataDisks().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.compute.kotlin.outputs.GetImagesImageDataDisk.Companion.toKotlin(args0)
})
}),
location = javaType.location(),
name = javaType.name(),
osDisks = javaType.osDisks().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.compute.kotlin.outputs.GetImagesImageOsDisk.Companion.toKotlin(args0)
})
}),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
zoneResilient = javaType.zoneResilient(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy