
com.pulumi.azure.containerservice.kotlin.inputs.GroupInitContainerVolumeGitRepoArgs.kt Maven / Gradle / Ivy
@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("bwjhvnliwvpqjqxt")
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("auhwyxjcefagunhe")
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("vqusorbyvywiqyrs")
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("htsknfyqvcksfcil")
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("cyoeglswqseixchr")
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("ihxrqljxcqueaqct")
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