![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.synapse.kotlin.inputs.WorkspaceAzureDevopsRepoArgs.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.synapse.kotlin.inputs
import com.pulumi.azure.synapse.inputs.WorkspaceAzureDevopsRepoArgs.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 accountName Specifies the Azure DevOps account name.
* @property branchName Specifies the collaboration branch of the repository to get code from.
* @property lastCommitId The last commit ID.
* @property projectName Specifies the name of the Azure DevOps project.
* @property repositoryName Specifies the name of the git repository.
* @property rootFolder Specifies the root folder within the repository. Set to `/` for the top level.
* @property tenantId the ID of the tenant for the Azure DevOps account.
*/
public data class WorkspaceAzureDevopsRepoArgs(
public val accountName: Output,
public val branchName: Output,
public val lastCommitId: Output? = null,
public val projectName: Output,
public val repositoryName: Output,
public val rootFolder: Output,
public val tenantId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.synapse.inputs.WorkspaceAzureDevopsRepoArgs =
com.pulumi.azure.synapse.inputs.WorkspaceAzureDevopsRepoArgs.builder()
.accountName(accountName.applyValue({ args0 -> args0 }))
.branchName(branchName.applyValue({ args0 -> args0 }))
.lastCommitId(lastCommitId?.applyValue({ args0 -> args0 }))
.projectName(projectName.applyValue({ args0 -> args0 }))
.repositoryName(repositoryName.applyValue({ args0 -> args0 }))
.rootFolder(rootFolder.applyValue({ args0 -> args0 }))
.tenantId(tenantId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WorkspaceAzureDevopsRepoArgs].
*/
@PulumiTagMarker
public class WorkspaceAzureDevopsRepoArgsBuilder internal constructor() {
private var accountName: Output? = null
private var branchName: Output? = null
private var lastCommitId: Output? = null
private var projectName: Output? = null
private var repositoryName: Output? = null
private var rootFolder: Output? = null
private var tenantId: Output? = null
/**
* @param value Specifies the Azure DevOps account name.
*/
@JvmName("kalmekproxhvojcb")
public suspend fun accountName(`value`: Output) {
this.accountName = value
}
/**
* @param value Specifies the collaboration branch of the repository to get code from.
*/
@JvmName("syfoyqkrqwrfrvth")
public suspend fun branchName(`value`: Output) {
this.branchName = value
}
/**
* @param value The last commit ID.
*/
@JvmName("ckpkvvbvtelqcbjk")
public suspend fun lastCommitId(`value`: Output) {
this.lastCommitId = value
}
/**
* @param value Specifies the name of the Azure DevOps project.
*/
@JvmName("phiqysmfytewdujy")
public suspend fun projectName(`value`: Output) {
this.projectName = value
}
/**
* @param value Specifies the name of the git repository.
*/
@JvmName("glsyownuobsjxbko")
public suspend fun repositoryName(`value`: Output) {
this.repositoryName = value
}
/**
* @param value Specifies the root folder within the repository. Set to `/` for the top level.
*/
@JvmName("fgccexphpjrkhrru")
public suspend fun rootFolder(`value`: Output) {
this.rootFolder = value
}
/**
* @param value the ID of the tenant for the Azure DevOps account.
*/
@JvmName("mvbflxhidvrptnsi")
public suspend fun tenantId(`value`: Output) {
this.tenantId = value
}
/**
* @param value Specifies the Azure DevOps account name.
*/
@JvmName("uleixcncymrjoikv")
public suspend fun accountName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.accountName = mapped
}
/**
* @param value Specifies the collaboration branch of the repository to get code from.
*/
@JvmName("wllgrogxwiafpjed")
public suspend fun branchName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.branchName = mapped
}
/**
* @param value The last commit ID.
*/
@JvmName("iusldbaiovwaopry")
public suspend fun lastCommitId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.lastCommitId = mapped
}
/**
* @param value Specifies the name of the Azure DevOps project.
*/
@JvmName("xnuhnxppiijohgeg")
public suspend fun projectName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.projectName = mapped
}
/**
* @param value Specifies the name of the git repository.
*/
@JvmName("exwfgcrxfqbvogab")
public suspend fun repositoryName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.repositoryName = mapped
}
/**
* @param value Specifies the root folder within the repository. Set to `/` for the top level.
*/
@JvmName("esmsbkpaowboyrqd")
public suspend fun rootFolder(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.rootFolder = mapped
}
/**
* @param value the ID of the tenant for the Azure DevOps account.
*/
@JvmName("terbmytkjjtgahlg")
public suspend fun tenantId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tenantId = mapped
}
internal fun build(): WorkspaceAzureDevopsRepoArgs = WorkspaceAzureDevopsRepoArgs(
accountName = accountName ?: throw PulumiNullFieldException("accountName"),
branchName = branchName ?: throw PulumiNullFieldException("branchName"),
lastCommitId = lastCommitId,
projectName = projectName ?: throw PulumiNullFieldException("projectName"),
repositoryName = repositoryName ?: throw PulumiNullFieldException("repositoryName"),
rootFolder = rootFolder ?: throw PulumiNullFieldException("rootFolder"),
tenantId = tenantId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy