com.pulumi.azure.containerservice.kotlin.inputs.GroupInitContainerVolumeGitRepoArgs.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.containerservice.kotlin.inputs
import com.pulumi.azure.containerservice.inputs.GroupInitContainerVolumeGitRepoArgs.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 directory Specifies the directory into which the repository should be cloned. Changing this forces a new resource to be created.
* @property revision Specifies the commit hash of the revision to be cloned. If unspecified, the HEAD revision is cloned. Changing this forces a new resource to be created.
* @property url Specifies the Git repository to be cloned. Changing this forces a new resource to be created.
*/
public data class GroupInitContainerVolumeGitRepoArgs(
public val directory: Output? = null,
public val revision: Output? = null,
public val url: Output,
) : ConvertibleToJava {
override fun toJava():
com.pulumi.azure.containerservice.inputs.GroupInitContainerVolumeGitRepoArgs =
com.pulumi.azure.containerservice.inputs.GroupInitContainerVolumeGitRepoArgs.builder()
.directory(directory?.applyValue({ args0 -> args0 }))
.revision(revision?.applyValue({ args0 -> args0 }))
.url(url.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [GroupInitContainerVolumeGitRepoArgs].
*/
@PulumiTagMarker
public class GroupInitContainerVolumeGitRepoArgsBuilder internal constructor() {
private var directory: Output? = null
private var revision: Output? = null
private var url: Output? = null
/**
* @param value Specifies the directory into which the repository should be cloned. Changing this forces a new resource to be created.
*/
@JvmName("lkragnxscqyurtgj")
public suspend fun directory(`value`: Output) {
this.directory = value
}
/**
* @param value Specifies the commit hash of the revision to be cloned. If unspecified, the HEAD revision is cloned. Changing this forces a new resource to be created.
*/
@JvmName("rpyhjmmvsqvmajng")
public suspend fun revision(`value`: Output) {
this.revision = value
}
/**
* @param value Specifies the Git repository to be cloned. Changing this forces a new resource to be created.
*/
@JvmName("hofkyngreoaqqjer")
public suspend fun url(`value`: Output) {
this.url = value
}
/**
* @param value Specifies the directory into which the repository should be cloned. Changing this forces a new resource to be created.
*/
@JvmName("dngjflpnqjxyiysj")
public suspend fun directory(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.directory = mapped
}
/**
* @param value Specifies the commit hash of the revision to be cloned. If unspecified, the HEAD revision is cloned. Changing this forces a new resource to be created.
*/
@JvmName("aavhemqiiuyjuitm")
public suspend fun revision(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.revision = mapped
}
/**
* @param value Specifies the Git repository to be cloned. Changing this forces a new resource to be created.
*/
@JvmName("jhmlmqoysqaravbc")
public suspend fun url(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.url = mapped
}
internal fun build(): GroupInitContainerVolumeGitRepoArgs = GroupInitContainerVolumeGitRepoArgs(
directory = directory,
revision = revision,
url = url ?: throw PulumiNullFieldException("url"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy