![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.securityinsights.kotlin.inputs.RepositoryArgs.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.securityinsights.kotlin.inputs
import com.pulumi.azurenative.securityinsights.inputs.RepositoryArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* metadata of a repository.
* @property branch Branch name of repository.
* @property deploymentLogsUrl Url to access repository action logs.
* @property displayUrl Display url of repository.
* @property pathMapping Dictionary of source control content type and path mapping.
* @property url Url of repository.
*/
public data class RepositoryArgs(
public val branch: Output? = null,
public val deploymentLogsUrl: Output? = null,
public val displayUrl: Output? = null,
public val pathMapping: Output>? = null,
public val url: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.securityinsights.inputs.RepositoryArgs =
com.pulumi.azurenative.securityinsights.inputs.RepositoryArgs.builder()
.branch(branch?.applyValue({ args0 -> args0 }))
.deploymentLogsUrl(deploymentLogsUrl?.applyValue({ args0 -> args0 }))
.displayUrl(displayUrl?.applyValue({ args0 -> args0 }))
.pathMapping(
pathMapping?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.url(url?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [RepositoryArgs].
*/
@PulumiTagMarker
public class RepositoryArgsBuilder internal constructor() {
private var branch: Output? = null
private var deploymentLogsUrl: Output? = null
private var displayUrl: Output? = null
private var pathMapping: Output>? = null
private var url: Output? = null
/**
* @param value Branch name of repository.
*/
@JvmName("mehpklewdpcdagor")
public suspend fun branch(`value`: Output) {
this.branch = value
}
/**
* @param value Url to access repository action logs.
*/
@JvmName("hyyetvdcnwflcphr")
public suspend fun deploymentLogsUrl(`value`: Output) {
this.deploymentLogsUrl = value
}
/**
* @param value Display url of repository.
*/
@JvmName("wuviqthjxcdxayai")
public suspend fun displayUrl(`value`: Output) {
this.displayUrl = value
}
/**
* @param value Dictionary of source control content type and path mapping.
*/
@JvmName("yijjalwrmcwtshpi")
public suspend fun pathMapping(`value`: Output>) {
this.pathMapping = value
}
@JvmName("qdomdourunhrnnhb")
public suspend fun pathMapping(vararg values: Output) {
this.pathMapping = Output.all(values.asList())
}
/**
* @param values Dictionary of source control content type and path mapping.
*/
@JvmName("fdoxohnbwbvlquwo")
public suspend fun pathMapping(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy