com.pulumi.gcp.notebooks.kotlin.inputs.RuntimeVirtualMachineVirtualMachineConfigContainerImageArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.notebooks.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.notebooks.inputs.RuntimeVirtualMachineVirtualMachineConfigContainerImageArgs.builder
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 repository The path to the container image repository.
* For example: gcr.io/{project_id}/{imageName}
* @property tag The tag of the container image. If not specified, this defaults to the latest tag.
*/
public data class RuntimeVirtualMachineVirtualMachineConfigContainerImageArgs(
public val repository: Output,
public val tag: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.notebooks.inputs.RuntimeVirtualMachineVirtualMachineConfigContainerImageArgs =
com.pulumi.gcp.notebooks.inputs.RuntimeVirtualMachineVirtualMachineConfigContainerImageArgs.builder()
.repository(repository.applyValue({ args0 -> args0 }))
.tag(tag?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [RuntimeVirtualMachineVirtualMachineConfigContainerImageArgs].
*/
@PulumiTagMarker
public class RuntimeVirtualMachineVirtualMachineConfigContainerImageArgsBuilder internal constructor() {
private var repository: Output? = null
private var tag: Output? = null
/**
* @param value The path to the container image repository.
* For example: gcr.io/{project_id}/{imageName}
*/
@JvmName("furwgmrcbeksgyvn")
public suspend fun repository(`value`: Output) {
this.repository = value
}
/**
* @param value The tag of the container image. If not specified, this defaults to the latest tag.
*/
@JvmName("nsdxdputgxdoblhl")
public suspend fun tag(`value`: Output) {
this.tag = value
}
/**
* @param value The path to the container image repository.
* For example: gcr.io/{project_id}/{imageName}
*/
@JvmName("racukwdopsycvqbg")
public suspend fun repository(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.repository = mapped
}
/**
* @param value The tag of the container image. If not specified, this defaults to the latest tag.
*/
@JvmName("geyvxgrwkhgegpty")
public suspend fun tag(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tag = mapped
}
internal fun build(): RuntimeVirtualMachineVirtualMachineConfigContainerImageArgs =
RuntimeVirtualMachineVirtualMachineConfigContainerImageArgs(
repository = repository ?: throw PulumiNullFieldException("repository"),
tag = tag,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy