![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.compute.kotlin.inputs.GetSharedImageVersionsPlainArgs.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.inputs
import com.pulumi.azure.compute.inputs.GetSharedImageVersionsPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getSharedImageVersions.
* @property galleryName The name of the Shared Image in which the Shared Image exists.
* @property imageName The name of the Shared Image in which this Version exists.
* @property resourceGroupName The name of the Resource Group in which the Shared Image Gallery exists.
* @property tagsFilter A mapping of tags to filter the list of images against.
*/
public data class GetSharedImageVersionsPlainArgs(
public val galleryName: String,
public val imageName: String,
public val resourceGroupName: String,
public val tagsFilter: Map? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.compute.inputs.GetSharedImageVersionsPlainArgs =
com.pulumi.azure.compute.inputs.GetSharedImageVersionsPlainArgs.builder()
.galleryName(galleryName.let({ args0 -> args0 }))
.imageName(imageName.let({ args0 -> args0 }))
.resourceGroupName(resourceGroupName.let({ args0 -> args0 }))
.tagsFilter(
tagsFilter?.let({ args0 ->
args0.map({ args0 ->
args0.key.to(args0.value)
}).toMap()
}),
).build()
}
/**
* Builder for [GetSharedImageVersionsPlainArgs].
*/
@PulumiTagMarker
public class GetSharedImageVersionsPlainArgsBuilder internal constructor() {
private var galleryName: String? = null
private var imageName: String? = null
private var resourceGroupName: String? = null
private var tagsFilter: Map? = null
/**
* @param value The name of the Shared Image in which the Shared Image exists.
*/
@JvmName("gjtdohrchnqqcoxn")
public suspend fun galleryName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.galleryName = mapped
}
/**
* @param value The name of the Shared Image in which this Version exists.
*/
@JvmName("ipjhlvrxsvlfiytc")
public suspend fun imageName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.imageName = mapped
}
/**
* @param value The name of the Resource Group in which the Shared Image Gallery exists.
*/
@JvmName("kjanegtfdjnkdams")
public suspend fun resourceGroupName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.resourceGroupName = mapped
}
/**
* @param value A mapping of tags to filter the list of images against.
*/
@JvmName("smcjifyxbljgglkq")
public suspend fun tagsFilter(`value`: Map?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.tagsFilter = mapped
}
/**
* @param values A mapping of tags to filter the list of images against.
*/
@JvmName("bvjrxipydudoatxq")
public fun tagsFilter(vararg values: Pair) {
val toBeMapped = values.toMap()
val mapped = toBeMapped.let({ args0 -> args0 })
this.tagsFilter = mapped
}
internal fun build(): GetSharedImageVersionsPlainArgs = GetSharedImageVersionsPlainArgs(
galleryName = galleryName ?: throw PulumiNullFieldException("galleryName"),
imageName = imageName ?: throw PulumiNullFieldException("imageName"),
resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
tagsFilter = tagsFilter,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy