![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.appplatform.kotlin.inputs.SpringCloudServiceConfigServerGitSettingArgs.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.appplatform.kotlin.inputs
import com.pulumi.azure.appplatform.inputs.SpringCloudServiceConfigServerGitSettingArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property httpBasicAuth A `http_basic_auth` block as defined below.
* @property label The default label of the Git repository, should be the branch name, tag name, or commit-id of the repository.
* @property repositories One or more `repository` blocks as defined below.
* @property searchPaths An array of strings used to search subdirectories of the Git repository.
* @property sshAuth A `ssh_auth` block as defined below.
* @property uri The URI of the default Git repository used as the Config Server back end, should be started with `http://`, `https://`, `git@`, or `ssh://`.
*/
public data class SpringCloudServiceConfigServerGitSettingArgs(
public val httpBasicAuth: Output? =
null,
public val label: Output? = null,
public val repositories: Output>? =
null,
public val searchPaths: Output>? = null,
public val sshAuth: Output? = null,
public val uri: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.appplatform.inputs.SpringCloudServiceConfigServerGitSettingArgs =
com.pulumi.azure.appplatform.inputs.SpringCloudServiceConfigServerGitSettingArgs.builder()
.httpBasicAuth(httpBasicAuth?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.label(label?.applyValue({ args0 -> args0 }))
.repositories(
repositories?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.searchPaths(searchPaths?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.sshAuth(sshAuth?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.uri(uri.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SpringCloudServiceConfigServerGitSettingArgs].
*/
@PulumiTagMarker
public class SpringCloudServiceConfigServerGitSettingArgsBuilder internal constructor() {
private var httpBasicAuth: Output? =
null
private var label: Output? = null
private var repositories: Output>? =
null
private var searchPaths: Output>? = null
private var sshAuth: Output? = null
private var uri: Output? = null
/**
* @param value A `http_basic_auth` block as defined below.
*/
@JvmName("juwxmyemlpqehfjp")
public suspend fun httpBasicAuth(`value`: Output) {
this.httpBasicAuth = value
}
/**
* @param value The default label of the Git repository, should be the branch name, tag name, or commit-id of the repository.
*/
@JvmName("okrqlyiwldxmtjlj")
public suspend fun label(`value`: Output) {
this.label = value
}
/**
* @param value One or more `repository` blocks as defined below.
*/
@JvmName("bomrjkwoqroswfob")
public suspend fun repositories(`value`: Output>) {
this.repositories = value
}
@JvmName("niowxiqmamijeuyf")
public suspend fun repositories(vararg values: Output) {
this.repositories = Output.all(values.asList())
}
/**
* @param values One or more `repository` blocks as defined below.
*/
@JvmName("kkueluxujjwgttex")
public suspend fun repositories(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy