com.pulumi.azure.compute.kotlin.inputs.GalleryApplicationVersionSourceArgs.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.GalleryApplicationVersionSourceArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property defaultConfigurationLink The Storage Blob URI of the default configuration. Changing this forces a new resource to be created.
* @property mediaLink The Storage Blob URI of the source application package. Changing this forces a new resource to be created.
*/
public data class GalleryApplicationVersionSourceArgs(
public val defaultConfigurationLink: Output? = null,
public val mediaLink: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.compute.inputs.GalleryApplicationVersionSourceArgs =
com.pulumi.azure.compute.inputs.GalleryApplicationVersionSourceArgs.builder()
.defaultConfigurationLink(defaultConfigurationLink?.applyValue({ args0 -> args0 }))
.mediaLink(mediaLink.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [GalleryApplicationVersionSourceArgs].
*/
@PulumiTagMarker
public class GalleryApplicationVersionSourceArgsBuilder internal constructor() {
private var defaultConfigurationLink: Output? = null
private var mediaLink: Output? = null
/**
* @param value The Storage Blob URI of the default configuration. Changing this forces a new resource to be created.
*/
@JvmName("njiemdlasaqudela")
public suspend fun defaultConfigurationLink(`value`: Output) {
this.defaultConfigurationLink = value
}
/**
* @param value The Storage Blob URI of the source application package. Changing this forces a new resource to be created.
*/
@JvmName("igpfiouoflqoifcu")
public suspend fun mediaLink(`value`: Output) {
this.mediaLink = value
}
/**
* @param value The Storage Blob URI of the default configuration. Changing this forces a new resource to be created.
*/
@JvmName("yweclenrbooxfmbq")
public suspend fun defaultConfigurationLink(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.defaultConfigurationLink = mapped
}
/**
* @param value The Storage Blob URI of the source application package. Changing this forces a new resource to be created.
*/
@JvmName("whqvdrlqpsxmemnb")
public suspend fun mediaLink(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.mediaLink = mapped
}
internal fun build(): GalleryApplicationVersionSourceArgs = GalleryApplicationVersionSourceArgs(
defaultConfigurationLink = defaultConfigurationLink,
mediaLink = mediaLink ?: throw PulumiNullFieldException("mediaLink"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy