![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.compute.kotlin.inputs.UserArtifactSourceArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.compute.kotlin.inputs
import com.pulumi.azurenative.compute.inputs.UserArtifactSourceArgs.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
/**
* The source image from which the Image Version is going to be created.
* @property defaultConfigurationLink Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob.
* @property mediaLink Required. The mediaLink of the artifact, must be a readable storage page blob.
*/
public data class UserArtifactSourceArgs(
public val defaultConfigurationLink: Output? = null,
public val mediaLink: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.compute.inputs.UserArtifactSourceArgs =
com.pulumi.azurenative.compute.inputs.UserArtifactSourceArgs.builder()
.defaultConfigurationLink(defaultConfigurationLink?.applyValue({ args0 -> args0 }))
.mediaLink(mediaLink.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [UserArtifactSourceArgs].
*/
@PulumiTagMarker
public class UserArtifactSourceArgsBuilder internal constructor() {
private var defaultConfigurationLink: Output? = null
private var mediaLink: Output? = null
/**
* @param value Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob.
*/
@JvmName("qndvgyjarsofuqhl")
public suspend fun defaultConfigurationLink(`value`: Output) {
this.defaultConfigurationLink = value
}
/**
* @param value Required. The mediaLink of the artifact, must be a readable storage page blob.
*/
@JvmName("xfbpyccfhreqcpfr")
public suspend fun mediaLink(`value`: Output) {
this.mediaLink = value
}
/**
* @param value Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob.
*/
@JvmName("ofywbikeufccaava")
public suspend fun defaultConfigurationLink(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.defaultConfigurationLink = mapped
}
/**
* @param value Required. The mediaLink of the artifact, must be a readable storage page blob.
*/
@JvmName("ffwctghnnxtviktc")
public suspend fun mediaLink(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.mediaLink = mapped
}
internal fun build(): UserArtifactSourceArgs = UserArtifactSourceArgs(
defaultConfigurationLink = defaultConfigurationLink,
mediaLink = mediaLink ?: throw PulumiNullFieldException("mediaLink"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy