![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.app.kotlin.inputs.ConfigurationArgs.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.app.kotlin.inputs
import com.pulumi.azurenative.app.inputs.ConfigurationArgs.builder
import com.pulumi.azurenative.app.kotlin.enums.ActiveRevisionsMode
import com.pulumi.core.Either
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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Non versioned Container App configuration properties that define the mutable settings of a Container app
* @property activeRevisionsMode ActiveRevisionsMode controls how active revisions are handled for the Container app:
* - Multiple: multiple revisions can be active.
- Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.
* @property dapr Dapr configuration for the Container App.
* @property ingress Ingress configurations.
* @property maxInactiveRevisions Optional. Max inactive revisions a Container App can have.
* @property registries Collection of private container registry credentials for containers used by the Container app
* @property secrets Collection of secrets used by a Container app
*/
public data class ConfigurationArgs(
public val activeRevisionsMode: Output>? = null,
public val dapr: Output? = null,
public val ingress: Output? = null,
public val maxInactiveRevisions: Output? = null,
public val registries: Output>? = null,
public val secrets: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.app.inputs.ConfigurationArgs =
com.pulumi.azurenative.app.inputs.ConfigurationArgs.builder()
.activeRevisionsMode(
activeRevisionsMode?.applyValue({ args0 ->
args0.transform(
{ args0 -> args0 },
{ args0 -> args0.let({ args0 -> args0.toJava() }) },
)
}),
)
.dapr(dapr?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.ingress(ingress?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.maxInactiveRevisions(maxInactiveRevisions?.applyValue({ args0 -> args0 }))
.registries(
registries?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.secrets(
secrets?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ConfigurationArgs].
*/
@PulumiTagMarker
public class ConfigurationArgsBuilder internal constructor() {
private var activeRevisionsMode: Output>? = null
private var dapr: Output? = null
private var ingress: Output? = null
private var maxInactiveRevisions: Output? = null
private var registries: Output>? = null
private var secrets: Output>? = null
/**
* @param value ActiveRevisionsMode controls how active revisions are handled for the Container app:
* - Multiple: multiple revisions can be active.
- Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.
*/
@JvmName("gubvubucfdefefou")
public suspend fun activeRevisionsMode(`value`: Output>) {
this.activeRevisionsMode = value
}
/**
* @param value Dapr configuration for the Container App.
*/
@JvmName("mnetukbhxuawbmlt")
public suspend fun dapr(`value`: Output) {
this.dapr = value
}
/**
* @param value Ingress configurations.
*/
@JvmName("djvvqtwnihvysjpx")
public suspend fun ingress(`value`: Output) {
this.ingress = value
}
/**
* @param value Optional. Max inactive revisions a Container App can have.
*/
@JvmName("brhwpachsmdopvml")
public suspend fun maxInactiveRevisions(`value`: Output) {
this.maxInactiveRevisions = value
}
/**
* @param value Collection of private container registry credentials for containers used by the Container app
*/
@JvmName("qhmphmuxdjrypkcj")
public suspend fun registries(`value`: Output>) {
this.registries = value
}
@JvmName("mjcqhmftrwxwuvly")
public suspend fun registries(vararg values: Output) {
this.registries = Output.all(values.asList())
}
/**
* @param values Collection of private container registry credentials for containers used by the Container app
*/
@JvmName("iuwgfsqdlmnnuasv")
public suspend fun registries(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy