
com.pulumi.azure.compute.kotlin.outputs.GetSharedImageVersionsImage.kt Maven / Gradle / Ivy
@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 excludeFromLatest Is this Image Version excluded from the `latest` filter?
* @property id The ID of this Shared Image Version.
* @property location The supported Azure location where the Shared Image Gallery exists.
* @property managedImageId The ID of the Managed Image which was the source of this Shared Image Version.
* @property name The Azure Region in which this Image Version exists.
* @property tags A mapping of tags assigned to the Shared Image.
* @property targetRegions One or more `target_region` blocks as documented below.
*/
public data class GetSharedImageVersionsImage(
public val excludeFromLatest: Boolean,
public val id: String,
public val location: String,
public val managedImageId: String,
public val name: String,
public val tags: Map,
public val targetRegions: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.GetSharedImageVersionsImage):
GetSharedImageVersionsImage = GetSharedImageVersionsImage(
excludeFromLatest = javaType.excludeFromLatest(),
id = javaType.id(),
location = javaType.location(),
managedImageId = javaType.managedImageId(),
name = javaType.name(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
targetRegions = javaType.targetRegions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.compute.kotlin.outputs.GetSharedImageVersionsImageTargetRegion.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy